123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- %define name gparted
- %define version 0.4.5
- %define release 1%{?_dist_release}
- Summary: Gnome Partition Editor
- Summary(ja): Gnome パーティション編集ツール
- Name: %{name}
- Version: %{version}
- Release: %{release}
- License: GPL
- Group: Applications/Administration
- URL: http://gparted.sourceforge.net
- Source0: %{name}-%{version}.tar.bz2
- Source1: gparted-pam.d
- Source2: gparted-console.apps
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: gtk2-devel >= 2.6.0, gtkmm2-devel >= 2.8.0
- BuildRequires: parted-devel >= 1.8.8, e2fsprogs-devel >= 1.41.0
- BuildRequires: desktop-file-utils
- Requires: hal, e2fsprogs >= 1.41.0
- Packager: kazutaka
- %description
- GParted stands for Gnome Partition Editor. Among other features
- it supports creating, resizing, moving and copying of partitions.
- %description -l ja
- GParted は Gnome 用のパーティション編集ツールです。特にパーティ
- ションの作成/リサイズ/移動/コピーをサポートしています。
- %prep
- %setup -q
- %build
- %configure
- %__make %{?_smp_mflags}
- %install
- %__rm -rf ${RPM_BUILD_ROOT}
- %__make install DESTDIR=$RPM_BUILD_ROOT
- desktop-file-install --delete-original \
- --vendor "" \
- --dir %{buildroot}%{_datadir}/applications \
- --mode 0644 \
- %{buildroot}%{_datadir}/applications/%{name}.desktop
- sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop
- # Set up authentication via PAM.
- %__mkdir_p ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d
- %__mkdir_p ${RPM_BUILD_ROOT}/%{_sysconfdir}/security/console.apps
- %__mkdir_p ${RPM_BUILD_ROOT}/%{_bindir}
- %__cp %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/gparted
- %__cp %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/security/console.apps/gparted
- %__ln_s consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/gparted
- %find_lang %{name}
- %clean
- %__rm -rf ${RPM_BUILD_ROOT}
- %preun
- if [ $1 -ge 0 ]; then
- if [ -a %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi ]; then
- rm -rf %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi
- fi
- fi
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog README
- %config(noreplace) %{_sysconfdir}/pam.d/gparted
- %config(noreplace) %{_sysconfdir}/security/console.apps/gparted
- %{_bindir}/gparted
- %{_sbindir}/gparted
- %{_sbindir}/gpartedbin
- %{_datadir}/applications/gparted.desktop
- %{_datadir}/gnome/help/gparted
- %{_datadir}/icons/hicolor/16x16/apps/gparted.png
- %{_datadir}/icons/hicolor/22x22/apps/gparted.png
- %{_datadir}/icons/hicolor/24x24/apps/gparted.png
- %{_datadir}/icons/hicolor/32x32/apps/gparted.png
- %{_datadir}/icons/hicolor/48x48/apps/gparted.png
- %{_datadir}/icons/hicolor/scalable/apps/gparted.svg
- %{_datadir}/omf/gparted
- %{_mandir}/man8/gparted.*
- %changelog
- * Tue May 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1
- - new upstream release
- * Sun May 03 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.4-1
- - new upstream release
- - add mimimun version requiment for e2fsprogs >= 1.41.0
- - add Packager tag
- * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-1
- - new upstream release
- - build with parted-1.8.8
- * Sat Apr 05 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.6-1
- - new upstream release.
- - apply new versioning policy.
- * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl2
- - rebuild for VineSeed.
- * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
- - new upstream release.
- * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
- - new upstream release.
- * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl2
- - rebuild with new environment/toolchain.
- * Tue Dec 12 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl1
- - new upstream release.
- - add required parted version >= 1.7.1.
- - update japanese translation.
- * Thu Jun 8 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.5-0vl2
- - add GnuPG signature.
- * Wed Jun 7 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.5-0vl1
- - new upstream release.
- * Fri May 5 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.3-0vl3
- - update ja.po.
- * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2
- - rebuilt with parted 1.6.25.1
- * Tue Apr 27 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.3-0vl1
- - initial build for VineSeed Plus.
|