Autobuild autoformatter for 57779

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-odfpy?expand=0&rev=2
This commit is contained in:
Lars Vogdt 2011-01-25 09:20:22 +00:00 committed by Git OBS Bridge
parent 0466bb8032
commit 7ff70e1047

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-odfpy # spec file for package python-odfpy
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -11,22 +11,23 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
#
#norootforbuild # norootforbuild
%define real_name odfpy %define real_name odfpy
# #
# #
Name: python-%{real_name} Name: python-%{real_name}
Group: Development/Libraries/Python Group: Development/Libraries/Python
Version: 0.9.2 Version: 0.9.2
Release: 1 Release: 1
License: dual license(GPLv2+|ASLv2.0) License: dual license(GPLv2+ | ASLv2.0)
Summary: Tools and Python API for manipulating OASIS ODF documents Summary: Tools and Python API for manipulating OASIS ODF documents
Autoreqprov: on AutoReqProv: on
Source: %{real_name}-%{version}.tar.bz2 Source: %{real_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl python python-setuptools BuildRequires: perl python python-setuptools
@ -37,7 +38,6 @@ Url: http://opendocumentfellowship.com/projects/odfpy
# Packager: Ciaran Farrell <cfarrell1980@googlemail.com> # Packager: Ciaran Farrell <cfarrell1980@googlemail.com>
%{py_requires} %{py_requires}
%description %description
odfpy aims to be a complete API for OpenDocument in Python. Unlike other more odfpy aims to be a complete API for OpenDocument in Python. Unlike other more
convenient APIs, this one is essentially an abstraction layer just above the convenient APIs, this one is essentially an abstraction layer just above the
@ -57,24 +57,10 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
perl -p -i -e 's|(.*/man/.*)|${1}*|g' INSTALLED_FILES perl -p -i -e 's|(.*/man/.*)|${1}*|g' INSTALLED_FILES
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES %files -f INSTALLED_FILES
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Wed Feb 17 2010 - cfarrell1980@gmail.com
- Update to 0.9.2
* Tue Nov 03 2009 - cfarrell1980@gmail.com
- Update to 0.9.1
* Tue Aug 12 2008 - cfarrell
- Initial import and build.
- darix suggested to use perl to gather the man files.