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