python-parted/python-parted.spec

changeset 15
5ae423a55bed
parent 14
bc3cd9a53ab5
     1.1 --- a/python-parted/python-parted.spec	Thu May 26 15:49:15 2011 +0200
     1.2 +++ b/python-parted/python-parted.spec	Thu May 26 15:50:52 2011 +0200
     1.3 @@ -1,49 +1,29 @@
     1.4  %define modname pyparted
     1.5  Name:           python-parted
     1.6 -%if %suse_version > 1020
     1.7 -Version:        1.8.9
     1.8 -%else
     1.9 -Version:        1.7.3
    1.10 -%endif
    1.11 -Release:        10.1
    1.12 +Version:        3.6
    1.13 +Release:        MSvB_1
    1.14  Summary:        Python Module for GNU Parted
    1.15 -URL:            http://people.redhat.com/dcantrel/pyparted
    1.16 +URL:            https://fedorahosted.org/pyparted/
    1.17  License:        GNU General Public License (GPL)
    1.18  Group:          Development/Libraries/Python
    1.19 -Source:         %{modname}-%{version}.tar.bz2
    1.20 +Source:         https://fedorahosted.org/releases/p/y/pyparted/%{modname}-%{version}.tar.gz
    1.21  BuildRoot:      %{_tmppath}/%{name}-buildroot
    1.22  %{py_requires}
    1.23 +BuildRequires:  gcc pkg-config
    1.24  BuildRequires:  e2fsprogs-devel parted-devel python-devel
    1.25 -%if %suse_version > 1000
    1.26 -BuildRequires:  pkg-config
    1.27 -%else
    1.28 -BuildRequires:  pkgconfig
    1.29 -%endif
    1.30  
    1.31  %description
    1.32 -Python interface to GNU parted.
    1.33 -
    1.34 -GNU Parted is a program for creating, destroying, resizing, checking,
    1.35 +Python-parted is the python interface to GNU Parted,
    1.36 +a program for creating, destroying, resizing, checking,
    1.37  and copying partitions, and the file systems on them.
    1.38  
    1.39 -Authors:
    1.40 ---------
    1.41 -    David Cantrell <dcantrell@redhat.com>
    1.42 -    Matt Wilson <msw@redhat.com>
    1.43 -    Jeremy Katz <katzj@redhat.com>
    1.44 -    Peter Jones <pjones@redhat.com>
    1.45 -    Chris Lumens <clumens@redhat.com>
    1.46 -
    1.47  %prep
    1.48  %setup -q -n %{modname}-%{version}
    1.49  
    1.50  %build
    1.51  export CFLAGS="$RPM_OPT_FLAGS"
    1.52 -%if %suse_version < 1030
    1.53 -%configure ||:
    1.54 -cat config.log
    1.55 -%endif
    1.56 -make
    1.57 +%configure
    1.58 +make %{?_smp_mflags}
    1.59  
    1.60  %install
    1.61  %makeinstall
    1.62 @@ -54,10 +34,13 @@
    1.63  %files
    1.64  %defattr(-,root,root)
    1.65  %doc README COPYING AUTHORS ChangeLog
    1.66 -%{py_sitedir}/partedmodule.so
    1.67 +%{py_sitedir}/*
    1.68  
    1.69  %changelog
    1.70  
    1.71 +* Thu May 26 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 3.6-MSvB_1
    1.72 +- Update to 3.6
    1.73 +
    1.74  * Wed Jun 25 2008 - James Oakley <jfunk@funktronics.ca> - 1.8.9-1
    1.75  - Update to 1.8.9
    1.76  

mercurial