nautilus-python-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Name: nautilus-python
  2. Version: 0.7.0
  3. Release: 2%{?_dist_release}
  4. Summary: Python bindings for Nautilus
  5. Summary(ja): Nautilus 用の python バインディング
  6. Group: Development/Libraries
  7. License: GPLv2+
  8. URL: http://www.gnome.org/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
  10. #Patch0: %{name}-0.5.1-gnome-vfs.patch
  11. #Patch1: 50_CVE-2009-0317.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: autoconf
  14. BuildRequires: automake
  15. BuildRequires: libtool
  16. BuildRequires: python-devel
  17. BuildRequires: nautilus-devel
  18. BuildRequires: gnome-vfs2-devel
  19. BuildRequires: gnome-python-devel >= 2.0
  20. BuildRequires: gtk2-devel
  21. BuildRequires: pygtk2-devel
  22. BuildRequires: libffi-devel
  23. Requires: nautilus
  24. Packager: kazutaka
  25. %description
  26. Python bindings for Nautilus
  27. %description -l ja
  28. Nautilus 用の python バインディングです。
  29. %package devel
  30. Summary: Development files for nautilus-python
  31. Summary(ja): Nautilus-python の開発用ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. %description devel
  36. Development files for nautilus-python.
  37. %description
  38. Nautilus-python の開発用ファイルです。
  39. %prep
  40. %setup -q
  41. #%patch0 -p1 -b .gnome-vfs
  42. #%patch1 -p1
  43. #autoreconf -ivf
  44. #%{__rm} -rf autom4te.cache
  45. %build
  46. %configure
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. mv $RPM_BUILD_ROOT/%{_docdir}/%{name} installed_docs
  52. rm $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.la
  53. rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
  54. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/python/
  55. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/nautilus-python/extensions
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files
  61. %defattr(-,root,root,-)
  62. %doc README AUTHORS COPYING NEWS
  63. %{_libdir}/%{name}
  64. %{_libdir}/nautilus/extensions-2.0/lib%{name}.*
  65. %dir %{_libdir}/nautilus/extensions-2.0/python/
  66. %dir %{_datadir}/nautilus-python/extensions
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %doc installed_docs/examples
  70. %{_libdir}/pkgconfig/%{name}.pc
  71. %changelog
  72. * Fri Jul 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.7.0-2
  73. - add BuildRequires: gtk2-devel
  74. - add %%dir %%{_datadir}/nautilus-python/extensions
  75. (to support noarch extensions)
  76. * Sun May 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.0-1
  77. - new upstream release
  78. - deleted duplicate BuildRequires: nautilus-devel
  79. - deleted installed_docs/documentation.py in -devel package
  80. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-3
  81. - rebuild with GNOME-2.30
  82. - change BuildRequires: eel2-devel -> nautilus-devel
  83. * Sun Feb 07 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6.1-2
  84. - dropt Patch0 (source)
  85. * Sun Feb 07 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6.1-1
  86. - new upstream release
  87. - dropt Patch0,1
  88. - disabled autoreconf to build
  89. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.1-3
  90. - rebuild with python-2.6
  91. * Thu Oct 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.1-2
  92. - added Patch1 to fix CVE-2009-0317 from Debian
  93. - fixed BuildRoot
  94. - added BuildRequires: libffi-devel
  95. * Fri May 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-1
  96. - initial build for Vine Linux based on fedora development
  97. - add japanese summary & description
  98. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  100. * Fri Dec 19 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.5.1-3
  101. - Patch to fix build (thanks to Nicholas Wourms)
  102. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5.1-2
  103. - Rebuild for Python 2.6
  104. * Wed Sep 24 2008 Trond Danielsen <trondd@fedoraproject.org> - 0.5.1-1
  105. - New upstream version
  106. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.3-6
  107. - fix license tag
  108. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.3-5
  109. - Autorebuild for GCC 4.3
  110. * Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-4
  111. - Added missing folder. Fixes bug #238591.
  112. * Sat Apr 21 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-3
  113. - Moved example code to devel package.
  114. * Thu Apr 19 2007 Jef Spaleta <jspaleta@gmail.com> - 0.4.3-2
  115. - Package review corrections
  116. * Wed Apr 04 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-1
  117. - Initial version