python-sexy-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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: 7%{?_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. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. sexy-python is a set of Python bindings around libsexy.
  22. %prep
  23. %setup -q -n %{real_name}-%{version}
  24. %build
  25. %configure --enable-docs
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make DESTDIR=${RPM_BUILD_ROOT} install
  30. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-, root, root, -)
  35. %doc AUTHORS COPYING ChangeLog NEWS README
  36. %{python_sitearch}/gtk-2.0/sexy.so
  37. %{_datadir}/pygtk/2.0/defs/sexy.defs
  38. %changelog
  39. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.9-7
  40. - rebuild with VineSeed environment
  41. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.9-6
  42. - rebuild with python-2.7.2
  43. * Sat Apr 16 2011 Shu KONNO <owa@bg.wakwak.com> 0.1.9-5
  44. - rebuilt with rpm-4.8.1-3
  45. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.9-4
  46. - rebuild with python-2.6
  47. * Sat Jun 06 2009 Shu KONNO <owa@bg.wakwak.com> 0.1.9-3
  48. - spec in utf-8
  49. - chmod -x spec-file
  50. - use rpm macro: system python_sitearch
  51. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.1.9-2
  52. - rebuilt with python-2.5.2
  53. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.9-1
  54. - initial build for Vine Linux
  55. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.9-5
  56. - Autorebuild for GCC 4.3
  57. * Fri May 04 2007 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-4
  58. - Rebuild on ppc64
  59. * Sat Dec 23 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.1.9-3
  60. - Rebuild with Python 2.5.
  61. * Thu Oct 26 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-2
  62. - fixed requires that asked libsexy-devel instead of libsexy.
  63. * Tue Oct 17 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.9-1
  64. - updated to 0.1.9, license file issue has been fixed upstream
  65. * Tue Sep 12 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-5
  66. - rebuild for FC6
  67. * Thu Aug 17 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-4
  68. - Added quiet extraction of source tarball, some cleaning to the spec file
  69. * Sun Aug 13 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-3
  70. - fixed some rpmlint issues, add a patch to correct the license file
  71. * Fri May 26 2006 Ha誰kel Gu辿mar <karlthered@gmail.com> - 0.1.8-2
  72. - Some cleaning to the spec file
  73. * Mon May 22 2006 Karl <karlthered@gmail.com> - 0.1.8-1
  74. - First Packaging