parted-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. %define _sbindir /sbin
  2. Summary: The GNU disk partition manipulation program.
  3. Summary(ja): ディスクパーティション操作ツール
  4. Name: parted
  5. Version: 3.1
  6. Release: 2%{?_dist_release}
  7. License: GPL
  8. Group: Applications/Administration
  9. URL: http://www.gnu.org/software/parted/
  10. Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: e2fsprogs-devel, ncurses-devel, readline-devel
  13. BuildRequires: python-devel, ncurses-devel
  14. BuildRequires: device-mapper-devel
  15. BuildRequires: libtool, automake, autoconf
  16. BuildRequires: gettext-devel >= 0.18
  17. BuildRequires: texinfo
  18. BuildRequires: libuuid-devel
  19. BuildRequires: libblkid-devel >= 2.17
  20. BuildRequires: gnupg
  21. Provides: libparted = %{version}-%{release}
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. GNU Parted is a program that allows you to create, destroy,
  26. resize, move and copy hard disk partitions. This is useful for
  27. creating space for new operating systems, reorganising disk
  28. usage, and copying data to new hard disks.
  29. %description -l ja
  30. GNU Parted はハードディスクのパーティションを作成/削除/リサイズ/
  31. 移動/コピーすることが出来るプログラムです.新しいオペレーティング
  32. システムをインストールするスペースを確保したり,ディスクのパーティションを
  33. 整理したり,新しいハードディスクにデータをコピーする際に非常に便利です.
  34. %package devel
  35. Summary: Files for developing apps which will manipulate disk partitions.
  36. Summary(ja) : パーティション操作をするアプリケーションの開発用ファイル
  37. Group: Development/Libraries
  38. Requires: parted = %{version}-%{release}
  39. Provides: libparted-devel = %{version}-%{release}
  40. %description devel
  41. The GNU Parted library is a set of routines for hard disk partition
  42. manipulation. If you want to develop programs that manipulate disk
  43. partitions and filesystems using the routines provided by the GNU
  44. Parted library, you need to install this package.
  45. %description devel -l ja
  46. GNU Parted ライブラリにはハードディスクのパーティションを操作する
  47. 関数が用意されています。GNU Parted ライブラリが提供する関数を使って
  48. ディスクパーティションやファイルシステムを操作するプログラムを開発
  49. したいのであれば、このパッケージをインストールして下さい。
  50. %prep
  51. %setup -q
  52. iconv -f ISO-8859-1 -t UTF8 AUTHORS > tmp; touch -r AUTHORS tmp; mv tmp AUTHORS
  53. %build
  54. %configure \
  55. --enable-device-mapper \
  56. --enable-shared
  57. %__make %{?_smp_mflags}
  58. %install
  59. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  60. %__make install DESTDIR=$RPM_BUILD_ROOT
  61. # Remove components we do not ship
  62. %{__rm} -rf %{buildroot}%{_libdir}/*.la
  63. %{__rm} -rf %{buildroot}%{_infodir}/dir
  64. %{__rm} -rf %{buildroot}%{_bindir}/label
  65. %find_lang %{name}
  66. %post
  67. /sbin/ldconfig
  68. /sbin/install-info %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
  69. %postun
  70. /sbin/ldconfig
  71. %preun
  72. if [ $1 = 0 ]; then
  73. /sbin/install-info --delete %{_infodir}/parted.info.gz %{_infodir}/dir >/dev/null 2>&1 || :
  74. fi
  75. %clean
  76. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  77. %files -f %{name}.lang
  78. %defattr(-,root,root)
  79. %doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
  80. %doc doc/FAT doc/USER.jp
  81. %{_sbindir}/*
  82. %{_mandir}/man8/*
  83. %{_libdir}/lib*.so.*
  84. %{_infodir}/parted.info*
  85. %files devel
  86. %defattr(-,root,root)
  87. %doc doc/API
  88. %{_includedir}/*
  89. %{_libdir}/lib*.so
  90. %{_libdir}/*.a
  91. %{_libdir}/pkgconfig/libparted.pc
  92. %changelog
  93. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-2
  94. - rebuild with VineSeed environment
  95. * Sun Jul 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1-1
  96. - new upstream release
  97. - remove Patch1
  98. * Thu Jan 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-1
  99. - new upstream release
  100. - remove Patch0
  101. * Tue Nov 9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3-1
  102. - new upstream release
  103. - drop old patches
  104. - new patch for 2.3 from fc14
  105. - add BRs: libuuid-devel, libblkid-devel >= 2.17, gnupg
  106. - change BR: gettext -> gettext-devel >= 0.18
  107. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.8-2
  108. - rebuilt with rpm-4.8.1 for pkg-config
  109. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.8-1
  110. - new upstream release
  111. - import patch[1-8] from fedora
  112. * Sat May 19 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.8.1-1vl2
  113. - rebuild with new environment/toolchain.
  114. * Fri Dec 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-1vl1
  115. - new upstream release
  116. - remove Patch0, 3, 100, 150, 151 and 152 (merged into upstream)
  117. * Sat Sep 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl2
  118. - changed Group to Applications/Administration
  119. * Wed May 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25.1-0vl1
  120. - new upstream release
  121. * Thu Dec 1 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.25-3vl1
  122. - new upstream release
  123. - updated Patch3, 100, 150 and 151 from Fedora
  124. * Wed Nov 09 2005 Chris Lumens <clumens@redhat.com> 1.6.25-1
  125. - Update DASD, iseries, and SX8 patches.
  126. * Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.24-0vl1
  127. - new upstream release
  128. - updated Patch100, 151
  129. * Mon Apr 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.22-0vl1
  130. - new upstream release
  131. * Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.21-1vl1
  132. - new upstream release
  133. - added Patch3 and Patch152, updated Patch150 (from Fedora)
  134. * Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.19-2
  135. - add support for Promise SX8 devices
  136. * Thu Nov 11 2004 Jeremy Katz <katzj@redhat.com> - 1.6.16-2
  137. - add patch from Matt Domsch to fix consistency of GPT disk labels
  138. with the EFI specification for disks > 2TB (#138480)
  139. * Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.18-0vl1
  140. - new upstream release
  141. * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.16-0vl1
  142. - new upstream release
  143. * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.15-0vl1
  144. - new upstream release
  145. - added BuildRequires: automake autoconf gettext
  146. - patches from Fedora development
  147. * Tue Aug 24 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-2
  148. - fix assertion error when checking flags on non-active partition (#130692)
  149. - buildrequires: gettext-devel
  150. * Mon Aug 16 2004 Jeremy Katz <katzj@redhat.com> - 1.6.12-1
  151. - update to 1.6.12 with major changes to CHS handling to hopefully fix #115980
  152. - adjust dasd patch accordingly, drop some included patches
  153. * Mon Jul 19 2004 Karsten Hopp <karsten@redhat.de> 1.6.11-4
  154. - update dasd patch for dos-type partitions on mainframes (scsi disks)
  155. * Sun Aug 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.12-0vl1
  156. - new upstream release
  157. - removed BuildRequires: automake17 autoconf
  158. - updated %post %postun section to install .info file
  159. * Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl2
  160. - dropped BuildRequires: libunicode-devel
  161. * Sat Apr 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.10-0vl1
  162. - updated to current stable release 1.6.10
  163. - changed BuildRequires: automake17
  164. - added compile optioin -Os
  165. - dropped patch1
  166. * Fri Jun 6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.5-0vl1
  167. - updated to current stable release 1.6.5
  168. - changed summay and description based on Rawhide specfile
  169. * Tue Jan 29 2002 Toru Sagami <sagami@vinelinux.org> 1.4.24-0vl1
  170. - updated to current stable release 1.4.24
  171. * Sun Jan 06 2002 Toru Sagami <sagami@vinelinux.org>
  172. - 1.4.21-0vl1
  173. - enable __libtoolize
  174. * Wed Nov 21 2001 Toru Sagami <sagami@vinelinux.org>
  175. - 1.4.19-0vl1
  176. * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org>
  177. - 1.4.19-0vl1
  178. * Sun Aug 19 2001 Toru Sagami <sagami@vinelinux.org>
  179. - 1.4.18-0vl1
  180. - Where did any python related files go? Erase'em.
  181. * Wed Aug 15 2001 <sagami@vinelinux.org>
  182. - 1.4.16-0vl1
  183. - build w/ --enable-shared --enable-all-static, instead of --disable-shared
  184. - consequently, eliminate Requires against e2fsprogs, readline
  185. - ldconfig at post/postun
  186. * Mon Jul 09 2001 <sagami@vinelinux.org>
  187. - 1.4.15-0vl1: use %%{find_lang}, added doc/FAQ
  188. - %%define __libtoolize /bin/true
  189. * Mon May 28 2001 <sagami@vinelinux.org>
  190. - 1.4.13-0vl1
  191. * Wed Apr 18 2001 <sagami@vinelinux.org>
  192. - 1.4.10-0vl1
  193. * Sun Jan 21 2001 Toru Sagami <czs14350@mb.infoweb.ne.jp>
  194. - updated to 1.4.7-0vl1
  195. - changed Group for devel subpackage
  196. - added USER.jp in %doc
  197. * Sun Dec 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  198. - 1.4.2-1vl2
  199. - partially used rpmmacros
  200. * Mon Nov 20 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  201. - 1.4.2-1vl1
  202. - build for Vine Linux
  203. - added Japanese summary and description
  204. * Mon Mar 13 2000 Fabian Emmes <fab@orlen.de>
  205. - changed "unset LINGUAS" line
  206. - reintroduced %build section ;)
  207. - started changelog