[4713] | 1 | Name: pygobject3 |
---|
| 2 | Summary: Python bindings for GObject Introspection |
---|
| 3 | Summary(ja): GObject Introspection の Python バインディング |
---|
[6201] | 4 | Version: 3.2.2 |
---|
[6011] | 5 | Release: 1%{?_dist_release} |
---|
[4713] | 6 | |
---|
| 7 | Group: Development/Languages |
---|
| 8 | License: LGPL |
---|
| 9 | URL: http://www.pygtk.org/ |
---|
| 10 | |
---|
[6011] | 11 | Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.2/pygobject-%{version}.tar.xz |
---|
[4713] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: glib2-devel >= 2.26.0 |
---|
| 15 | BuildRequires: python-devel >= 2.6 |
---|
| 16 | BuildRequires: libffi-devel |
---|
| 17 | BuildRequires: libtool, automake |
---|
| 18 | BuildRequires: gobject-introspection-devel >= 0.9.8 |
---|
| 19 | BuildRequires: pycairo-devel >= 1.8.10 |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | pygobject provides a convenient wrapper for the GObject library |
---|
| 27 | for use in Python programs. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: Development files for building add-on libraries |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires: %{name} = %{version}-%{release} |
---|
| 33 | #Requires: pygobject-doc = %{version}-%{release} |
---|
| 34 | Requires: glib2-devel |
---|
| 35 | Requires: libffi-devel |
---|
| 36 | Requires: pkgconfig |
---|
| 37 | |
---|
| 38 | %description devel |
---|
| 39 | This package contains files required to build wrappers for |
---|
| 40 | pygobject-based libraries such as pygtk2. |
---|
| 41 | |
---|
| 42 | %package doc |
---|
| 43 | Summary: Documentation files for pygobject |
---|
| 44 | Group: Documentation |
---|
| 45 | BuildArch: noarch |
---|
| 46 | |
---|
| 47 | %description doc |
---|
| 48 | This 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] | 59 | export tagname=CC |
---|
| 60 | make LIBTOOL=/usr/bin/libtool |
---|
| 61 | |
---|
| 62 | %install |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | export tagname=CC |
---|
| 65 | make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install |
---|
| 66 | find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f |
---|
| 67 | |
---|
| 68 | rm -f examples/Makefile* |
---|
| 69 | |
---|
| 70 | # conflict with pygobject |
---|
| 71 | rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0 |
---|
| 72 | rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject |
---|
| 73 | |
---|
| 74 | %clean |
---|
| 75 | rm -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 |
---|
[6201] | 94 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[6011] | 97 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[5701] | 100 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2 |
---|
| 101 | - rebuild with python-2.7.2 |
---|
| 102 | |
---|
[5651] | 103 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[5094] | 106 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[4872] | 109 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[4812] | 112 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[4713] | 115 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1 |
---|
| 116 | - initial build for Vine Linux |
---|
| 117 | |
---|