forked from pool/python-djvulibre
update to 0.3.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djvulibre?expand=0&rev=2
This commit is contained in:
parent
bea61824e2
commit
eaa2bf6d6e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:905e05fa4b6ee733cc66f9989b5d16dd828a7761489c4da5f30c65a4fb44dbc5
|
||||
size 119209
|
3
python-djvulibre-0.3.4.tar.gz
Normal file
3
python-djvulibre-0.3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3733903f6d8eadeda68ea993f04d91d16cfc9a545ff6dee55f9c0c5098cb514d
|
||||
size 119594
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 22 17:28:05 UTC 2011 - lazy.kent@opensuse.org
|
||||
|
||||
- Update to 0.3.4.
|
||||
+ Fix compatibility with Python 3.X (broken in 0.3.3).
|
||||
+ Update various external documentation URLs.
|
||||
- Build requires python-distribute instead of python-setuptools in
|
||||
openSUSE >= 12.1.
|
||||
- Build doc package. Build requires python-sphinx, graphviz and
|
||||
graphviz-gnome.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 11:54:36 UTC 2011 - lazy.kent@opensuse.org
|
||||
|
||||
|
@ -1,55 +1,89 @@
|
||||
#
|
||||
# spec file for package python-djvulibre (Version 0.3.3)
|
||||
# spec file for package python-djvulibre
|
||||
#
|
||||
# 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.
|
||||
# Copyright (c) 2011 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/
|
||||
#
|
||||
|
||||
Name: python-djvulibre
|
||||
Version: 0.3.3
|
||||
Version: 0.3.4
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Python Support for the DjVu Image Format
|
||||
URL: http://jwilk.net/software/python-djvulibre
|
||||
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: graphviz
|
||||
BuildRequires: graphviz-gnome
|
||||
BuildRequires: libdjvulibre-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-Cython
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: python-distribute
|
||||
%else
|
||||
BuildRequires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
%endif
|
||||
# Starting openSUSE 12.1 the package name is python-Sphinx.
|
||||
BuildRequires: python-sphinx
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
python-djvulibre is a set of Python bindings for the DjVuLibre library,
|
||||
an open source implementation of DjVu.
|
||||
|
||||
%package doc
|
||||
Summary: Python Support for the DjVu Image Format (Documentation)
|
||||
Group: Documentation/HTML
|
||||
%if 0%{?suse_version} >= 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
python-djvulibre is a set of Python bindings for the DjVuLibre library,
|
||||
an open source implementation of DjVu.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jakub Wilk <jwilk@jwilk.net>
|
||||
This package contains technical documentation.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%__python setup.py build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
|
||||
%install
|
||||
%__python setup.py install \
|
||||
python setup.py install \
|
||||
--root=%{buildroot} \
|
||||
--prefix=%{_prefix} \
|
||||
--record-rpm=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_images
|
||||
install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_static
|
||||
install -m 0644 build/sphinx/html/{*.html,*.js} \
|
||||
%{buildroot}%{_defaultdocdir}/%{name}-doc
|
||||
install -m 0644 build/sphinx/html/_images/* \
|
||||
%{buildroot}%{_defaultdocdir}/%{name}-doc/_images
|
||||
install -m 0644 build/sphinx/html/_static/* \
|
||||
%{buildroot}%{_defaultdocdir}/%{name}-doc/_static
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/changelog examples
|
||||
%doc COPYING doc/changelog examples
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_defaultdocdir}/%{name}-doc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user