diff --git a/.cvsignore b/.cvsignore index 2a2a33b..c546b9e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -pycairo-1.2.2.tar.gz +pycairo-1.2.6.tar.gz diff --git a/pycairo.spec b/pycairo.spec index 72735d5..1789de3 100644 --- a/pycairo.spec +++ b/pycairo.spec @@ -1,21 +1,30 @@ -%define pyver %(python -c 'import sys ; print sys.version[:3]') +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +### Abstract ### -Summary: Python bindings for the cairo library Name: pycairo -Version: 1.2.2 +Version: 1.2.6 Release: 1%{?dist} License: LGPL Group: Development/Languages +Summary: Python bindings for the cairo library URL: http://cairographics.org/ -Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Source: %{name}-%{version}.tar.gz + +### Dependencies ### + +Requires: cairo >= 1.2.6 + +### Build Dependencies ### + BuildRequires: python BuildRequires: cairo-devel BuildRequires: python-devel BuildRequires: pkgconfig -Requires: cairo >= 1.1.10 + %description -Python bindings for the cairo library +Python bindings for the cairo library. %package devel Summary: Libraries and headers for pycairo @@ -24,15 +33,14 @@ Requires: %name = %{version}-%{release} Requires: cairo-devel python-devel %description devel - -Headers for pycairo +This package contains files required to build wrappers for cairo add-on +libraries so that they interoperate with pycairo. %prep %setup -q -%configure - %build +%configure make %install @@ -44,20 +52,22 @@ find $RPM_BUILD_ROOT -name '*.la' |xargs rm %clean rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root,-) %doc -%{_libdir}/python%{pyver}/site-packages/cairo/ +%{python_sitearch}/cairo/ %files devel %defattr(-,root,root,-) - -%{_libdir}/pkgconfig/pycairo.pc %dir %{_includedir}/pycairo +%{_libdir}/pkgconfig/pycairo.pc %{_includedir}/pycairo/pycairo.h %changelog +* 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 diff --git a/sources b/sources index 1346f5d..aa75a66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -83a2e06d9fc3530753701d580a18087e pycairo-1.2.2.tar.gz +166b04c4800c01aba1a6c8b14e87e0bc pycairo-1.2.6.tar.gz