64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
Summary: python module for parted
|
|
Name: pyparted
|
|
Version: 1.6.8
|
|
Release: 3
|
|
License: GPL
|
|
Group: System Environment/Libraries
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
Requires: parted >= 1.6.12
|
|
BuildRequires: parted-devel >= 1.6.12, python-devel
|
|
Requires: python-abi = %(%{__python} -c "import sys; print sys.version[:3]")
|
|
|
|
%description
|
|
Python modules for the parted library. It is used for manipulation
|
|
partition tables.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="-fPIC"
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING
|
|
%dir %{_libdir}/python?.?/site-packages/
|
|
%{_libdir}/python?.?/site-packages/*.so
|
|
|
|
|
|
%changelog
|
|
* Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 1.6.8-3
|
|
- rebuild for python 2.4
|
|
|
|
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> - 1.6.8-2
|
|
- #135100 req python-abi (Robert Scheck)
|
|
|
|
* 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
|
|
|
|
* Thu Jul 22 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-3
|
|
- build on ppc64 again
|
|
|
|
* Thu May 13 2004 Jeremy Katz <katzj@redhat.com> - 1.6.7-1
|
|
- fix build for newer versions of gcc (fix from Jeff Law)
|
|
|
|
* Tue Mar 16 2004 Jeremy Katz <katzj@redhat.com> 1.6.6-2
|
|
- fix PARTITION_PROTECTED definition (#118451)
|
|
|
|
* 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)
|