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