123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- %bcond_without python3
- Name: pycairo
- Summary: Python bindings for the cairo library
- Summary(ja): cairo ライブラリの Python バインディング
- Version: 1.20.0
- Release: 1%{?_dist_release}
- Group: programming
- License: LGPLv2
- URL: https://cairographics.org/pycairo
- Source: https://github.com/pygobject/pycairo/releases/download/v%{version}/pycairo-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: cairo-devel >= 1.8.10
- BuildRequires: pkgconfig
- Requires: cairo >= 1.8.10
- %description
- Python bindings for the cairo library.
- %if %{with python3}
- %package -n python3-pycairo
- Summary: Python3 bindings for the cairo library
- Summary(ja): cairo ライブラリの Python3 バインディング
- Group: programming
- BuildRequires: python3-devel
- BuildRequires: python3-setuptools
- BuildRequires: python3-rpm-macros
- %description -n python3-pycairo
- Python3 bindings for the cairo library.
- %package -n python3-pycairo-devel
- Summary: Libraries and headers for pycairo
- Group: programming
- Requires: python3-pycairo = %{version}-%{release}
- Requires: cairo-devel
- Requires: python3-devel
- %description -n python3-pycairo-devel
- This package contains files required to build wrappers for cairo add-on
- libraries so that they interoperate with pycairo.
- %endif
- %debug_package
- %prep
- %setup -q
- %build
- %if %{with python3}
- %py3_build
- %endif
- %install
- rm -rf $RPM_BUILD_ROOT
- %if %{with python3}
- %py3_install
- %endif
- find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
- %clean
- rm -rf $RPM_BUILD_ROOT
- %if %{with python3}
- %files -n python3-pycairo
- %defattr(-,root,root,-)
- %license COPYING*
- %doc NEWS README*
- %{python3_sitearch}/*
- %files -n python3-pycairo-devel
- %defattr(-,root,root,-)
- %dir %{_includedir}/pycairo/
- %{_includedir}/pycairo/py3cairo.h
- %{_libdir}/pkgconfig/py3cairo.pc
- %endif
- %changelog
- * Thu Apr 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.0-1
- - new upstream release.
- * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.19.1-1
- - new upstream release.
- - built with python3 only.
- * Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.2-1
- - new upstream release.
- * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3
- - rebuild with VineSeed environment
- * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-2
- - rebuild with python-2.7.2
- * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.10-1
- - new upstream release
- - built wirh rpm-4.8.1
- * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.6-2
- - rebuilt with gcc-4.4.3-3 on ppc
- * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1
- - build for python-2.6
- * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.2-1vl5
- - new upstream release
- * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 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 <ryo1@bc.wakwak.com> 1.4.12-0vl1
- - new upstream release
- * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
- - initial build for Vine Linux
- * Thu Mar 15 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-1.fc7
- - Update to 1.4.0
- * Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-3.fc7
- - Incorporate suggestions from package review (RH bug
- * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
- - rebuild against python 2.5
- * Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7
- - Update to 1.2.6
- - Clean up the spec file.
- * Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1
- - Update to 1.2.2
- * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1
- - rebuild
- * Wed Jul 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.2.0-1
- - Update to upstream 1.2.0
- * Mon Jul 3 2006 Jeremy Katz <katzj@redhat.com> - 1.0.2-3
- - require new enough cairo (#197457)
- * Mon Jun 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-2
- - add pkgconfig BR
- * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2.1
- - bump again for double-long bug on ppc(64)
- * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2
- - rebuilt for new gcc4.1 snapshot and glibc changes
- * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- - rebuilt
- * Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-1
- - Updated to latest and push into rawhide
- * Fri Dec 10 2004 Kristian H淡gsberg <krh@redhat.com> - 0.1.3-1
- - Add python-devel build requires.
- * Wed Nov 24 2004 <jrb@redhat.com> -
- - Initial build.
|