diff -r 50e3a83e4f0b -r bc3cd9a53ab5 python-parted/python-parted.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-parted/python-parted.spec Thu May 26 15:49:15 2011 +0200 @@ -0,0 +1,65 @@ +%define modname pyparted +Name: python-parted +%if %suse_version > 1020 +Version: 1.8.9 +%else +Version: 1.7.3 +%endif +Release: 10.1 +Summary: Python Module for GNU Parted +URL: http://people.redhat.com/dcantrel/pyparted +License: GNU General Public License (GPL) +Group: Development/Libraries/Python +Source: %{modname}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-buildroot +%{py_requires} +BuildRequires: e2fsprogs-devel parted-devel python-devel +%if %suse_version > 1000 +BuildRequires: pkg-config +%else +BuildRequires: pkgconfig +%endif + +%description +Python interface to GNU parted. + +GNU Parted is a program for creating, destroying, resizing, checking, +and copying partitions, and the file systems on them. + +Authors: +-------- + David Cantrell + Matt Wilson + Jeremy Katz + Peter Jones + Chris Lumens + +%prep +%setup -q -n %{modname}-%{version} + +%build +export CFLAGS="$RPM_OPT_FLAGS" +%if %suse_version < 1030 +%configure ||: +cat config.log +%endif +make + +%install +%makeinstall + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc README COPYING AUTHORS ChangeLog +%{py_sitedir}/partedmodule.so + +%changelog + +* Wed Jun 25 2008 - James Oakley - 1.8.9-1 +- Update to 1.8.9 + +* Thu May 31 2007 - James Oakley - 1.8.6-1 +- Initial release