| [521] | 1 | #%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
|---|
| 2 | %define real_name sexy-python |
|---|
| 3 | Name: python-sexy |
|---|
| 4 | Version: 0.1.9 |
|---|
| [3509] | 5 | Release: 5%{?_dist_release} |
|---|
| [521] | 6 | |
|---|
| 7 | Summary: Python bindings to libsexy |
|---|
| 8 | Summary(ja): libsexy の Python バインディング |
|---|
| 9 | |
|---|
| 10 | Group: System Environment/Libraries |
|---|
| 11 | License: LGPL |
|---|
| 12 | URL: http://www.chipx86.com/wiki/Libsexy |
|---|
| 13 | Source0: http://releases.chipx86.com/libsexy/sexy-python/sexy-python-%{version}.tar.gz |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|---|
| 15 | |
|---|
| 16 | BuildRequires: libsexy-devel >= 0.1.10 |
|---|
| 17 | BuildRequires: python-devel >= 2 |
|---|
| 18 | BuildRequires: pygtk2-devel >= 2.8.0 |
|---|
| 19 | BuildRequires: libxml2-devel |
|---|
| 20 | Requires: libsexy >= 0.1.10 |
|---|
| [3509] | 21 | Vendor: Project Vine |
|---|
| 22 | Distribution: Vine Linux |
|---|
| [521] | 23 | |
|---|
| [3509] | 24 | |
|---|
| [521] | 25 | %description |
|---|
| 26 | sexy-python is a set of Python bindings around libsexy. |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | %prep |
|---|
| 30 | %setup -q -n %{real_name}-%{version} |
|---|
| 31 | |
|---|
| 32 | %build |
|---|
| 33 | %configure --enable-docs |
|---|
| 34 | make %{?_smp_mflags} |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %install |
|---|
| 38 | rm -rf $RPM_BUILD_ROOT |
|---|
| 39 | make DESTDIR=${RPM_BUILD_ROOT} install |
|---|
| 40 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | %clean |
|---|
| 44 | rm -rf $RPM_BUILD_ROOT |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | %files |
|---|
| 49 | %defattr(-, root, root, -) |
|---|
| 50 | %doc AUTHORS COPYING ChangeLog NEWS README |
|---|
| 51 | %{python_sitearch}/gtk-2.0/sexy.so |
|---|
| 52 | %{_datadir}/pygtk/2.0/defs/sexy.defs |
|---|
| 53 | |
|---|
| 54 | |
|---|
| [3509] | 55 | %changelog |
|---|
| 56 | * Sat Apr 16 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.9-5 |
|---|
| 57 | - rebuilt with rpm-4.8.1-3 |
|---|
| [521] | 58 | |
|---|
| 59 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.9-4 |
|---|
| 60 | - rebuild with python-2.6 |
|---|
| 61 | |
|---|
| 62 | * Sat Jun 06 2009 Shu KONNO <owa@bg.wakwak.com> 0.1.9-3 |
|---|
| 63 | - spec in utf-8 |
|---|
| 64 | - chmod -x spec-file |
|---|
| 65 | - use rpm macro: system python_sitearch |
|---|
| 66 | |
|---|
| 67 | * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.9-2 |
|---|
| 68 | - rebuilt with python-2.5.2 |
|---|
| 69 | |
|---|
| 70 | * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.9-1 |
|---|
| 71 | - initial build for Vine Linux |
|---|
| 72 | |
|---|
| 73 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.9-5 |
|---|
| 74 | - Autorebuild for GCC 4.3 |
|---|
| 75 | |
|---|
| 76 | * Fri May 04 2007 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-4 |
|---|
| 77 | - Rebuild on ppc64 |
|---|
| 78 | |
|---|
| 79 | * Sat Dec 23 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.1.9-3 |
|---|
| 80 | - Rebuild with Python 2.5. |
|---|
| 81 | |
|---|
| 82 | * Thu Oct 26 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-2 |
|---|
| 83 | - fixed requires that asked libsexy-devel instead of libsexy. |
|---|
| 84 | |
|---|
| 85 | * Tue Oct 17 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-1 |
|---|
| 86 | - updated to 0.1.9, license file issue has been fixed upstream |
|---|
| 87 | |
|---|
| 88 | * Tue Sep 12 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-5 |
|---|
| 89 | - rebuild for FC6 |
|---|
| 90 | |
|---|
| 91 | * Thu Aug 17 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-4 |
|---|
| 92 | - Added quiet extraction of source tarball, some cleaning to the spec file |
|---|
| 93 | |
|---|
| 94 | * Sun Aug 13 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-3 |
|---|
| 95 | - fixed some rpmlint issues, add a patch to correct the license file |
|---|
| 96 | |
|---|
| 97 | * Fri May 26 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-2 |
|---|
| 98 | - Some cleaning to the spec file |
|---|
| 99 | |
|---|
| 100 | * Mon May 22 2006 Karl <karlthered@gmail.com> - 0.1.8-1 |
|---|
| 101 | - First Packaging |
|---|