1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | Name: pycairo |
---|
4 | Summary: Python bindings for the cairo library |
---|
5 | Summary(ja): cairo ライブラリの Python バインディング |
---|
6 | Version: 1.8.10 |
---|
7 | Release: 3%{?_dist_release} |
---|
8 | |
---|
9 | Group: Development/Languages |
---|
10 | License: LGPLv2 |
---|
11 | URL: http://cairographics.org/pycairo |
---|
12 | |
---|
13 | Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: cairo-devel >= 1.8.10 |
---|
17 | BuildRequires: python-devel >= 2.6 |
---|
18 | BuildRequires: pkgconfig |
---|
19 | Requires: cairo >= 1.8.10 |
---|
20 | |
---|
21 | %description |
---|
22 | Python bindings for the cairo library. |
---|
23 | |
---|
24 | %package devel |
---|
25 | Summary: Libraries and headers for pycairo |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name} = %{version}-%{release} |
---|
28 | Requires: cairo-devel |
---|
29 | Requires: python-devel |
---|
30 | |
---|
31 | %description devel |
---|
32 | This package contains files required to build wrappers for cairo add-on |
---|
33 | libraries so that they interoperate with pycairo. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --disable-static |
---|
40 | %__make %{?_smp_mflags} |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | %__make DESTDIR=$RPM_BUILD_ROOT install |
---|
45 | find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root,-) |
---|
52 | %doc AUTHORS COPYING* INSTALL NEWS README |
---|
53 | %{python_sitearch}/cairo/ |
---|
54 | |
---|
55 | %files devel |
---|
56 | %defattr(-,root,root,-) |
---|
57 | %{_includedir}/pycairo/ |
---|
58 | %{_libdir}/pkgconfig/pycairo.pc |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3 |
---|
62 | - rebuild with VineSeed environment |
---|
63 | |
---|
64 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-2 |
---|
65 | - rebuild with python-2.7.2 |
---|
66 | |
---|
67 | * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.10-1 |
---|
68 | - new upstream release |
---|
69 | - built wirh rpm-4.8.1 |
---|
70 | |
---|
71 | * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.6-2 |
---|
72 | - rebuilt with gcc-4.4.3-3 on ppc |
---|
73 | |
---|
74 | * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1 |
---|
75 | - build for python-2.6 |
---|
76 | |
---|
77 | * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.2-1vl5 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.12-1vl5 |
---|
81 | - rebuilt with python-2.5.2 |
---|
82 | - applied new versioning policy and spec in utf-8 |
---|
83 | |
---|
84 | * Sun Feb 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1 |
---|
88 | - initial build for Vine Linux |
---|
89 | |
---|
90 | * Thu Mar 15 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-1.fc7 |
---|
91 | - Update to 1.4.0 |
---|
92 | |
---|
93 | * Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-3.fc7 |
---|
94 | - Incorporate suggestions from package review (RH bug #226329). |
---|
95 | |
---|
96 | * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.6-2 |
---|
97 | - rebuild against python 2.5 |
---|
98 | |
---|
99 | * Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7 |
---|
100 | - Update to 1.2.6 |
---|
101 | - Clean up the spec file. |
---|
102 | |
---|
103 | * Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1 |
---|
104 | - Update to 1.2.2 |
---|
105 | |
---|
106 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1 |
---|
107 | - rebuild |
---|
108 | |
---|
109 | * Wed Jul 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.2.0-1 |
---|
110 | - Update to upstream 1.2.0 |
---|
111 | |
---|
112 | * Mon Jul 3 2006 Jeremy Katz <katzj@redhat.com> - 1.0.2-3 |
---|
113 | - require new enough cairo (#197457) |
---|
114 | |
---|
115 | * Mon Jun 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-2 |
---|
116 | - add pkgconfig BR |
---|
117 | |
---|
118 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2.1 |
---|
119 | - bump again for double-long bug on ppc(64) |
---|
120 | |
---|
121 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2 |
---|
122 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
123 | |
---|
124 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
125 | - rebuilt |
---|
126 | |
---|
127 | * Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-1 |
---|
128 | - Updated to latest and push into rawhide |
---|
129 | |
---|
130 | * Fri Dec 10 2004 Kristian H淡gsberg <krh@redhat.com> - 0.1.3-1 |
---|
131 | - Add python-devel build requires. |
---|
132 | |
---|
133 | * Wed Nov 24 2004 <jrb@redhat.com> - |
---|
134 | - Initial build. |
---|
135 | |
---|