nautilus-actions-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. Summary: Nautilus extension for customizing the context menu
  2. Summary(ja): コンテキストメニューをカスタマイズするための Nautilus 拡張
  3. Name: nautilus-actions
  4. Version: 3.0.3
  5. Release: 2%{?_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. BuildRequires: gnome-doc-utils >= 0.3.2
  28. %if %{?_dist_release} == "vl6"
  29. BuildRequires: libuuid-devel
  30. %endif
  31. Requires(pre): GConf2
  32. Requires(preun):GConf2
  33. %description
  34. Nautilus actions is an extension for Nautilus, the GNOME file manager.
  35. It provides an easy way to configure programs to be launch on files
  36. selected in Nautilus interface.
  37. %description -l ja
  38. Nautilus actions は、GNOME のファイルマネージャである Nautilus の機能拡張です。
  39. Nautilus のインターフェイスにて選択されたファイル上でプログラムを起動するための
  40. 簡単な設定方法を提供します。
  41. %package devel
  42. Summary: Development tools for the %{name}
  43. Summary(ja): %{name} の開発ツール
  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 Dec 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-2
  103. - add BuildRequires: gnome-doc-utils
  104. - remove Release tag (devel package)
  105. * Thu Dec 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.3-1
  106. - new upstream release
  107. * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.2-1
  108. - new upstream release
  109. * Wed Oct 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0-1
  110. - new upstream release
  111. - cleaned up spec
  112. - changed URL
  113. - changed source0 URL
  114. - added and arranged BuildRequires
  115. - BuildRequires: desktop-file-utils
  116. - BuildRequires: e2fsprogs-devel
  117. - BuildRequires: gettext
  118. - BuildRequires: glib2-devel >= 2.16.0
  119. - BuildRequires: gtk2-devel >= 2.12.0
  120. - BuildRequires: dbus-glib-devel
  121. - BuildRequires: intltool >= 0.35.5
  122. - BuildRequires: libgnomeui-devel
  123. - BuildRequires: libglade2-devel
  124. - BuildRequires: libgtop2-devel >= 2.23.1
  125. - BuildRequires: libSM-devel
  126. - BuildRequires: libxml2-devel
  127. - BuildRequires: nautilus-devel
  128. - BuildRequires: perl-XML-Parser
  129. - BuildRequires: pkgconfig
  130. - BuildRequires: unique-devel
  131. - splitted -devel package
  132. - changed desktop-file-install action
  133. - added --remove-category FileManager
  134. - changed --add-category GNOME to GTK
  135. - run gtk-update-icon-cache on %%posttrans
  136. * Tue Jun 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.30.3-1
  137. - new upstream release
  138. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  139. - new upstream release
  140. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  141. - new upstream release
  142. - add BuildRequires: libSM-devel
  143. * Tue Feb 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.3-1
  144. - new upstream release
  145. * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-3
  146. - BuildRequires: libuuid-devel enabled VineSeed, disabled Stable
  147. (Because VineSeed provide libuuid-* packages, but Stable don't provide now)
  148. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-2
  149. - added BuildRequires: libuuid-devel, unique-devel (see [BTS:VineLinux:0893])
  150. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-1vl5
  151. - new upstream release
  152. - added --disable-schemas-install in cofigure option
  153. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11.2-1vl5
  154. - new upstream release
  155. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1vl5
  156. - new upstream release
  157. - changed Source0 URL
  158. - dropt Patch0
  159. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20090508-1vl5
  160. - updated Source0
  161. - imported Patch0 from fedora
  162. - added Description -l ja
  163. - spec in UTF-8
  164. * Mon Apr 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20081020-1vl5
  165. - initial build for VineSeed
  166. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-0.4.svn20081020
  167. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  168. * Thu Oct 23 2008 Deji Akingunola <dakingun@gmail.com> - 1.9-0.3.svn20081020
  169. - Update to a svn snapshot to fix bug #450988
  170. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-4
  171. - Fix the nautilus-extension directory
  172. * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-3
  173. - Rebuild for gcc43
  174. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  175. - Update the Source url
  176. - Rebuild
  177. * Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  178. - License tag update
  179. * Thu May 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-1
  180. - New (bug-fix) release
  181. * Wed Sep 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-4
  182. - Fix issue with nautilus-action-config, bug #205967
  183. * Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-3
  184. - Rebuild for FC6
  185. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-2
  186. - Requires nautilus-devel instead of just nautilus to build
  187. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-1
  188. - Update to version 1.4
  189. * Tue May 30 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-2
  190. - Add gettext and perl(XML::Parser) to BRs
  191. * Mon May 01 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-1
  192. - Update to version 1.2
  193. - Make sure fix for upgrade from ver. < 1.0 doesn't throw up errors
  194. * Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-2
  195. - Rebuild for Fedora Extras 5
  196. * Wed Feb 8 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-1
  197. - New upstream version
  198. - Do away with gconf schemas installation
  199. * Mon Jan 2 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-6
  200. - Add nautilus extensions dir to configure arguments
  201. * Sun Jan 1 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-5
  202. - Remove libXdmcp-devel as BR, nautilus now takkes care of it
  203. * Sun Dec 18 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-4
  204. - Remove libSM-devel from build require as libgnomeui now build-requires
  205. - Add libXdmcp-devel to the build requires
  206. * Tue Nov 29 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-2
  207. - Remove unnecesary configure options
  208. - Clean-up the desktop file installation
  209. - Add e2fsprogs-devel buildrequire and remove explicit require on nautilus
  210. * Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-1
  211. - initial Extras release