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
This commit is contained in:
Thomas Schraitle 2011-09-19 06:33:45 +00:00 committed by Git OBS Bridge
commit bea61824e2
5 changed files with 119 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:905e05fa4b6ee733cc66f9989b5d16dd828a7761489c4da5f30c65a4fb44dbc5
size 119209

37
python-djvulibre.changes Normal file
View File

@ -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.

55
python-djvulibre.spec Normal file
View File

@ -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 <jwilk@jwilk.net>
%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