source: projects/specs/trunk/p/pycairo/pycairo-vl.spec @ 12376

Revision 12376, 5.0 KB checked in by tomop, 4 years ago (diff)

updated 19 packages

g-wrap-1.9.15-2

gjs-1.54.3-2

glib2-2.64.2-2

gobject-introspection-1.64.1-1

guile-2.2.7-1

guile20-2.0.14-5

hardinfo-0.5.1-4

llvm-10.0.0-2

libffi-3.3-1

libffi321-3.2.1-1

p11-kit-0.23.20-2

pycairo-1.18.2-1

pygobject-2.28.6-7

pygobject3-3.34.0-1

python-cffi-1.14.0-1

python-2.7.17-1

python3-3.5.9-1

ruby-2.6.6-2

uim-1.8.8-3

Line 
1%bcond_without python2
2%bcond_without python3
3
4%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
5
6Name: pycairo
7Summary: Python bindings for the cairo library
8Summary(ja): cairo ライブラリの Python バインディング
9Version: 1.18.2
10Release: 1%{?_dist_release}
11
12Group: Development/Languages
13License: LGPLv2
14URL: http://cairographics.org/pycairo
15
16Source: pycairo-%{version}.tar.gz
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: cairo-devel >= 1.8.10
20%if %{with python2}
21BuildRequires: python-devel >= 2.6
22BuildRequires: python-setuptools
23BuildRequires: python-rpm-macros
24%endif
25BuildRequires: pkgconfig
26Requires: cairo >= 1.8.10
27
28%description
29Python bindings for the cairo library.
30
31%if %{with python2}
32%package devel
33Summary: Libraries and headers for pycairo
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: cairo-devel
37Requires: python-devel
38
39%description devel
40This package contains files required to build wrappers for cairo add-on
41libraries so that they interoperate with pycairo.
42%endif
43
44
45%if %{with python3}
46%package -n python3-pycairo
47Summary: Python3 bindings for the cairo library
48Summary(ja): cairo ライブラリの Python3 バインディング
49BuildRequires: python3-devel
50BuildRequires: python3-setuptools
51BuildRequires: python3-rpm-macros
52
53%description -n python3-pycairo
54Python3 bindings for the cairo library.
55
56
57%package -n python3-pycairo-devel
58Summary: Libraries and headers for pycairo
59Group: Development/Libraries
60Requires: python3-pycairo = %{version}-%{release}
61Requires: cairo-devel
62Requires: python3-devel
63
64%description -n python3-pycairo-devel
65This package contains files required to build wrappers for cairo add-on
66libraries so that they interoperate with pycairo.
67%endif
68
69
70%prep
71%setup -q
72
73%build
74%if %{with python2}
75%py_build
76%endif
77%if %{with python3}
78%py3_build
79%endif
80
81
82%install
83rm -rf $RPM_BUILD_ROOT
84%if %{with python2}
85%py_install
86%endif
87%if %{with python3}
88%py3_install
89%endif
90
91find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
92
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97
98%if %{with python2}
99%files
100%defattr(-,root,root,-)
101%license COPYING*
102%doc NEWS README*
103%{python_sitearch}/*
104
105%files devel
106%defattr(-,root,root,-)
107%dir %{_includedir}/pycairo/
108%{_includedir}/pycairo/pycairo.h
109%{_libdir}/pkgconfig/pycairo.pc
110%endif
111
112%if %{with python3}
113%files -n python3-pycairo
114%defattr(-,root,root,-)
115%license COPYING*
116%doc NEWS README*
117%{python3_sitearch}/*
118
119%files -n python3-pycairo-devel
120%defattr(-,root,root,-)
121%dir %{_includedir}/pycairo/
122%{_includedir}/pycairo/py3cairo.h
123%{_libdir}/pkgconfig/py3cairo.pc
124%endif
125
126
127%changelog
128* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.2-1
129- new upstream release.
130
131* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3
132- rebuild with VineSeed environment
133
134* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-2
135- rebuild with python-2.7.2
136
137* Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.10-1
138- new upstream release
139- built wirh rpm-4.8.1
140
141* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.6-2
142- rebuilt with gcc-4.4.3-3 on ppc
143
144* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1
145- build for python-2.6
146
147* Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.2-1vl5
148- new upstream release
149
150* Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.12-1vl5
151- rebuilt with python-2.5.2
152- applied new versioning policy and spec in utf-8
153
154* Sun Feb 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1
155- new upstream release
156
157* Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
158- initial build for Vine Linux
159
160* Thu Mar 15 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-1.fc7
161- Update to 1.4.0
162
163* Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-3.fc7
164- Incorporate suggestions from package review (RH bug #226329).
165
166* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
167- rebuild against python 2.5
168
169* Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7
170- Update to 1.2.6
171- Clean up the spec file.
172
173* Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1
174- Update to 1.2.2
175
176* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1
177- rebuild
178
179* Wed Jul 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.2.0-1
180- Update to upstream 1.2.0
181
182* Mon Jul  3 2006 Jeremy Katz <katzj@redhat.com> - 1.0.2-3
183- require new enough cairo (#197457)
184
185* Mon Jun 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-2
186- add pkgconfig BR
187
188* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2.1
189- bump again for double-long bug on ppc(64)
190
191* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2
192- rebuilt for new gcc4.1 snapshot and glibc changes
193
194* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
195- rebuilt
196
197* Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-1
198- Updated to latest and push into rawhide
199
200* Fri Dec 10 2004 Kristian H淡gsberg <krh@redhat.com> - 0.1.3-1
201- Add python-devel build requires.
202
203* Wed Nov 24 2004  <jrb@redhat.com> -
204- Initial build.
205
Note: See TracBrowser for help on using the repository browser.