auto-import pygobject2-2.10.1-2 on branch devel from
pygobject2-2.10.1-2.src.rpm
This commit is contained in:
parent
8e40d49ee1
commit
ae75c1bf92
@ -0,0 +1 @@
|
||||
pygobject-2.10.1.tar.bz2
|
||||
74
pygobject2.spec
Normal file
74
pygobject2.spec
Normal file
@ -0,0 +1,74 @@
|
||||
%define pyver %(python -c 'import sys ; print sys.version[:3]')
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_pytho\n_lib()")}
|
||||
|
||||
Summary: Python bindings for gobjects
|
||||
Name: pygobject2
|
||||
Version: 2.10.1
|
||||
Release: 2
|
||||
License: LGPL
|
||||
Group: Development/Languages
|
||||
URL: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.10/
|
||||
Source: pygobject-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: glib2 >= 2.8
|
||||
Requires: python2 >= 2.3.5
|
||||
Buildrequires: python2-devel >= 2.3.5
|
||||
Buildrequires: glib2-devel >= 2.8
|
||||
# needed for automake/autoconf to work right with multilib python
|
||||
Buildrequires: automake >= 1.6.3-5
|
||||
|
||||
%description
|
||||
Pygobjects is an extension module for python that gives you access to GLib's
|
||||
GObjects
|
||||
|
||||
%package devel
|
||||
Summary: files needed to build addon gobject libraries such as pygtk
|
||||
Group: Development/Languages
|
||||
Requires: pygobject2 = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains files required to build wrappers for gobject addon
|
||||
libraries such as pygtk
|
||||
|
||||
%prep
|
||||
%setup -q -n pygobject-%{version}
|
||||
|
||||
%build
|
||||
%configure --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 examples/Makefile*
|
||||
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(644, root, root, 755)
|
||||
%doc AUTHORS NEWS README ChangeLog
|
||||
%doc examples
|
||||
|
||||
%dir %{_libdir}/python%{pyver}/site-packages/gtk-2.0
|
||||
%{_libdir}/python%{pyver}/site-packages/gtk-2.0/dsextras.py*
|
||||
%{_libdir}/python%{pyver}/site-packages/pygtk*
|
||||
|
||||
%defattr(755, root, root, 755)
|
||||
%{_libdir}/python?.?/site-packages/gtk-2.0/gobject.so
|
||||
|
||||
%files devel
|
||||
%defattr(644, root, root, 755)
|
||||
%dir %{_prefix}/include/pygtk-2.0
|
||||
%{_prefix}/include/pygtk-2.0/*.h
|
||||
%{_libdir}/pkgconfig/pygobject-2.0.pc
|
||||
|
||||
%changelog
|
||||
* Fri May 19 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-2
|
||||
- Cleanup
|
||||
* Fri May 12 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-1
|
||||
- Initial package
|
||||
Loading…
Reference in New Issue
Block a user