Accepting request 54009 from home:thomas-schraitle:calibre
New package OBS-URL: https://build.opensuse.org/request/show/54009 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-odfpy?expand=0&rev=1
This commit is contained in:
commit
0ed2083ecb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
odfpy-0.9.2.tar.bz2
Normal file
3
odfpy-0.9.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0cebe9208f625fcd9782fdcafcce22dc7a523ecf78b20c0716d8ada87a10ce8a
|
||||||
|
size 381113
|
23
python-odfpy.changes
Normal file
23
python-odfpy.changes
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 27 07:33:21 UTC 2010 - toms@suse.de
|
||||||
|
|
||||||
|
- Added .changes file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 17 00:00:00 UTC 2010 - cfarrell1980@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.9.2
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 03 00:00:00 UTC 2009 - cfarrell1980@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.9.1
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 12 00:00:00 UTC 2008 - cfarrell1980@gmail.com
|
||||||
|
|
||||||
|
- Initial import and build.
|
||||||
|
- darix suggested to use perl to gather the man files.
|
||||||
|
|
80
python-odfpy.spec
Normal file
80
python-odfpy.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-odfpy
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 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
|
||||||
|
|
||||||
|
|
||||||
|
%define real_name odfpy
|
||||||
|
#
|
||||||
|
#
|
||||||
|
Name: python-%{real_name}
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Version: 0.9.2
|
||||||
|
Release: 1
|
||||||
|
License: dual license(GPLv2+|ASLv2.0)
|
||||||
|
Summary: Tools and Python API for manipulating OASIS ODF documents
|
||||||
|
Autoreqprov: on
|
||||||
|
Source: %{real_name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl python python-setuptools
|
||||||
|
%if 0%{?suse_version} >= 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
Url: http://opendocumentfellowship.com/projects/odfpy
|
||||||
|
# Packager: Ciaran Farrell <cfarrell1980@googlemail.com>
|
||||||
|
%{py_requires}
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
XML format. The main focus has been to prevent the programmer from creating
|
||||||
|
invalid documents. It has checks that raise an exception if the programmer
|
||||||
|
adds an invalid element, adds an attribute unknown to the grammar, forgets
|
||||||
|
to add a required attribute or adds text to an element that doesn't allow it.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n %{real_name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||||||
|
perl -p -i -e 's|(.*/man/.*)|${1}*|g' INSTALLED_FILES
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -f INSTALLED_FILES
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user