nautilus-python-vl.spec 4.4 KB

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