nautilus-actions-vl.spec 5.9 KB

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