commit bea61824e29db539c048820ad36c68fd0d49f8b419d20485af515d920b115f7d Author: Thomas Schraitle Date: Mon Sep 19 06:33:45 2011 +0000 Accepting request 83007 from home:Lazy_Kent please add python-djvulibre OBS-URL: https://build.opensuse.org/request/show/83007 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djvulibre?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-djvulibre-0.3.3.tar.gz b/python-djvulibre-0.3.3.tar.gz new file mode 100644 index 0000000..38859a0 --- /dev/null +++ b/python-djvulibre-0.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:905e05fa4b6ee733cc66f9989b5d16dd828a7761489c4da5f30c65a4fb44dbc5 +size 119209 diff --git a/python-djvulibre.changes b/python-djvulibre.changes new file mode 100644 index 0000000..4fdd856 --- /dev/null +++ b/python-djvulibre.changes @@ -0,0 +1,37 @@ +------------------------------------------------------------------- +Fri Sep 9 11:54:36 UTC 2011 - lazy.kent@opensuse.org + +- Fixed build dependencies (cython -> Cython). +- Corrected License tag. +- Use full URL as a source. + +------------------------------------------------------------------- +Wed Apr 13 23:55:38 UTC 2011 - lazy.kent@opensuse.org + +- Update to 0.3.3. + + Fix test suite compatibility with Python 3. + +------------------------------------------------------------------- +Sat Nov 20 18:55:34 UTC 2010 - lazy.kent.suse@gmail.com + +- Update to 0.3.1. + + Fix encoding issues with djvu.decode.ErrorMessage. + +------------------------------------------------------------------- +Fri Oct 29 07:22:41 UTC 2010 - lazy.kent.suse@gmail.com + +- Update to 0.3.0. + + Add support for Python 3. +- BuildRequires python-setuptools. + +------------------------------------------------------------------- +Sat Jun 26 09:27:45 UTC 2010 - lazy.kent.suse@gmail.com + +- Update to 0.1.18. + + Fix handling of non-ASCII metadata. + +------------------------------------------------------------------- +Tue Apr 6 15:57:26 UTC 2010 - lazy.kent.suse@gmail.com + +- Initial package created - 0.1.17. + diff --git a/python-djvulibre.spec b/python-djvulibre.spec new file mode 100644 index 0000000..0027a0d --- /dev/null +++ b/python-djvulibre.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-djvulibre (Version 0.3.3) +# +# Copyright (c) 2010, 2011 Kyrill Detinov +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# + +Name: python-djvulibre +Version: 0.3.3 +Release: 0 +License: GPL-2.0 +Summary: Python Support for the DjVu Image Format +URL: http://jwilk.net/software/python-djvulibre +Group: Development/Libraries/Python +Source0: http://pypi.python.org/packages/source/p/python-djvulibre/%{name}-%{version}.tar.gz +BuildRequires: libdjvulibre-devel +BuildRequires: pkg-config +BuildRequires: python-Cython +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +%py_requires + +%description +python-djvulibre is a set of Python bindings for the DjVuLibre library, +an open source implementation of DjVu. + + + +Authors: +-------- + Jakub Wilk + +%prep +%setup -q + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +%__python setup.py build + +%install +%__python setup.py install \ + --root=%{buildroot} \ + --prefix=%{_prefix} \ + --record-rpm=INSTALLED_FILES + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f INSTALLED_FILES +%defattr(-,root,root,-) +%doc doc/changelog examples + +%changelog