12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- %{!?python3_sitearch: %define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
- Name: python3-pygobject
- Summary: Python3 bindings for GObject Introspection
- Summary(ja): GObject Introspection の Python3 バインディング
- Version: 3.12.2
- Release: 1%{?_dist_release}
- Group: Development/Languages
- License: LGPL
- URL: http://www.pygtk.org/
- Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.12/pygobject-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: glib2-devel >= 2.26.0
- BuildRequires: python3-devel >= 3.3
- BuildRequires: libffi-devel
- BuildRequires: libtool, automake
- BuildRequires: gobject-introspection-devel >= 0.9.8
- BuildRequires: python3-pycairo-devel >= 1.10.0
- Requires: python3 >= 3.3
- Obsoletes: %{name}-devel < 3.12.0
- Obsoletes: %{name}-doc < 3.10.0
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- pygobject provides a convenient wrapper for the GObject library
- for use in Python programs.
- %prep
- %setup -q -n pygobject-%{version}
- %build
- %configure \
- --enable-silent-rules \
- --disable-static \
- --enable-thread
- export tagname=CC
- make LIBTOOL=/usr/bin/libtool
- %install
- rm -rf $RPM_BUILD_ROOT
- export tagname=CC
- make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
- find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
- rm -f examples/Makefile*
- rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0
- rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject
- rm -f $RPM_BUILD_ROOT%{_includedir}/pygobject-3.0/pygobject.h
- rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pygobject-3.0.pc
- %clean
- rm -fr $RPM_BUILD_ROOT
- %files
- %defattr(644, root, root, 755)
- %doc AUTHORS NEWS README ChangeLog
- %{python3_sitearch}/pygtkcompat
- %{python3_sitearch}/*.egg-info
- %{python3_sitearch}/gi
- %changelog
- * Fri Jun 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
- - new upstream release
- * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
- - new upstream release
- * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
- - new upstream release
- - remove %%{name}-devel subpackage
- * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
- - new upstream release
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
- - initial build
|