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

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

python-3.8.5 and related packages.

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