%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: pycairo Summary: Python bindings for the cairo library Summary(ja): cairo ライブラリの Python バインディング Version: 1.8.10 Release: 3%{?_dist_release} Group: Development/Languages License: LGPLv2 URL: http://cairographics.org/pycairo Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cairo-devel >= 1.8.10 BuildRequires: python-devel >= 2.6 BuildRequires: pkgconfig Requires: cairo >= 1.8.10 %description Python bindings for the cairo library. %package devel Summary: Libraries and headers for pycairo Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: cairo-devel Requires: python-devel %description devel This package contains files required to build wrappers for cairo add-on libraries so that they interoperate with pycairo. %prep %setup -q %build %configure --disable-static %__make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %__make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING* INSTALL NEWS README %{python_sitearch}/cairo/ %files devel %defattr(-,root,root,-) %{_includedir}/pycairo/ %{_libdir}/pkgconfig/pycairo.pc %changelog * Sun Jan 12 2014 Yoji TOYODA 1.8.10-3 - rebuild with VineSeed environment * Wed Feb 15 2012 Yoji TOYODA 1.8.10-2 - rebuild with python-2.7.2 * Thu Sep 23 2010 Ryoichi INAGAKI 1.8.10-1 - new upstream release - built wirh rpm-4.8.1 * Fri Feb 12 2010 MATSUBAYASHI Kohji - 1.8.6-2 - rebuilt with gcc-4.4.3-3 on ppc * Tue Feb 02 2010 Daisuke SUZUKI 1.8.6-1 - build for python-2.6 * Sat Jan 17 2009 Ryoichi INAGAKI 1.8.2-1vl5 - new upstream release * Sun Jul 20 2008 Shu KONNO 1.4.12-1vl5 - rebuilt with python-2.5.2 - applied new versioning policy and spec in utf-8 * Sun Feb 24 2008 Ryoichi INAGAKI 1.4.12-0vl1 - new upstream release * Thu Apr 26 2007 Daisuke SUZUKI 1.4.0-0vl1 - initial build for Vine Linux * Thu Mar 15 2007 Matthew Barnes - 1.4.0-1.fc7 - Update to 1.4.0 * Mon Feb 05 2007 Matthew Barnes - 1.2.6-3.fc7 - Incorporate suggestions from package review (RH bug #226329). * Thu Dec 7 2006 Jeremy Katz - 1.2.6-2 - rebuild against python 2.5 * Tue Nov 28 2006 Matthew Barnes - 1.2.6-1.fc7 - Update to 1.2.6 - Clean up the spec file. * Sun Oct 15 2006 Matthew Barnes - 1.2.2-1 - Update to 1.2.2 * Wed Jul 12 2006 Jesse Keating - 1.2.0-1.1 - rebuild * Wed Jul 05 2006 John (J5) Palmieri - 1.2.0-1 - Update to upstream 1.2.0 * Mon Jul 3 2006 Jeremy Katz - 1.0.2-3 - require new enough cairo (#197457) * Mon Jun 05 2006 John (J5) Palmieri - 1.0.2-2 - add pkgconfig BR * Fri Feb 10 2006 Jesse Keating - 1.0.2-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.0.2-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Oct 26 2005 John (J5) Palmieri - 1.0.2-1 - Updated to latest and push into rawhide * Fri Dec 10 2004 Kristian H淡gsberg - 0.1.3-1 - Add python-devel build requires. * Wed Nov 24 2004 - - Initial build.