nautilus-python-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Name: nautilus-python
  2. Version: 0.7.3
  3. Release: 1%{?_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. * Tue May 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.3-1
  73. - new upstream release
  74. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.0-3
  75. - rebuilt with rpm-4.8.1 for pkg-config
  76. * Fri Jul 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.7.0-2
  77. - add BuildRequires: gtk2-devel
  78. - add %%dir %%{_datadir}/nautilus-python/extensions
  79. (to support arch-independent extensions)
  80. * Sun May 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.0-1
  81. - new upstream release
  82. - deleted duplicate BuildRequires: nautilus-devel
  83. - deleted installed_docs/documentation.py in -devel package
  84. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-3
  85. - rebuild with GNOME-2.30
  86. - change BuildRequires: eel2-devel -> nautilus-devel
  87. * Sun Feb 07 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6.1-2
  88. - dropt Patch0 (source)
  89. * Sun Feb 07 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.6.1-1
  90. - new upstream release
  91. - dropt Patch0,1
  92. - disabled autoreconf to build
  93. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.1-3
  94. - rebuild with python-2.6
  95. * Thu Oct 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.5.1-2
  96. - added Patch1 to fix CVE-2009-0317 from Debian
  97. - fixed BuildRoot
  98. - added BuildRequires: libffi-devel
  99. * Fri May 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.1-1
  100. - initial build for Vine Linux based on fedora development
  101. - add japanese summary & description
  102. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  104. * Fri Dec 19 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.5.1-3
  105. - Patch to fix build (thanks to Nicholas Wourms)
  106. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5.1-2
  107. - Rebuild for Python 2.6
  108. * Wed Sep 24 2008 Trond Danielsen <trondd@fedoraproject.org> - 0.5.1-1
  109. - New upstream version
  110. * Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.3-6
  111. - fix license tag
  112. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.3-5
  113. - Autorebuild for GCC 4.3
  114. * Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-4
  115. - Added missing folder. Fixes bug #238591.
  116. * Sat Apr 21 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-3
  117. - Moved example code to devel package.
  118. * Thu Apr 19 2007 Jef Spaleta <jspaleta@gmail.com> - 0.4.3-2
  119. - Package review corrections
  120. * Wed Apr 04 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.4.3-1
  121. - Initial version