2007-02-08 17:34:10 +00:00
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
2007-02-08 16:45:53 +00:00
|
|
|
|
2006-11-17 21:13:26 +00:00
|
|
|
Summary: Python module for GNU parted
|
2006-08-30 18:23:22 +00:00
|
|
|
Name: pyparted
|
2007-06-14 19:21:27 +00:00
|
|
|
Version: 1.8.8
|
2007-06-14 18:41:16 +00:00
|
|
|
Release: 1%{?dist}
|
2004-09-09 10:57:37 +00:00
|
|
|
License: GPL
|
2006-08-30 18:23:22 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-04-20 15:37:57 +00:00
|
|
|
URL: http://people.redhat.com/dcantrel/%{name}
|
2006-08-30 18:23:22 +00:00
|
|
|
|
2007-04-20 15:40:18 +00:00
|
|
|
Source0: http://people.redhat.com/dcantrel/%{name}/%{name}-%{version}.tar.bz2
|
2006-08-30 18:23:22 +00:00
|
|
|
|
2007-04-20 15:37:57 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-06-14 19:21:27 +00:00
|
|
|
BuildRequires: python-devel, parted-devel >= 1.8.6, pkgconfig
|
2007-03-20 18:32:34 +00:00
|
|
|
Requires: parted >= 1.8.6
|
2004-09-09 10:57:37 +00:00
|
|
|
|
|
|
|
%description
|
2007-06-14 19:21:27 +00:00
|
|
|
Python module for the parted library. It is used for manipulating
|
2004-09-09 10:57:37 +00:00
|
|
|
partition tables.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-04-23 17:24:16 +00:00
|
|
|
CFLAGS="%{optflags}" CC="%{__cc}" %{__make} %{?_smp_mflags}
|
2004-09-09 10:57:37 +00:00
|
|
|
|
|
|
|
%install
|
2007-06-14 18:41:16 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2007-04-20 15:37:57 +00:00
|
|
|
%{__make} install DESTDIR=%{buildroot}
|
2004-09-09 10:57:37 +00:00
|
|
|
|
|
|
|
%clean
|
2007-04-20 15:37:57 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2004-09-09 10:57:37 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-04-20 15:37:57 +00:00
|
|
|
%doc README COPYING AUTHORS ChangeLog
|
2007-02-08 17:34:10 +00:00
|
|
|
%{python_sitearch}/partedmodule.so
|
2004-09-09 10:57:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-06-14 19:21:27 +00:00
|
|
|
* Fri Jun 15 2007 David Cantrell <dcantrell@redhat.com> - 1.8.8-1
|
|
|
|
- Clean up wording in package description (#226337)
|
|
|
|
- BR pkgconfig (#226337)
|
|
|
|
|
2007-06-14 18:41:16 +00:00
|
|
|
* Fri Jun 15 2007 David Cantrell <dcantrell@redhat.com> - 1.8.7-1
|
|
|
|
- Merge review (#226337)
|
|
|
|
|
2007-04-23 17:24:16 +00:00
|
|
|
* Mon Apr 23 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-2
|
|
|
|
- Ensure build env CFLAGS are included (#226337)
|
|
|
|
|
2007-04-20 15:37:57 +00:00
|
|
|
* Fri Apr 19 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-1
|
|
|
|
- Merge review (#226337)
|
|
|
|
|
2007-03-20 18:32:34 +00:00
|
|
|
* Tue Mar 20 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-4
|
|
|
|
- Rebuild for GNU parted-1.8.6
|
|
|
|
|
2007-03-20 06:10:00 +00:00
|
|
|
* Tue Mar 20 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-3
|
|
|
|
- Rebuild for GNU parted-1.8.5
|
|
|
|
|
2007-03-19 19:06:23 +00:00
|
|
|
* Mon Mar 19 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-2
|
|
|
|
- Rebuild for GNU parted-1.8.4
|
|
|
|
|
2007-02-08 17:34:10 +00:00
|
|
|
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.5-1
|
|
|
|
- Define and use python_sitearch rather than python_sitelib
|
|
|
|
|
2007-02-08 16:45:53 +00:00
|
|
|
* Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 1.8.4-1
|
|
|
|
- Use preferred BuildRoot (package review)
|
|
|
|
- Define and use python_sitelib macro (package review)
|
|
|
|
|
2007-01-12 20:20:41 +00:00
|
|
|
* Fri Jan 12 2007 David Cantrell <dcantrell@redhat.com> - 1.8.3-1
|
|
|
|
- Required parted-1.8.2 or higher
|
|
|
|
|
2007-01-10 20:49:42 +00:00
|
|
|
* Wed Jan 10 2007 Jeremy Katz <katzj@redhat.com> - 1.8.2-1
|
|
|
|
- use PyObject_DEL instead of PyMem_DEL
|
|
|
|
|
2006-12-07 16:08:37 +00:00
|
|
|
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.8.1-3
|
|
|
|
- rebuild for python 2.5
|
|
|
|
|
2006-12-05 16:01:50 +00:00
|
|
|
* Tue Dec 05 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-2
|
|
|
|
- Rebuild for GNU parted-1.8.1
|
|
|
|
|
2006-11-30 21:04:55 +00:00
|
|
|
* Thu Nov 30 2006 David Cantrell <dcantrell@redhat.com> - 1.8.1-1
|
|
|
|
- Determine Python version to use in %%build so the source RPM is more
|
|
|
|
easily moved between distribution releases.
|
|
|
|
|
2006-11-17 21:13:26 +00:00
|
|
|
* Fri Nov 17 2006 David Cantrell <dcantrell@redhat.com> - 1.8.0-1
|
|
|
|
- Bump version to 1.8.0 and require parted >= 1.8.0
|
|
|
|
- Remove python-abi Requires line since rpm handles that automatically
|
2006-10-04 21:09:24 +00:00
|
|
|
|
2006-08-30 18:23:22 +00:00
|
|
|
* Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.3-1
|
|
|
|
- Include parted/constraint.h in required header files
|
|
|
|
|
|
|
|
* Wed Aug 30 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-2
|
|
|
|
- Require parted-1.7.1 or higher
|
|
|
|
|
2006-07-25 17:26:46 +00:00
|
|
|
* Tue Jul 25 2006 David Cantrell <dcantrell@redhat.com> - 1.7.2-1
|
|
|
|
- Add HPSERVICE, PALO, PREP, and MSFT_RESERVED to partition types list
|
|
|
|
|
2006-07-12 07:55:45 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.7.1-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-29 14:37:54 +00:00
|
|
|
* Sun May 28 2006 David Cantrell <dcantrell@redhat.com> - 1.7.1-1
|
|
|
|
- Bump version to 1.7.1 and require parted >= 1.7.1
|
|
|
|
|
2006-05-19 20:50:30 +00:00
|
|
|
* Fri May 19 2006 David Cantrell <dcantrell@redhat.com> - 1.7.0-1
|
|
|
|
- Bump version to 1.7.0 and require parted >= 1.7.0
|
2006-02-07 13:39:22 +00:00
|
|
|
|
2005-12-09 22:42:52 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-11 22:16:15 +00:00
|
|
|
* Fri Nov 11 2005 Peter Jones <pjones@redhat.com> - 1.6.10-1
|
|
|
|
- rebuild for new parted.
|
|
|
|
- add debugging options for make so debuginfo isn't useless
|
|
|
|
|
2005-11-09 23:44:31 +00:00
|
|
|
* Wed Nov 9 2005 Jeremy Katz <katzj@redhat.com> - 1.6.9-5
|
|
|
|
- rebuild for new parted
|
|
|
|
|
2005-08-31 21:15:00 +00:00
|
|
|
* Wed Aug 31 2005 Chris Lumens <clumens@redhat.com> 1.6.9-4
|
|
|
|
- Rebuilt for new parted library.
|
|
|
|
|
2005-03-16 20:19:15 +00:00
|
|
|
* Wed Mar 16 2005 Chris Lumens <clumens@redhat.com> 1.6.9-3
|
|
|
|
- Updated for gcc4 and python2.4. Fixed build warnings.
|
|
|
|
|
2004-12-14 21:48:12 +00:00
|
|
|
* Tue Dec 14 2004 Jeremy Katz <katzj@redhat.com> - 1.6.9-2
|
|
|
|
- add support for sx8 devices
|
|
|
|
|
2004-11-08 21:46:35 +00:00
|
|
|
* Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-3
|
|
|
|
- rebuild for python 2.4
|
|
|
|
|
2004-10-12 01:28:00 +00:00
|
|
|
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> - 1.6.8-2
|
|
|
|
- #135100 req python-abi (Robert Scheck)
|
|
|
|
|
2004-09-09 10:58:06 +00:00
|
|
|
* Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-1
|
|
|
|
- update for new parted ABI
|
|
|
|
- device -> heads, sectors, cylinders now refer to the bios geometry
|
|
|
|
- require parted >= 1.6.12
|
|
|
|
|
2004-09-09 10:58:02 +00:00
|
|
|
* Thu Jul 22 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-3
|
|
|
|
- build on ppc64 again
|
2004-09-09 10:57:57 +00:00
|
|
|
|
2004-09-09 10:57:52 +00:00
|
|
|
* Thu May 13 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-1
|
|
|
|
- fix build for newer versions of gcc (fix from Jeff Law)
|
|
|
|
|
2004-09-09 10:57:40 +00:00
|
|
|
* Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> 1.6.6-2
|
|
|
|
- fix PARTITION_PROTECTED definition (#118451)
|
|
|
|
|
2004-09-09 10:57:37 +00:00
|
|
|
* Fri Mar 12 2004 Jeremy Katz <katzj@redhat.com>
|
|
|
|
- Initial build split out into separate source from the parted package.
|
|
|
|
- Don't build on ppc64 right now due to parted build problems (#118183)
|