michael@14: %define modname pyparted michael@14: Name: python-parted michael@15: Version: 3.6 michael@15: Release: MSvB_1 michael@14: Summary: Python Module for GNU Parted michael@15: URL: https://fedorahosted.org/pyparted/ michael@14: License: GNU General Public License (GPL) michael@14: Group: Development/Libraries/Python michael@15: Source: https://fedorahosted.org/releases/p/y/pyparted/%{modname}-%{version}.tar.gz michael@14: BuildRoot: %{_tmppath}/%{name}-buildroot michael@14: %{py_requires} michael@15: BuildRequires: gcc pkg-config michael@14: BuildRequires: e2fsprogs-devel parted-devel python-devel michael@14: michael@14: %description michael@15: Python-parted is the python interface to GNU Parted, michael@15: a program for creating, destroying, resizing, checking, michael@14: and copying partitions, and the file systems on them. michael@14: michael@14: %prep michael@14: %setup -q -n %{modname}-%{version} michael@14: michael@14: %build michael@14: export CFLAGS="$RPM_OPT_FLAGS" michael@15: %configure michael@15: make %{?_smp_mflags} michael@14: michael@14: %install michael@14: %makeinstall michael@14: michael@14: %clean michael@14: rm -rf %{buildroot} michael@14: michael@14: %files michael@14: %defattr(-,root,root) michael@14: %doc README COPYING AUTHORS ChangeLog michael@15: %{py_sitedir}/* michael@14: michael@14: %changelog michael@14: michael@15: * Thu May 26 2011 Michael Schloh von Bennewitz - 3.6-MSvB_1 michael@15: - Update to 3.6 michael@15: michael@14: * Wed Jun 25 2008 - James Oakley - 1.8.9-1 michael@14: - Update to 1.8.9 michael@14: michael@14: * Thu May 31 2007 - James Oakley - 1.8.6-1 michael@14: - Initial release