Репозиторий Sisyphus
Последнее обновление: 16 августа 2017 | Пакетов: 17976 | Посещений: 9819057
en ru br
Репозитории ALT

Группа :: Система/Ядро и оборудование
Пакет: scsiaddgui

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: A graphical front end for scsiadd
Name: scsiaddgui
Version: 1.6
Release: alt2
License: GPL
Url: http://scsiaddgui.sourceforge.net
Requires: python, tkinter, scsiadd
Group: System/Kernel and hardware
Packager: Hihin Ruslan <ruslandh at altlinux.ru>

# http://www.8ung.at/klappnase/downloads/%name-%version.tar.bz2

Source: %name-%version.tar
Source1: %name-pam
Source2: %name-security
Source3: %name.desktop
Source4: %name.png

BuildArch: noarch

%description
scsiaddgui provides a GUI for the scsiadd - utility

%description -l UTF-8
scsiaddgui - пЁя─п╟я└п╦я┤п╣я│п╨п╦п╧ п╨п╩п╦п╣п╫я┌ п╢п╩я▐ я┐я┌п╦п╩п╦я┌я▀ scsiadd

%prep
%setup

%build
%__subst 's!/usr/local/share!%_datadir!g' *.py

pushd locale

for file in *.po
do
fil=$(basename $file .po)
msgfmt $fil.po -o $fil.gmo
done
popd

%install
install -d %buildroot%_datadir/scsiaddgui-%version
install -d %buildroot%_bindir
install -d %buildroot%_sbindir
install --mode=755 scsiaddgui.py %buildroot%_datadir/scsiaddgui-%version/scsiaddgui.py
install --mode=644 help_de %buildroot%_datadir/scsiaddgui-%version/help_de
install --mode=644 help_en %buildroot%_datadir/scsiaddgui-%version/help_en
install --mode=644 help_fr %buildroot%_datadir/scsiaddgui-%version/help_fr
install --mode=644 help_ru %buildroot%_datadir/scsiaddgui-%version/help_ru

install -d %buildroot%_datadir/locale/de/LC_MESSAGES
install -v --mode=644 locale/de.gmo %buildroot%_datadir/locale/de/LC_MESSAGES/scsiaddgui.mo
install -d %buildroot%_datadir/locale/fr/LC_MESSAGES
install -v --mode=644 locale/fr.gmo %buildroot%_datadir/locale/fr/LC_MESSAGES/scsiaddgui.mo
install -d %buildroot%_datadir/locale/ru/LC_MESSAGES
install -v --mode=644 locale/ru.gmo %buildroot%_datadir/locale/ru/LC_MESSAGES/scsiaddgui.mo

ln -s %_datadir/%name-%version/%name.py %buildroot%_sbindir/%name
ln -s %_bindir/consolehelper %buildroot%_bindir/%name

install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name
install -pD -m640 %SOURCE2 %buildroot%_sysconfdir/security/console.apps/%name
install -pD -m644 %SOURCE3 %buildroot/%_desktopdir/%name.desktop
install -D -m644 %SOURCE4 %buildroot%_niconsdir/%name.png


%find_lang %name

%files -f %name.lang
%doc doc/{ChangeLog,README}
%_sbindir/%name
%_bindir/%name
%dir %_datadir/%name-%version
%_desktopdir/%name.desktop
%_niconsdir/*
%_sysconfdir/pam.d/*
%_sysconfdir/security/console.apps/*
%_datadir/%name-%version/scsiaddgui.py
%_datadir/%name-%version/help_de
%_datadir/%name-%version/help_en
%_datadir/%name-%version/help_fr
%_datadir/%name-%version/help_ru

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin