python-parted/python-parted.spec

changeset 15
5ae423a55bed
parent 14
bc3cd9a53ab5
equal deleted inserted replaced
0:d68eab7e2fcd 1:0b2e19d137b8
1 %define modname pyparted 1 %define modname pyparted
2 Name: python-parted 2 Name: python-parted
3 %if %suse_version > 1020 3 Version: 3.6
4 Version: 1.8.9 4 Release: MSvB_1
5 %else
6 Version: 1.7.3
7 %endif
8 Release: 10.1
9 Summary: Python Module for GNU Parted 5 Summary: Python Module for GNU Parted
10 URL: http://people.redhat.com/dcantrel/pyparted 6 URL: https://fedorahosted.org/pyparted/
11 License: GNU General Public License (GPL) 7 License: GNU General Public License (GPL)
12 Group: Development/Libraries/Python 8 Group: Development/Libraries/Python
13 Source: %{modname}-%{version}.tar.bz2 9 Source: https://fedorahosted.org/releases/p/y/pyparted/%{modname}-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-buildroot 10 BuildRoot: %{_tmppath}/%{name}-buildroot
15 %{py_requires} 11 %{py_requires}
12 BuildRequires: gcc pkg-config
16 BuildRequires: e2fsprogs-devel parted-devel python-devel 13 BuildRequires: e2fsprogs-devel parted-devel python-devel
17 %if %suse_version > 1000
18 BuildRequires: pkg-config
19 %else
20 BuildRequires: pkgconfig
21 %endif
22 14
23 %description 15 %description
24 Python interface to GNU parted. 16 Python-parted is the python interface to GNU Parted,
25 17 a program for creating, destroying, resizing, checking,
26 GNU Parted is a program for creating, destroying, resizing, checking,
27 and copying partitions, and the file systems on them. 18 and copying partitions, and the file systems on them.
28
29 Authors:
30 --------
31 David Cantrell <dcantrell@redhat.com>
32 Matt Wilson <msw@redhat.com>
33 Jeremy Katz <katzj@redhat.com>
34 Peter Jones <pjones@redhat.com>
35 Chris Lumens <clumens@redhat.com>
36 19
37 %prep 20 %prep
38 %setup -q -n %{modname}-%{version} 21 %setup -q -n %{modname}-%{version}
39 22
40 %build 23 %build
41 export CFLAGS="$RPM_OPT_FLAGS" 24 export CFLAGS="$RPM_OPT_FLAGS"
42 %if %suse_version < 1030 25 %configure
43 %configure ||: 26 make %{?_smp_mflags}
44 cat config.log
45 %endif
46 make
47 27
48 %install 28 %install
49 %makeinstall 29 %makeinstall
50 30
51 %clean 31 %clean
52 rm -rf %{buildroot} 32 rm -rf %{buildroot}
53 33
54 %files 34 %files
55 %defattr(-,root,root) 35 %defattr(-,root,root)
56 %doc README COPYING AUTHORS ChangeLog 36 %doc README COPYING AUTHORS ChangeLog
57 %{py_sitedir}/partedmodule.so 37 %{py_sitedir}/*
58 38
59 %changelog 39 %changelog
40
41 * Thu May 26 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 3.6-MSvB_1
42 - Update to 3.6
60 43
61 * Wed Jun 25 2008 - James Oakley <jfunk@funktronics.ca> - 1.8.9-1 44 * Wed Jun 25 2008 - James Oakley <jfunk@funktronics.ca> - 1.8.9-1
62 - Update to 1.8.9 45 - Update to 1.8.9
63 46
64 * Thu May 31 2007 - James Oakley <jfunk@funktronics.ca> - 1.8.6-1 47 * Thu May 31 2007 - James Oakley <jfunk@funktronics.ca> - 1.8.6-1

mercurial