Name: python-mate Version: 1.4.0 Release: 1%{?dist} Summary: MATE Desktop python bindings License: LGPLv2+ URL: http://mate-desktop.org Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz BuildRequires: mate-common mate-doc-utils gtk2-devel libcanberra-devel libmate-devel libmatecomponent-devel libmateui-devel mate-vfs-devel mate-conf-devel libmatecomponentui-devel python2-devel pygobject2-devel pygtk2-devel popt-devel Requires: desktop-file-utils Requires: mate-desktop Requires: mate-menus %description MATE Desktop menu editor %package devel Summary: MATE Desktop python bindings development files %description devel MATE Desktop python bindings development files %prep %setup -q NOCONFIGURE=1 ./autogen.sh %build %configure --with-gnu-ld \ --enable-mate \ --enable-mateui \ --enable-matecanvas \ --enable-matevfs \ --enable-matevfsmatecomponent \ --enable-pyvfsmodule \ --enable-mateconf \ --enable-matecomponent_activation \ --enable-matecomponent \ --enable-matecomponentui make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -rf {} ';' find %{buildroot} -name '*.a' -exec rm -rf {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING README %{python_sitearch}/gtk-2.0/mate %{python_sitearch}/gtk-2.0/matecomponent %{python_sitearch}/gtk-2.0/*.so %{python_sitearch}/gtk-2.0/matevfs %{_datadir}/gtk-doc/html/pymatevfs %{_datadir}/pygtk/2.0/argtypes/mate* %{_datadir}/pygtk/2.0/defs/mate %{_datadir}/pygtk/2.0/defs/*.defs %{_libdir}/mate-vfs-2.0/modules/libpythonmethod.so %files devel %{_includedir}/mate-python-2.0 %{_libdir}/pkgconfig/mate-python-2.0.pc %changelog * Sat Nov 10 2012 Dan Mashal 1.4.0-1 - Initial build