pyparted-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. %define python_sitearch %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
  2. Summary: Python module for GNU parted
  3. Summary(ja): parted の python モジュール
  4. Name: pyparted
  5. Version: 3.8
  6. Release: 2%{?_dist_release}
  7. License: GPLv2+
  8. Group: System Environment/Libraries
  9. Source0: https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: python-devel, parted-devel >= 3.0
  12. Requires: parted >= 3.0
  13. %description
  14. Python modules for the parted library. It is used for manipulation
  15. partition tables.
  16. %prep
  17. %setup -q
  18. %build
  19. export CFLAGS="%{optflags}"
  20. %__make %{?_smp_mflags}
  21. %install
  22. rm -rf $RPM_BUILD_ROOT
  23. %__make install DESTDIR=$RPM_BUILD_ROOT
  24. %clean
  25. rm -rf $RPM_BUILD_ROOT
  26. %files
  27. %defattr(-,root,root,-)
  28. %doc README COPYING AUTHORS ChangeLog
  29. %{python_sitearch}/parted
  30. %{python_sitearch}/*.egg-info
  31. %{python_sitearch}/*.so
  32. %changelog
  33. * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8-2
  34. - rebuild with python-2.7.2
  35. * Fri Jan 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8-1
  36. - new upstream release
  37. * Sat Dec 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.9-3
  38. - rebuild with parted-2.3
  39. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.8.9-2
  40. - rebuilt with python-2.6.4
  41. * Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.9-1
  42. - new upstream release
  43. - build with parted-1.8.8
  44. * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.8.1-4vl5
  45. - rebuilt with python-2.5.2
  46. - added pyexeclib macro
  47. - applied new versioning policy and spec in utf-8
  48. * Wed Dec 13 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-3vl1
  49. - rebuilt for VineSeed with parted-1.8.1 and python-2.4
  50. * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.8.1-3
  51. - rebuild for python 2.5
  52. * Tue Dec 05 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-2
  53. - Rebuild for GNU parted-1.8.1
  54. * Thu Nov 30 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-1
  55. - Determine Python version to use in %%build so the source RPM is more
  56. easily moved between distribution releases.
  57. * Fri Nov 17 2006 David Cantrell <dcantrell@redhat.com> - 1.8.0-1
  58. - Bump version to 1.8.0 and require parted >= 1.8.0
  59. - Remove python-abi Requires line since rpm handles that automatically
  60. * Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.3-1
  61. - Include parted/constraint.h in required header files
  62. * Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-2
  63. - Require parted-1.7.1 or higher
  64. * Tue Jul 25 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-1
  65. - Add HPSERVICE, PALO, PREP, and MSFT_RESERVED to partition types list
  66. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7.1-1.1
  67. - rebuild
  68. * Sun May 28 2006 David Cantrell <dcantrell@redhat.com> - 1.7.1-1
  69. - Bump version to 1.7.1 and require parted >= 1.7.1
  70. * Fri May 19 2006 David Cantrell <dcantrell@redhat.com> - 1.7.0-1
  71. - Bump version to 1.7.0 and require parted >= 1.7.0
  72. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  73. - rebuilt
  74. * Fri Nov 11 2005 Peter Jones <pjones@redhat.com> - 1.6.10-1
  75. - rebuild for new parted.
  76. - add debugging options for make so debuginfo isn't useless
  77. * Wed Nov 9 2005 Jeremy Katz <katzj@redhat.com> - 1.6.9-5
  78. - rebuild for new parted
  79. * Wed Aug 31 2005 Chris Lumens <clumens@redhat.com> 1.6.9-4
  80. - Rebuilt for new parted library.
  81. * Wed Mar 16 2005 Chris Lumens <clumens@redhat.com> 1.6.9-3
  82. - Updated for gcc4 and python2.4. Fixed build warnings.
  83. * Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.9-2
  84. - add support for sx8 devices
  85. * Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-3
  86. - rebuild for python 2.4
  87. * Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> - 1.6.8-2
  88. - #135100 req python-abi (Robert Scheck)
  89. * Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-1
  90. - update for new parted ABI
  91. - device -> heads, sectors, cylinders now refer to the bios geometry
  92. - require parted >= 1.6.12
  93. * Thu Jul 22 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-3
  94. - build on ppc64 again
  95. * Thu May 13 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-1
  96. - fix build for newer versions of gcc (fix from Jeff Law)
  97. * Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> 1.6.6-2
  98. - fix PARTITION_PROTECTED definition (#118451)
  99. * Fri Mar 12 2004 Jeremy Katz <katzj@redhat.com>
  100. - Initial build split out into separate source from the parted package.
  101. - Don't build on ppc64 right now due to parted build problems (#118183)