nautilus-python-vl.spec 4.8 KB

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