forked from pool/python-djvulibre
spec formatting
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djvulibre?expand=0&rev=4
This commit is contained in:
parent
53bf4b7285
commit
8364bc15d2
@ -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} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user