fepitre / rpms / pycairo

Forked from rpms/pycairo 3 years ago
Clone
948c29
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
948c29
948c29
Name: pycairo
948c29
Version: 1.8.10
c68017
Release: 8%{?dist}
948c29
License: MPLv1.1 or LGPLv2
948c29
Group: Development/Languages
948c29
Summary: Python bindings for the cairo library
948c29
URL: http://cairographics.org/pycairo
948c29
Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz
948c29
948c29
BuildRequires: cairo-devel
948c29
BuildRequires: pkgconfig
948c29
BuildRequires: python-devel
948c29
948c29
%description
948c29
Python bindings for the cairo library.
948c29
948c29
%package devel
948c29
Summary: Libraries and headers for pycairo
948c29
Group: Development/Libraries
948c29
Requires: %{name} = %{version}-%{release}
948c29
Requires: cairo-devel
948c29
Requires: pkgconfig
948c29
Requires: python-devel
948c29
948c29
%description devel
948c29
This package contains files required to build wrappers for cairo add-on
948c29
libraries so that they interoperate with pycairo.
948c29
948c29
%prep
948c29
%setup -q
948c29
948c29
%build
948c29
%configure
948c29
make %{?_smp_mflags}
948c29
948c29
%install
948c29
make DESTDIR=$RPM_BUILD_ROOT install
948c29
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
948c29
948c29
%files
948c29
%defattr(-,root,root,-)
948c29
%doc AUTHORS COPYING* INSTALL NEWS README
948c29
%doc examples doc/faq.rst doc/overview.rst doc/README
948c29
%{python_sitearch}/cairo/
948c29
948c29
%files devel
948c29
%defattr(-,root,root,-)
948c29
%{_includedir}/pycairo/
948c29
%{_libdir}/pkgconfig/pycairo.pc
948c29
948c29
%changelog
c68017
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.8.10-8
c68017
- Mass rebuild 2014-01-24
c68017
c68017
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.8.10-7
c68017
- Mass rebuild 2013-12-27
c68017
948c29
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-6
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
948c29
948c29
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-5
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
948c29
948c29
* Sun Feb 19 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.10-4
948c29
- Revert illegal package rename so it properly builds
948c29
- spec file cleanup
948c29
948c29
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-3
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
948c29
948c29
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-2
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
948c29
948c29
* Tue Sep 21 2010 Matthew Barnes <mbarnes@redhat.com> - 1.8.10-1
948c29
- Update to 1.8.10
948c29
- Rename the package to python-cairo.
948c29
948c29
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.8.8-2
948c29
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
948c29
948c29
* Fri Sep 18 2009 Matthew Barnes <mbarnes@redhat.com> - 1.8.8-1
948c29
- Update to 1.8.8
948c29
948c29
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.6-2
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
948c29
948c29
* Mon Jun 29 2009 Matthew Barnes <mbarnes@redhat.com> - 1.8.6-1
948c29
- Update to 1.8.6
948c29
948c29
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-2
948c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
948c29
948c29
* Fri Jan 16 2009 Matthew Barnes <mbarnes@redhat.com> - 1.8.2-1
948c29
- Update to 1.8.2
948c29
948c29
* Tue Dec 16 2008 Matthew Barnes <mbarnes@redhat.com> - 1.8.0-1
948c29
- Update to 1.8.0
948c29
948c29
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.4.12-5
948c29
- Rebuild for Python 2.6
948c29
948c29
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.12-4
948c29
- fix license tag
948c29
948c29
* Wed May 07 2008 Matthew Barnes <mbarnes@redhat.com> - 1.4.12-3
948c29
- Add more documentation files to the package (RH bug #445519).
948c29
948c29
* Sun Feb 17 2008 Matthew Barnes <mbarnes@redhat.com> - 1.4.12-2.fc9
948c29
- Rebuild with GCC 4.3
948c29
948c29
* Thu Dec 13 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.12-1.fc9
948c29
- Update to 1.4.12
948c29
- Bump cairo requirement to 1.4.12.
948c29
948c29
* Wed Oct 10 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-2.fc7
948c29
- Rebuild
948c29
948c29
* Thu Mar 15 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-1.fc7
948c29
- Update to 1.4.0
948c29
948c29
* Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-3.fc7
948c29
- Incorporate suggestions from package review (RH bug #226329).
948c29
948c29
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
948c29
- rebuild against python 2.5
948c29
948c29
* Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7
948c29
- Update to 1.2.6
948c29
- Clean up the spec file.
948c29
948c29
* Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1
948c29
- Update to 1.2.2
948c29
948c29
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1
948c29
- rebuild
948c29
948c29
* Wed Jul 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.2.0-1
948c29
- Update to upstream 1.2.0
948c29
948c29
* Mon Jul  3 2006 Jeremy Katz <katzj@redhat.com> - 1.0.2-3
948c29
- require new enough cairo (#197457)
948c29
948c29
* Mon Jun 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-2
948c29
- add pkgconfig BR
948c29
948c29
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2.1
948c29
- bump again for double-long bug on ppc(64)
948c29
948c29
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2
948c29
- rebuilt for new gcc4.1 snapshot and glibc changes
948c29
948c29
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
948c29
- rebuilt
948c29
948c29
* Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-1
948c29
- Updated to latest and push into rawhide
948c29
948c29
* Fri Dec 10 2004 Kristian Høgsberg <krh@redhat.com> - 0.1.3-1
948c29
- Add python-devel build requires.
948c29
948c29
* Wed Nov 24 2004  <jrb@redhat.com> - 
948c29
- Initial build.