python-parted/python-parted.spec

Fri, 27 May 2011 21:13:44 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 27 May 2011 21:13:44 +0200
changeset 16
37c0f50c8c7d
parent 14
bc3cd9a53ab5
permissions
-rw-r--r--

Import new package spec for introduction into repository.

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

mercurial