Created
October 14, 2013 22:14
-
-
Save jsocol/6983149 to your computer and use it in GitHub Desktop.
RPM spec for py2cairo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name: py2cairo | |
| Version: 1.10.0 | |
| Release: 1%{?dist} | |
| Summary: Python bindings for Cairo graphics library | |
| Group: Development/Libraries | |
| License: MPL1.1 | |
| URL: http://cairographics.org | |
| Source0: http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2 | |
| BuildRequires: python >= 2.6, cairo-devel, cairo | |
| Requires: cairo | |
| %description | |
| Cairo is a 2D graphics library with support for multiple output devices | |
| %prep | |
| %setup -q | |
| %build | |
| ./waf configure \ | |
| --nocache \ | |
| --prefix=%{_prefix} \ | |
| --sysconfdir=%{_sysconfdir} \ | |
| --localstatedir=%{_localstatedir} \ | |
| --libdir=%{_libdir} \ | |
| --mandir=%{_mandir} | |
| ./waf build | |
| %install | |
| rm -rf %{buildroot} | |
| ./waf install -v --nocache --destdir=%{buildroot} | |
| %files | |
| %doc README AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 NEWS | |
| %{_includedir}/pycairo/pycairo.h | |
| %{_libdir}/pkgconfig/pycairo.pc | |
| %{python_sitearch}/cairo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment