nautilus-actions-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. Summary: Nautilus extension for customizing the context menu
  2. Summary(ja): コンテキストメニューをカスタマイズするための Nautilus 拡張
  3. Name: nautilus-actions
  4. Version: 2.30.2
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://www.grumz.net/node/8
  9. #Source0: ftp://ftp2.grumz.net/grumz/%{name}-%{version}.tar.gz
  10. Source0: ftp://pwi.dyndns.biz/tarballs/%{name}/%{name}-%{version}.tar.bz2
  11. #Patch0: nact-gnome_vfs_workaround.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libgnomeui-devel, libglade2-devel, nautilus-devel
  14. BuildRequires: e2fsprogs-devel, gettext, perl-XML-Parser
  15. BuildRequires: unique-devel
  16. BuildRequires: libSM-devel
  17. %if %{?_dist_release} == "vl6"
  18. BuildRequires: libuuid-devel
  19. %endif
  20. BuildRequires: desktop-file-utils intltool
  21. Requires(pre): GConf2
  22. Requires(preun):GConf2
  23. %description
  24. Nautilus actions is an extension for Nautilus, the GNOME file manager.
  25. It provides an easy way to configure programs to be launch on files
  26. selected in Nautilus interface.
  27. %description -l ja
  28. Nautilus actions は、GNOME のファイルマネージャである Nautilus の機能拡張です。
  29. Nautilus のインターフェイスにて選択されたファイル上でプログラムを起動するための
  30. 簡単な設定方法を提供します。
  31. %prep
  32. %setup -q
  33. #%patch0 -p0 -b .fix
  34. %build
  35. %configure --enable-commandline-tool --disable-schemas-install
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf %{buildroot}
  39. make DESTDIR=%{buildroot} install
  40. rm -rf %{buildroot}/%{_libdir}/nautilus-actions/*.la
  41. rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-menu.la
  42. rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-tracker.la
  43. rm -rf %{buildroot}%{_datadir}/applications/fedora-nact.desktop
  44. desktop-file-install --delete-original \
  45. --vendor vine \
  46. --dir %{buildroot}%{_datadir}/applications \
  47. --mode 0644 \
  48. --remove-category Application \
  49. --remove-category AdvancedSettings \
  50. --add-category GNOME \
  51. --add-category Settings \
  52. %{buildroot}%{_datadir}/applications/nact.desktop
  53. %find_lang %{name}
  54. %clean
  55. rm -rf %{buildroot}
  56. %post
  57. touch --no-create %{_datadir}/icons/hicolor || :
  58. %postun
  59. if [ $1 -eq 0 ] ; then
  60. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  61. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  62. fi
  63. %files -f %{name}.lang
  64. %defattr(-,root,root,-)
  65. %doc AUTHORS COPYING ChangeLog README TODO
  66. %{_bindir}/nautilus-actions-*
  67. %{_libdir}/nautilus-actions/libna*.so
  68. %{_libdir}/nautilus/extensions-2.0/libnautilus-actions-menu.so
  69. %{_libdir}/nautilus/extensions-2.0/libnautilus-actions-tracker.so
  70. %{_datadir}/%{name}/
  71. %{_datadir}/icons/hicolor/*/apps/nautilus-actions.*
  72. %{_datadir}/applications/vine-nact.desktop
  73. %{_includedir}/nautilus-actions
  74. %changelog
  75. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  76. - new upstream release
  77. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  78. - new upstream release
  79. - add BuildRequires: libSM-devel
  80. * Tue Feb 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.3-1
  81. - new upstream release
  82. * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-3
  83. - BuildRequires: libuuid-devel enabled VineSeed, disabled Stable
  84. (Because VineSeed provide libuuid-* packages, but Stable don't provide now)
  85. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-2
  86. - added BuildRequires: libuuid-devel, unique-devel (see [BTS:VineLinux:0893])
  87. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-1vl5
  88. - new upstream release
  89. - added --disable-schemas-install in cofigure option
  90. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11.2-1vl5
  91. - new upstream release
  92. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1vl5
  93. - new upstream release
  94. - changed Source0 URL
  95. - dropt Patch0
  96. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20090508-1vl5
  97. - updated Source0
  98. - imported Patch0 from fedora
  99. - added Description -l ja
  100. - spec in UTF-8
  101. * Mon Apr 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20081020-1vl5
  102. - initial build for VineSeed
  103. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-0.4.svn20081020
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  105. * Thu Oct 23 2008 Deji Akingunola <dakingun@gmail.com> - 1.9-0.3.svn20081020
  106. - Update to a svn snapshot to fix bug #450988
  107. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-4
  108. - Fix the nautilus-extension directory
  109. * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-3
  110. - Rebuild for gcc43
  111. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  112. - Update the Source url
  113. - Rebuild
  114. * Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  115. - License tag update
  116. * Thu May 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-1
  117. - New (bug-fix) release
  118. * Wed Sep 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-4
  119. - Fix issue with nautilus-action-config, bug #205967
  120. * Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-3
  121. - Rebuild for FC6
  122. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-2
  123. - Requires nautilus-devel instead of just nautilus to build
  124. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-1
  125. - Update to version 1.4
  126. * Tue May 30 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-2
  127. - Add gettext and perl(XML::Parser) to BRs
  128. * Mon May 01 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-1
  129. - Update to version 1.2
  130. - Make sure fix for upgrade from ver. < 1.0 doesn't throw up errors
  131. * Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-2
  132. - Rebuild for Fedora Extras 5
  133. * Wed Feb 8 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-1
  134. - New upstream version
  135. - Do away with gconf schemas installation
  136. * Mon Jan 2 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-6
  137. - Add nautilus extensions dir to configure arguments
  138. * Sun Jan 1 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-5
  139. - Remove libXdmcp-devel as BR, nautilus now takkes care of it
  140. * Sun Dec 18 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-4
  141. - Remove libSM-devel from build require as libgnomeui now build-requires
  142. - Add libXdmcp-devel to the build requires
  143. * Tue Nov 29 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-2
  144. - Remove unnecesary configure options
  145. - Clean-up the desktop file installation
  146. - Add e2fsprogs-devel buildrequire and remove explicit require on nautilus
  147. * Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-1
  148. - initial Extras release