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

Revision 12376, 5.2 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
4Name: pygobject3
5Summary: Python bindings for GObject Introspection
6Summary(ja): GObject Introspection の Python バインディング
7Version: 3.34.0
8Release: 1%{?_dist_release}
9Group: Development/Languages
10Vendor: Project Vine
11Distribution: Vine Linux
12
13License: LGPL
14URL: https://pypi.org/project/PyGObject/
15%global shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//')
16Source: https://ftp.gnome.org/pub/GNOME/sources/pygobject/%{shortver}/pygobject-%{version}.tar.xz
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: glib2-devel >= 2.26.0
20BuildRequires: python-devel >= 2.6
21BuildRequires: libffi-devel
22BuildRequires: libtool, automake
23BuildRequires: gobject-introspection-devel >= 0.9.8
24%if %{with python2}
25BuildRequires: python-devel >= 2.6
26BuildRequires: python-setuptools
27BuildRequires: python-rpm-macros
28BuildRequires: pycairo-devel >= 1.8.10
29%endif
30
31Obsoletes:      %{name}-doc < 3.10.0
32
33%description
34pygobject provides a convenient wrapper for the GObject library
35for use in Python programs.
36
37
38%package devel
39Summary: Development files for building add-on libraries
40Group: Development/Libraries
41Provides: python3-pygobject-devel = %{version}-%{release}
42Requires: %{name} = %{version}-%{release}
43Requires: glib2-devel
44Requires: libffi-devel
45Requires: pkgconfig
46
47%description devel
48This package contains files required to build wrappers for
49pygobject-based libraries such as pygtk2.
50
51
52%if %{with python3}
53%package -n python3-pygobject
54Summary: Python3 bindings for GObject Introspection
55Summary(ja): GObject Introspection の Python3 バインディング
56BuildRequires: python3-devel
57BuildRequires: python3-setuptools
58BuildRequires: python3-rpm-macros
59BuildRequires: python3-pycairo-devel
60Obsoletes: python3-pygobject < 3.16.1
61
62%description -n python3-pygobject
63python3-pygobject provides a convenient wrapper for the GObject library
64for use in Python3 programs.
65%endif
66
67%prep
68%setup -q -n pygobject-%{version}
69
70
71%build
72%if %{with python2}
73%py_build
74%endif
75%if %{with python3}
76%py3_build
77%endif
78
79
80%install
81rm -rf $RPM_BUILD_ROOT
82%if %{with python2}
83%py_install
84%endif
85%if %{with python3}
86%py3_install
87%endif
88
89
90%clean
91rm -fr $RPM_BUILD_ROOT
92
93%if %{with python2}
94%files
95%defattr(-,root,root,-)
96%doc AUTHORS NEWS README ChangeLog
97%doc examples
98%{_libdir}/python2.7/site-packages/pygtkcompat
99%{python_sitearch}/*.egg-info
100%{python_sitearch}/gi
101%endif
102
103%files devel
104%defattr(-,root,root,-)
105%{_includedir}/pygobject-3.0/pygobject.h
106%{_libdir}/pkgconfig/pygobject-3.0.pc
107
108%if %{with python3}
109%files -n python3-pygobject
110%defattr(-,root,root,-)
111%doc AUTHORS NEWS README ChangeLog
112%{python3_sitearch}/pygtkcompat
113%{python3_sitearch}/*.egg-info
114%{python3_sitearch}/gi
115%endif
116
117
118%changelog
119* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.34.0-1
120- new upstream release.
121
122* Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
123- new upstream release
124
125* Thu Nov 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-2
126- fix spec file
127
128* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
129- new upstream release
130
131* Sun Jun 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
132- new upstream release
133
134* Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
135- new upstream release
136- create python3-pygobject subpackage
137
138* Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
139- new upstream release
140
141* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
142- new upstream release
143
144* Fri Jun 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
145- new upstream release
146
147* Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
148- new upstream release
149
150* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
151- new upstream release
152
153* Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
154- new upstream release
155
156* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
157- new upstream release
158- remove doc subpackage
159
160* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
161- new upstream release
162
163* Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
164- new upstream release
165
166* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
167- new upstream release
168
169* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
170- new upstream release
171
172* Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
173- new upstream release
174
175* Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1.1-1
176- new upstream release
177
178* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
179- new upstream release
180
181* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
182- new upstream release
183
184* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
185- new upstream release
186
187* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2
188- rebuild with python-2.7.2
189
190* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
191- new upstream release
192
193* Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
194- new upstream release
195
196* Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
197- new upstream release
198
199* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
200- new upstream release
201
202* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1
203- initial build for Vine Linux
204
Note: See TracBrowser for help on using the repository browser.