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

Revision 12469, 4.3 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

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