nautilus-actions-vl.spec 8.2 KB

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