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

Revision 7119, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.2

RevLine 
[4713]1Name: pygobject3
2Summary: Python bindings for GObject Introspection
3Summary(ja): GObject Introspection の Python バインディング
[7119]4Version: 3.4.2
[6011]5Release: 1%{?_dist_release}
[4713]6
7Group: Development/Languages
8License: LGPL
9URL: http://www.pygtk.org/
10
[6890]11Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.4/pygobject-%{version}.tar.xz
[4713]12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: glib2-devel >= 2.26.0
15BuildRequires: python-devel >= 2.6
16BuildRequires: libffi-devel
17BuildRequires: libtool, automake
18BuildRequires: gobject-introspection-devel >= 0.9.8
19BuildRequires: pycairo-devel >= 1.8.10
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: Takemikaduchi
24
25%description
26pygobject provides a convenient wrapper for the GObject library
27for use in Python programs.
28
29%package devel
30Summary: Development files for building add-on libraries
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33#Requires: pygobject-doc = %{version}-%{release}
34Requires: glib2-devel
35Requires: libffi-devel
36Requires: pkgconfig
37
38%description devel
39This package contains files required to build wrappers for
40pygobject-based libraries such as pygtk2.
41
42%package doc
43Summary: Documentation files for pygobject
44Group: Documentation
45BuildArch: noarch
46
47%description doc
48This package contains documentation files for pygobject.
49
50%prep
51%setup -q -n pygobject-%{version}
52
53%build
54# --disable-docs doesn't work; it builds the docs anyway.
55%configure \
56    --enable-silent-rules \
57    --disable-static \
[4812]58    --enable-thread
[4713]59export tagname=CC
60make LIBTOOL=/usr/bin/libtool
61
62%install
63rm -rf $RPM_BUILD_ROOT
64export tagname=CC
65make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
[6951]66
[4713]67find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
68rm -f examples/Makefile*
69
70# conflict with pygobject
71rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0
72rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject
73
74%clean
75rm -fr $RPM_BUILD_ROOT
76
77%files
78%defattr(644, root, root, 755)
79%doc AUTHORS NEWS README ChangeLog
80%doc examples
81%{_libdir}/libpyglib-gi-2.0-python.so.*
[6951]82%{python_sitearch}/*.egg-info
[4713]83%{python_sitearch}/gi
84
85%files devel
86%defattr(644, root, root, 755)
87%{_includedir}/pygobject-3.0/pygobject.h
88%{_libdir}/libpyglib-gi-2.0-python.so
89%{_libdir}/pkgconfig/pygobject-3.0.pc
90
91%files doc
92%defattr(644, root, root, 755)
93
94%changelog
[7119]95* Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
96- new upstream release
97
[6951]98* Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1.1-1
99- new upstream release
100
[6890]101* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
102- new upstream release
103
[6201]104* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
105- new upstream release
106
[6011]107* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
108- new upstream release
109
[5701]110* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2
111- rebuild with python-2.7.2
112
[5651]113* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
114- new upstream release
115
[5094]116* Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
117- new upstream release
118
[4872]119* Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
120- new upstream release
121
[4812]122* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
123- new upstream release
124
[4713]125* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1
126- initial build for Vine Linux
127
Note: See TracBrowser for help on using the repository browser.