nautilus-python-vl.spec 4.9 KB

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