#%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define real_name sexy-python Name: python-sexy Version: 0.1.9 Release: 7%{?_dist_release} Summary: Python bindings to libsexy Summary(ja): libsexy の Python バインディング Group: System Environment/Libraries License: LGPL URL: http://www.chipx86.com/wiki/Libsexy Source0: http://releases.chipx86.com/libsexy/sexy-python/sexy-python-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libsexy-devel >= 0.1.10 BuildRequires: python-devel >= 2 BuildRequires: pygtk2-devel >= 2.8.0 BuildRequires: libxml2-devel Requires: libsexy >= 0.1.10 Vendor: Project Vine Distribution: Vine Linux %description sexy-python is a set of Python bindings around libsexy. %prep %setup -q -n %{real_name}-%{version} %build %configure --enable-docs make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc AUTHORS COPYING ChangeLog NEWS README %{python_sitearch}/gtk-2.0/sexy.so %{_datadir}/pygtk/2.0/defs/sexy.defs %changelog * Sun Jan 12 2014 Yoji TOYODA 0.1.9-7 - rebuild with VineSeed environment * Sun Feb 19 2012 Yoji TOYODA 0.1.9-6 - rebuild with python-2.7.2 * Sat Apr 16 2011 Shu KONNO 0.1.9-5 - rebuilt with rpm-4.8.1-3 * Tue Feb 02 2010 Shu KONNO 0.1.9-4 - rebuild with python-2.6 * Sat Jun 06 2009 Shu KONNO 0.1.9-3 - spec in utf-8 - chmod -x spec-file - use rpm macro: system python_sitearch * Wed Jul 23 2008 Shu KONNO 0.1.9-2 - rebuilt with python-2.5.2 * Wed Jun 11 2008 Daisuke SUZUKI 0.1.9-1 - initial build for Vine Linux * Mon Feb 18 2008 Fedora Release Engineering - 0.1.9-5 - Autorebuild for GCC 4.3 * Fri May 04 2007 Ha誰kel Gu辿mar - 0.1.9-4 - Rebuild on ppc64 * Sat Dec 23 2006 Jason L Tibbitts III - 0.1.9-3 - Rebuild with Python 2.5. * Thu Oct 26 2006 Ha誰kel Gu辿mar - 0.1.9-2 - fixed requires that asked libsexy-devel instead of libsexy. * Tue Oct 17 2006 Ha誰kel Gu辿mar - 0.1.9-1 - updated to 0.1.9, license file issue has been fixed upstream * Tue Sep 12 2006 Ha誰kel Gu辿mar - 0.1.8-5 - rebuild for FC6 * Thu Aug 17 2006 Ha誰kel Gu辿mar - 0.1.8-4 - Added quiet extraction of source tarball, some cleaning to the spec file * Sun Aug 13 2006 Ha誰kel Gu辿mar - 0.1.8-3 - fixed some rpmlint issues, add a patch to correct the license file * Fri May 26 2006 Ha誰kel Gu辿mar - 0.1.8-2 - Some cleaning to the spec file * Mon May 22 2006 Karl - 0.1.8-1 - First Packaging