Репозитории ALT
S: | 1.5.0-alt1 |
5.1: | 0.4.6-alt1.1 |
4.1: | 0.3.9-alt0.M41.1 |
4.0: | 0.3.3-alt5.M40.1 |
3.0: | 0.0.8-alt0.1.1 |
Другие репозитории
Upstream: | 0.3.3 |
Группа :: Система/Настройка/Оборудование
Пакет: gparted
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%def_with pic
%define Name GParted
Name: gparted
Version: 0.3.9
Release: alt0.M41.1
Summary: Gnome Partition Editor
License: %gpl2plus
Group: System/Configuration/Hardware
URL: http://%name.sourceforge.net/
Source0: %name-%version.tar
#http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2?download
Source1: %name-pam
Source2: %name-security
# Automatically added by buildreq on Sun Feb 10 2008
#BuildRequires: gcc-c++ libgtkmm2-devel libparted-devel libprogsreiserfs-devel libuuid-devel perl-XML-Parser
BuildRequires: libparted-devel >= 1.7.1
BuildRequires: libgtkmm2-devel >= 2.8
BuildRequires: gcc-c++ libprogsreiserfs-devel libuuid-devel symlinks
BuildRequires: perl-XML-Parser ImageMagick gnome-doc-utils
BuildRequires: rpm-build-licenses
BuildRequires: rpm-build-compat >= 0.95
%description
%Name stands for Gnome Partition Editor. It uses libparted to detect
and manipulate devices and partitiontables while several (optional)
filesystemtools provide support for filesystems not included in
libparted. These optional packages will be detected at runtime and
don't require a rebuild of %Name.
%Name is written in C++ and uses gtkmm as Graphical Toolkit. The
general approach is to keep the GUI as simple as possible.
%description -l ru_RU.CP1251
%Name - Gnome Partition Editor. нМ ХЯОНКЭГСЕР libparted ДКЪ
НАМЮПСФЕМХЪ Х ЛЮМХОСКЪЖХИ Я СЯРПНИЯРБЮЛХ Х РЮАКХЖЮЛХ ПЮГДЕКНБ, Ю РЮЙФЕ
МЕЙНРНПШЕ (НОЖХНМЮКЭМН) ХМЯРПСЛЕМРШ (МЕ БЙКЧВЕММШЕ Б libparted) ДКЪ
ТЮИКНБШУ ЯХЯРЕЛ, НАЕЯОЕВХБЮЧЫХЕ ХУ ОНДДЕПФЙС. щРХ НОЖХНМЮКЭМШЕ ОЮЙЕРШ
НАМЮПСФХБЮЧРЯЪ БН БПЕЛЪ БШОНКМЕМХЪ Х МЕ РПЕАСЧР ОЕПЕЯАНПЙХ %Name.
%Name МЮОХЯЮМ МЮ C++ Х ХЯОНКЭГСЕР gtkmm Б ЙЮВЕЯРБЕ ЦПЮТХВЕЯЙНЦН
РСКЙХРЮ. цКЮБМЮЪ ГЮДЮВЮ - НЯРЮБХРЭ GUI ЛЮЙЯХЛЮКЭМН ОПНЯРШЛ.
%description -l uk_UA.CP1251
%Name - Gnome Partition Editor. бЁМ БХЙНПХЯРНБС╨ libparted ДКЪ
БХЪБКЕММЪ РЮ ЛЮМЁОСКЪЖЁИ Г ОПХЯРПНЪЛХ Ё РЮАКХЖЪЛХ ПЮГДЁКЁБ, Ю РЮЙНФ
ДЕЪЙЁ (НОЖЁНМЮКЭМН) ЁМЯРПСЛЕМРХ (МЕ БЙКЧВЕМЁ Б libparted) ДКЪ ТЮИКНБХУ
ЯХЯРЕЛ, ЫН ГЮАЕГОЕВСЧРЭ ©У ОЁДРПХЛЙС. жЁ НОЖЁНМЮКЭМЁ ОЮЙЕРХ БХЪБКЪЧРЭЯЪ
ОЁД ВЮЯ БХЙНМЮММЪ Ё МЕ ОНРПЕАСЧРЭ ОЕПЕГАХПЮММЪ %Name.
%Name МЮОХЯЮМХИ МЮ C++ Ё БЁЙНПХЯРНБС╨ gtkmm Б ЪЙНЯРЁ ЦПЮТЁВМНЦН
РСКЙЁРС. цНКНБМЕ ГЮБДЮММЪ - ГЮКХЬХРХ GUI ЛЮЙЯХЛЮКЭМН ОПНЯРХЛ.
%prep
%setup
sed -i \
-e '/^Categories=/ s/GNOME;/GTK;Filesystem;/' \
-e '/^Exec=/ s/=.*$/=%name/' \
%name.desktop*
%build
%configure %{subst_with pic} --bindir=%_sbindir
%make_build
bzip2 --best --keep --force ChangeLog
for s in 32 24 22 16; do
convert -resize ${s}x$s pixmaps/%name{,-$s}.png
done
%install
%make_install DESTDIR=%buildroot install
install -d -m 0755 %buildroot{%_liconsdir,%_bindir}
mv %buildroot{%_pixmapsdir,%_liconsdir}/%name.png
ln -sf %buildroot{%_liconsdir,%_pixmapsdir}/%name.png
symlinks -scd %buildroot%_pixmapsdir
for s in 32 24 22 16; do
install -D -m 0644 {pixmaps/%{name}-$s,%buildroot%_iconsdir/hicolor/${s}x$s/apps/%name}.png
done
# usermode
install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name
install -pD -m640 %SOURCE2 %buildroot%_sysconfdir/security/console.apps/%name
ln -s %_bindir/consolehelper %buildroot%_bindir/%name
%find_lang --with-gnome %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog.* README
%_sbindir/*
%_bindir/*
%_man8dir/*
%_pixmapsdir/*
%_sysconfdir/pam.d/*
%_sysconfdir/security/console.apps/*
%_iconsdir/hicolor/*/apps/*
%_desktopdir/*
%changelog
…
Полный changelog можно просмотреть здесь
#
%def_with pic
%define Name GParted
Name: gparted
Version: 0.3.9
Release: alt0.M41.1
Summary: Gnome Partition Editor
License: %gpl2plus
Group: System/Configuration/Hardware
URL: http://%name.sourceforge.net/
Source0: %name-%version.tar
#http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2?download
Source1: %name-pam
Source2: %name-security
# Automatically added by buildreq on Sun Feb 10 2008
#BuildRequires: gcc-c++ libgtkmm2-devel libparted-devel libprogsreiserfs-devel libuuid-devel perl-XML-Parser
BuildRequires: libparted-devel >= 1.7.1
BuildRequires: libgtkmm2-devel >= 2.8
BuildRequires: gcc-c++ libprogsreiserfs-devel libuuid-devel symlinks
BuildRequires: perl-XML-Parser ImageMagick gnome-doc-utils
BuildRequires: rpm-build-licenses
BuildRequires: rpm-build-compat >= 0.95
%description
%Name stands for Gnome Partition Editor. It uses libparted to detect
and manipulate devices and partitiontables while several (optional)
filesystemtools provide support for filesystems not included in
libparted. These optional packages will be detected at runtime and
don't require a rebuild of %Name.
%Name is written in C++ and uses gtkmm as Graphical Toolkit. The
general approach is to keep the GUI as simple as possible.
%description -l ru_RU.CP1251
%Name - Gnome Partition Editor. нМ ХЯОНКЭГСЕР libparted ДКЪ
НАМЮПСФЕМХЪ Х ЛЮМХОСКЪЖХИ Я СЯРПНИЯРБЮЛХ Х РЮАКХЖЮЛХ ПЮГДЕКНБ, Ю РЮЙФЕ
МЕЙНРНПШЕ (НОЖХНМЮКЭМН) ХМЯРПСЛЕМРШ (МЕ БЙКЧВЕММШЕ Б libparted) ДКЪ
ТЮИКНБШУ ЯХЯРЕЛ, НАЕЯОЕВХБЮЧЫХЕ ХУ ОНДДЕПФЙС. щРХ НОЖХНМЮКЭМШЕ ОЮЙЕРШ
НАМЮПСФХБЮЧРЯЪ БН БПЕЛЪ БШОНКМЕМХЪ Х МЕ РПЕАСЧР ОЕПЕЯАНПЙХ %Name.
%Name МЮОХЯЮМ МЮ C++ Х ХЯОНКЭГСЕР gtkmm Б ЙЮВЕЯРБЕ ЦПЮТХВЕЯЙНЦН
РСКЙХРЮ. цКЮБМЮЪ ГЮДЮВЮ - НЯРЮБХРЭ GUI ЛЮЙЯХЛЮКЭМН ОПНЯРШЛ.
%description -l uk_UA.CP1251
%Name - Gnome Partition Editor. бЁМ БХЙНПХЯРНБС╨ libparted ДКЪ
БХЪБКЕММЪ РЮ ЛЮМЁОСКЪЖЁИ Г ОПХЯРПНЪЛХ Ё РЮАКХЖЪЛХ ПЮГДЁКЁБ, Ю РЮЙНФ
ДЕЪЙЁ (НОЖЁНМЮКЭМН) ЁМЯРПСЛЕМРХ (МЕ БЙКЧВЕМЁ Б libparted) ДКЪ ТЮИКНБХУ
ЯХЯРЕЛ, ЫН ГЮАЕГОЕВСЧРЭ ©У ОЁДРПХЛЙС. жЁ НОЖЁНМЮКЭМЁ ОЮЙЕРХ БХЪБКЪЧРЭЯЪ
ОЁД ВЮЯ БХЙНМЮММЪ Ё МЕ ОНРПЕАСЧРЭ ОЕПЕГАХПЮММЪ %Name.
%Name МЮОХЯЮМХИ МЮ C++ Ё БЁЙНПХЯРНБС╨ gtkmm Б ЪЙНЯРЁ ЦПЮТЁВМНЦН
РСКЙЁРС. цНКНБМЕ ГЮБДЮММЪ - ГЮКХЬХРХ GUI ЛЮЙЯХЛЮКЭМН ОПНЯРХЛ.
%prep
%setup
sed -i \
-e '/^Categories=/ s/GNOME;/GTK;Filesystem;/' \
-e '/^Exec=/ s/=.*$/=%name/' \
%name.desktop*
%build
%configure %{subst_with pic} --bindir=%_sbindir
%make_build
bzip2 --best --keep --force ChangeLog
for s in 32 24 22 16; do
convert -resize ${s}x$s pixmaps/%name{,-$s}.png
done
%install
%make_install DESTDIR=%buildroot install
install -d -m 0755 %buildroot{%_liconsdir,%_bindir}
mv %buildroot{%_pixmapsdir,%_liconsdir}/%name.png
ln -sf %buildroot{%_liconsdir,%_pixmapsdir}/%name.png
symlinks -scd %buildroot%_pixmapsdir
for s in 32 24 22 16; do
install -D -m 0644 {pixmaps/%{name}-$s,%buildroot%_iconsdir/hicolor/${s}x$s/apps/%name}.png
done
# usermode
install -pD -m640 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name
install -pD -m640 %SOURCE2 %buildroot%_sysconfdir/security/console.apps/%name
ln -s %_bindir/consolehelper %buildroot%_bindir/%name
%find_lang --with-gnome %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog.* README
%_sbindir/*
%_bindir/*
%_man8dir/*
%_pixmapsdir/*
%_sysconfdir/pam.d/*
%_sysconfdir/security/console.apps/*
%_iconsdir/hicolor/*/apps/*
%_desktopdir/*
%changelog
…
Полный changelog можно просмотреть здесь