python-sexy-vl.spec 2.8 KB

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