File python-distutils-extra.spec of Package python-distutils-extra

#
# spec file for package python-distutils-extra (Version 1.91.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           python-distutils-extra
Version:        1.91.2
Release:        1
Summary:        Distutils/Setuptools Adapter
Source:         https://launchpadlibrarian.net/12838568/python-distutils-extra_%{version}.tar.gz
Url:            https://launchpad.net/ubuntu/intrepid/+source/python-distutils-extra/
Group:          Development/Libraries/Python
License:        GNU General Public License version 2 (GPL v2)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel python-setuptools
%py_requires
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif

%description
This package adds support for common build additions to distutils. This
includes the follwing:

  * gettext/i18n
  * documentation
  * program icons

Authors:
--------
	Sebastian Heinlein <sebi@glatzor.de>

%prep
%setup -q -c "%{name}-%{version}"
%__rm -rf debian/debian
%__mv debian/* .

%build
%__python ./setup.py build

%install
%__python ./setup.py install --prefix="%{_prefix}" --root="%{buildroot}" \
			 --record-rpm=files.lst

%clean
%__rm -rf "%{buildroot}"

%files -f files.lst
%defattr(-,root,root)
%doc LICENSE doc/*

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
%changelog
openSUSE Build Service is sponsored by