package created using the webbuild interface [release 0.3-1mamba;Tue Jun 09 2015]
This commit is contained in:
parent
2cb657fb8a
commit
3d4e3736fe
@ -1,2 +1,4 @@
|
|||||||
# python-svg2rlg
|
# python-svg2rlg
|
||||||
|
|
||||||
|
Convert SVG to Reportlab drawing.
|
||||||
|
|
||||||
|
46
python-svg2rlg.spec
Normal file
46
python-svg2rlg.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
Name: python-svg2rlg
|
||||||
|
Version: 0.3
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Convert SVG to Reportlab drawing
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
|
URL: http://code.google.com/p/svg2rlg/
|
||||||
|
Source: https://pypi.python.org/packages/source/s/svg2rlg/svg2rlg-%{version}.tar.gz
|
||||||
|
License: BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
Requires: python >= %python_version
|
||||||
|
Requires: python-reportlab
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n svg2rlg-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jun 09 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user