Fri, 27 May 2011 21:13:44 +0200
Import new package spec for introduction into repository.
michael@14 | 1 | %define modname pyparted |
michael@14 | 2 | Name: python-parted |
michael@15 | 3 | Version: 3.6 |
michael@15 | 4 | Release: MSvB_1 |
michael@14 | 5 | Summary: Python Module for GNU Parted |
michael@15 | 6 | URL: https://fedorahosted.org/pyparted/ |
michael@14 | 7 | License: GNU General Public License (GPL) |
michael@14 | 8 | Group: Development/Libraries/Python |
michael@15 | 9 | Source: https://fedorahosted.org/releases/p/y/pyparted/%{modname}-%{version}.tar.gz |
michael@14 | 10 | BuildRoot: %{_tmppath}/%{name}-buildroot |
michael@14 | 11 | %{py_requires} |
michael@15 | 12 | BuildRequires: gcc pkg-config |
michael@14 | 13 | BuildRequires: e2fsprogs-devel parted-devel python-devel |
michael@14 | 14 | |
michael@14 | 15 | %description |
michael@15 | 16 | Python-parted is the python interface to GNU Parted, |
michael@15 | 17 | a program for creating, destroying, resizing, checking, |
michael@14 | 18 | and copying partitions, and the file systems on them. |
michael@14 | 19 | |
michael@14 | 20 | %prep |
michael@14 | 21 | %setup -q -n %{modname}-%{version} |
michael@14 | 22 | |
michael@14 | 23 | %build |
michael@14 | 24 | export CFLAGS="$RPM_OPT_FLAGS" |
michael@15 | 25 | %configure |
michael@15 | 26 | make %{?_smp_mflags} |
michael@14 | 27 | |
michael@14 | 28 | %install |
michael@14 | 29 | %makeinstall |
michael@14 | 30 | |
michael@14 | 31 | %clean |
michael@14 | 32 | rm -rf %{buildroot} |
michael@14 | 33 | |
michael@14 | 34 | %files |
michael@14 | 35 | %defattr(-,root,root) |
michael@14 | 36 | %doc README COPYING AUTHORS ChangeLog |
michael@15 | 37 | %{py_sitedir}/* |
michael@14 | 38 | |
michael@14 | 39 | %changelog |
michael@14 | 40 | |
michael@15 | 41 | * Thu May 26 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 3.6-MSvB_1 |
michael@15 | 42 | - Update to 3.6 |
michael@15 | 43 | |
michael@14 | 44 | * Wed Jun 25 2008 - James Oakley <jfunk@funktronics.ca> - 1.8.9-1 |
michael@14 | 45 | - Update to 1.8.9 |
michael@14 | 46 | |
michael@14 | 47 | * Thu May 31 2007 - James Oakley <jfunk@funktronics.ca> - 1.8.6-1 |
michael@14 | 48 | - Initial release |