diff --git a/.cvsignore b/.cvsignore index 4c1ea7f..48d33bb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ pycairo-0.1.3.tar.gz +pycairo-1.0.2.tar.gz diff --git a/pycairo.spec b/pycairo.spec index 59284d6..72b19af 100644 --- a/pycairo.spec +++ b/pycairo.spec @@ -1,6 +1,8 @@ +%define pyver %(python -c 'import sys ; print sys.version[:3]') + Summary: Python bindings for the cairo library Name: pycairo -Version: 0.1.3 +Version: 1.0.2 Release: 1 License: LGPL Group: Development/Languages @@ -9,11 +11,20 @@ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: python BuildRequires: cairo-devel python-devel -Requires: pygtk2 Requires: cairo %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 python-devel + +%description devel + +Headers for pycairo + %prep %setup -q @@ -35,10 +46,19 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc -%{_libdir}/python2.3/site-packages/cairo/ +%{_libdir}/python%{pyver}/site-packages/cairo/ +%files devel +%defattr(-,root,root,-) + +%{_libdir}/pkgconfig/pycairo.pc +%dir %{_includedir}/pycairo +%{_includedir}/pycairo/pycairo.h %changelog +* 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. diff --git a/sources b/sources index ec07f0a..268c01f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7e149a027dfa31b06e8c4df7f0087db9 pycairo-0.1.3.tar.gz +5bb6a202ebc3990712bced1da6dfb7a8 pycairo-1.0.2.tar.gz