1
0
Kyrill Detinov 2011-11-24 19:01:18 +00:00 committed by Git OBS Bridge
parent 53bf4b7285
commit 8364bc15d2

View File

@ -22,7 +22,7 @@ License: GPL-2.0
Summary: Python Support for the DjVu Image Format 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 Group: Development/Libraries/Python
Source0: http://pypi.python.org/packages/source/p/python-djvulibre/%{name}-%{version}.tar.gz Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRequires: graphviz BuildRequires: graphviz
BuildRequires: graphviz-gnome BuildRequires: graphviz-gnome
BuildRequires: libdjvulibre-devel BuildRequires: libdjvulibre-devel
@ -62,9 +62,9 @@ python setup.py build_sphinx
%install %install
python setup.py install \ python setup.py install \
--root=%{buildroot} \ --root=%{buildroot} \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--record-rpm=INSTALLED_FILES --record-rpm=INSTALLED_FILES
install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_images install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_images
install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_static install -dm 0755 %{buildroot}%{_defaultdocdir}/%{name}-doc/_static
install -m 0644 build/sphinx/html/{*.html,*.js} \ install -m 0644 build/sphinx/html/{*.html,*.js} \