Репозитории 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
%def_with pic
%define Name GParted
Name: gparted
Version: 0.3.3
Release: alt5.M40.1
Summary: Gnome Partition Editor
License: GPL2+
Group: System/Configuration/Hardware
URL: http://%name.sourceforge.net/
Source0: %name-%version.tar.bz2
#http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2?download
Source1: %name-pam
Source2: %name-security
Patch: %name-0.3.3-disable_hal_dirty_hack.patch
BuildRequires: libparted-devel >= 1.7.1
BuildRequires: libgtkmm2-devel >= 2.8
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel glibc-devel
BuildRequires: libatk-devel libcairo-devel libe2fs-devel
BuildRequires: libglibmm-devel libgtk+2-devel libpango-devel pkg-config
BuildRequires: perl-XML-Parser parted libprogsreiserfs-devel
BuildRequires: libsigc++2.0-devel libstdc++-devel
%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 -q
%patch -p1
subst '/^Categories=/ s/GNOME/GTK2/' %name.desktop*
%build
%configure %{subst_with pic} --bindir=%_sbindir
%make_build
%install
%make_install DESTDIR=%buildroot install
install -d -m755 %buildroot%_bindir
# 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
bzip2 --best --keep --force ChangeLog
#menu
%ifndef _desktopdir
install -d %buildroot%_menudir
cat > %buildroot%_menudir/%name <<__MENU__
?package(%name): command="%name" needs="X11" \
icon="%name.png" section="Configuration/Hardware" \
title="%Name" \
genericname="Partition Editor" \
longtitle="GUI partition editor"
__MENU__
%endif
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog.* README
%_sbindir/*
%_bindir/*
%_sysconfdir/pam.d/*
%_sysconfdir/security/console.apps/*
%_pixmapsdir/*
%ifdef _desktopdir
%_desktopdir/*
%else
%_menudir/*
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%define Name GParted
Name: gparted
Version: 0.3.3
Release: alt5.M40.1
Summary: Gnome Partition Editor
License: GPL2+
Group: System/Configuration/Hardware
URL: http://%name.sourceforge.net/
Source0: %name-%version.tar.bz2
#http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2?download
Source1: %name-pam
Source2: %name-security
Patch: %name-0.3.3-disable_hal_dirty_hack.patch
BuildRequires: libparted-devel >= 1.7.1
BuildRequires: libgtkmm2-devel >= 2.8
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel glibc-devel
BuildRequires: libatk-devel libcairo-devel libe2fs-devel
BuildRequires: libglibmm-devel libgtk+2-devel libpango-devel pkg-config
BuildRequires: perl-XML-Parser parted libprogsreiserfs-devel
BuildRequires: libsigc++2.0-devel libstdc++-devel
%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 -q
%patch -p1
subst '/^Categories=/ s/GNOME/GTK2/' %name.desktop*
%build
%configure %{subst_with pic} --bindir=%_sbindir
%make_build
%install
%make_install DESTDIR=%buildroot install
install -d -m755 %buildroot%_bindir
# 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
bzip2 --best --keep --force ChangeLog
#menu
%ifndef _desktopdir
install -d %buildroot%_menudir
cat > %buildroot%_menudir/%name <<__MENU__
?package(%name): command="%name" needs="X11" \
icon="%name.png" section="Configuration/Hardware" \
title="%Name" \
genericname="Partition Editor" \
longtitle="GUI partition editor"
__MENU__
%endif
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc AUTHORS ChangeLog.* README
%_sbindir/*
%_bindir/*
%_sysconfdir/pam.d/*
%_sysconfdir/security/console.apps/*
%_pixmapsdir/*
%ifdef _desktopdir
%_desktopdir/*
%else
%_menudir/*
%endif
%changelog
…
Полный changelog можно просмотреть здесь