gparted-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. %define name gparted
  2. %define version 0.19.1
  3. %define release 1%{?_dist_release}
  4. Summary: Gnome Partition Editor
  5. Summary(ja): Gnome パーティション編集ツール
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. License: GPL
  10. Group: Applications/Administration
  11. URL: http://gparted.sourceforge.net
  12. Source0: %{name}-%{version}.tar.bz2
  13. Source1: gparted-pam.d
  14. Source2: gparted-console.apps
  15. Patch1: gparted-0.11.0-desktop.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  17. BuildRequires: gtk2-devel >= 2.6.0, gtkmm2-devel >= 2.8.0
  18. BuildRequires: parted-devel >= 3.1, e2fsprogs-devel >= 1.41.0
  19. BuildRequires: libuuid-devel
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: gnome-doc-utils >= 0.3.2
  22. Requires: e2fsprogs >= 1.41.0
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: kazutaka, Takemikaduchi
  26. %description
  27. GParted stands for Gnome Partition Editor. Among other features
  28. it supports creating, resizing, moving and copying of partitions.
  29. %description -l ja
  30. GParted は Gnome 用のパーティション編集ツールです。特にパーティ
  31. ションの作成/リサイズ/移動/コピーをサポートしています。
  32. %prep
  33. %setup -q
  34. %patch1 -p1 -b .desktop
  35. %build
  36. autoreconf -if
  37. %configure
  38. %__make %{?_smp_mflags}
  39. %install
  40. %__rm -rf ${RPM_BUILD_ROOT}
  41. %__make install DESTDIR=$RPM_BUILD_ROOT
  42. desktop-file-install --delete-original \
  43. --vendor "" \
  44. --dir %{buildroot}%{_datadir}/applications \
  45. --mode 0644 \
  46. %{buildroot}%{_datadir}/applications/%{name}.desktop
  47. sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop
  48. # Set up authentication via PAM.
  49. %__mkdir_p ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d
  50. %__mkdir_p ${RPM_BUILD_ROOT}/%{_sysconfdir}/security/console.apps
  51. %__mkdir_p ${RPM_BUILD_ROOT}/%{_bindir}
  52. %__cp %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/pam.d/gparted
  53. %__cp %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/security/console.apps/gparted
  54. %__ln_s consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/gparted
  55. %find_lang %{name}
  56. %clean
  57. %__rm -rf ${RPM_BUILD_ROOT}
  58. %preun
  59. if [ $1 -ge 0 ]; then
  60. if [ -a %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi ]; then
  61. rm -rf %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi
  62. fi
  63. fi
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS COPYING ChangeLog README
  67. %config(noreplace) %{_sysconfdir}/pam.d/gparted
  68. %config(noreplace) %{_sysconfdir}/security/console.apps/gparted
  69. %{_bindir}/gparted
  70. %{_sbindir}/gparted
  71. %{_sbindir}/gpartedbin
  72. %{_datadir}/appdata/gparted.appdata.xml
  73. %{_datadir}/applications/gparted.desktop
  74. %{_datadir}/gnome/help/gparted
  75. %{_datadir}/icons/hicolor/16x16/apps/gparted.png
  76. %{_datadir}/icons/hicolor/22x22/apps/gparted.png
  77. %{_datadir}/icons/hicolor/24x24/apps/gparted.png
  78. %{_datadir}/icons/hicolor/32x32/apps/gparted.png
  79. %{_datadir}/icons/hicolor/48x48/apps/gparted.png
  80. %{_datadir}/icons/hicolor/scalable/apps/gparted.svg
  81. %{_datadir}/omf/gparted
  82. %{_mandir}/man8/gparted.*
  83. %changelog
  84. * Wed Jul 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.1-1
  85. - new upstream release
  86. * Wed Jun 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.19.0-1
  87. - new upstream release
  88. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.17.0-1
  89. - new upstream release
  90. * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.1-1
  91. - new upstream release
  92. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.0-1
  93. - new upstream release
  94. * Mon Jan 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.1-1
  95. - new upstream release
  96. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
  97. - new upstream release
  98. * Sat Aug 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.1-1
  99. - new upstream release
  100. * Sun Jul 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.0-1
  101. - new upstream release
  102. * Thu Jan 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.0-1
  103. - new upstream release
  104. - update Patch1 (gparted-0.11.0-desktop.patch)
  105. - remove Requires: hal
  106. * Sun Oct 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  107. - new upstream release
  108. - update Patch1 (gparted-0.9.1-desktop.patch)
  109. * Sat Apr 2 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.0-1
  110. - new upstream release
  111. - update desktop file patch (Patch1)
  112. * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-1
  113. - new upstream release
  114. * Sat Dec 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.0-2
  115. - add BuildRequires: libuuid-devel, gnome-doc-utils
  116. * Wed Nov 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.0-1
  117. - new upstream release
  118. * Wed Nov 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.0-1
  119. - new upstream release
  120. - built with parted 2.3
  121. * Tue May 19 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1
  122. - new upstream release
  123. * Sun May 03 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.4-1
  124. - new upstream release
  125. - add mimimun version requiment for e2fsprogs >= 1.41.0
  126. - add Packager tag
  127. * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-1
  128. - new upstream release
  129. - build with parted-1.8.8
  130. * Sat Apr 05 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.6-1
  131. - new upstream release.
  132. - apply new versioning policy.
  133. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl2
  134. - rebuild for VineSeed.
  135. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
  136. - new upstream release.
  137. * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.5-0vl1
  138. - new upstream release.
  139. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl2
  140. - rebuild with new environment/toolchain.
  141. * Tue Dec 12 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl1
  142. - new upstream release.
  143. - add required parted version >= 1.7.1.
  144. - update japanese translation.
  145. * Thu Jun 8 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.5-0vl2
  146. - add GnuPG signature.
  147. * Wed Jun 7 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.5-0vl1
  148. - new upstream release.
  149. * Fri May 5 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.3-0vl3
  150. - update ja.po.
  151. * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2
  152. - rebuilt with parted 1.6.25.1
  153. * Thu Apr 27 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.3-0vl1
  154. - initial build for VineSeed Plus.