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

Revision 6201, 3.0 KB checked in by Takemikaduchi, 12 years ago (diff)

gnome-themes: fix Vine theme
metacity: fix theme
others: new upstream release

Line 
1Name: pygobject3
2Summary: Python bindings for GObject Introspection
3Summary(ja): GObject Introspection の Python バインディング
4Version: 3.2.2
5Release: 1%{?_dist_release}
6
7Group: Development/Languages
8License: LGPL
9URL: http://www.pygtk.org/
10
11Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.2/pygobject-%{version}.tar.xz
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 \
58    --enable-thread
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
66find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
67
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.*
82%{python_sitearch}/gi
83
84%files devel
85%defattr(644, root, root, 755)
86%{_includedir}/pygobject-3.0/pygobject.h
87%{_libdir}/libpyglib-gi-2.0-python.so
88%{_libdir}/pkgconfig/pygobject-3.0.pc
89
90%files doc
91%defattr(644, root, root, 755)
92
93%changelog
94* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
95- new upstream release
96
97* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
98- new upstream release
99
100* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2
101- rebuild with python-2.7.2
102
103* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
104- new upstream release
105
106* Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
107- new upstream release
108
109* Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
110- new upstream release
111
112* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
113- new upstream release
114
115* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1
116- initial build for Vine Linux
117
Note: See TracBrowser for help on using the repository browser.