parted-vl.spec 8.3 KB

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