nautilus-actions-vl.spec 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. Summary: Nautilus extension for customizing the context menu
  2. Summary(ja): コンテキストメニューをカスタマイズするための Nautilus 拡張
  3. Name: nautilus-actions
  4. Version: 3.1.5
  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.xz
  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: gtk3-devel
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: intltool >= 0.35.5
  19. BuildRequires: libgnomeui-devel
  20. BuildRequires: libglade2-devel
  21. BuildRequires: libgtop2-devel >= 2.23.1
  22. BuildRequires: libSM-devel
  23. BuildRequires: libxml2-devel
  24. BuildRequires: nautilus-devel
  25. BuildRequires: perl-XML-Parser
  26. BuildRequires: pkgconfig
  27. BuildRequires: unique3-devel
  28. BuildRequires: gnome-doc-utils >= 0.3.2
  29. BuildRequires: libuuid-devel
  30. Requires(pre): GConf2
  31. Requires(preun):GConf2
  32. Requires: ksh
  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 --disable-schemas-install --with-gtk=3
  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-3.0/libnautilus-actions-menu.la
  61. rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-3.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. --add-category Utility \
  73. %{buildroot}%{_datadir}/applications/nact.desktop
  74. %find_lang %{name}
  75. %clean
  76. rm -rf %{buildroot}
  77. %post
  78. /sbin/ldconfig
  79. touch --no-create %{_datadir}/icons/hicolor || :
  80. %postun
  81. /sbin/ldconfig
  82. if [ $1 -eq 0 ] ; then
  83. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  84. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  85. fi
  86. %posttrans
  87. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  88. %files -f %{name}.lang
  89. %defattr(-,root,root,-)
  90. %doc AUTHORS COPYING ChangeLog README TODO
  91. %{_bindir}/nautilus-actions-*
  92. %{_libexecdir}/nautilus-actions/*
  93. %{_libdir}/nautilus-actions/libna*.so
  94. %{_libdir}/nautilus/extensions-3.0/libnautilus-actions-menu.so
  95. %{_libdir}/nautilus/extensions-3.0/libnautilus-actions-tracker.so
  96. %{_datadir}/%{name}/
  97. %{_datadir}/icons/hicolor/*/apps/nautilus-actions.*
  98. %{_datadir}/applications/vine-nact.desktop
  99. #%{_datadir}/gnome/help/%{name}*
  100. #%{_datadir}/gtk-doc/*
  101. #%{_datadir}/omf/*
  102. %files devel
  103. %defattr(-,root,root,-)
  104. %{_includedir}/%{name}/
  105. %changelog
  106. * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.1.5-1
  107. - new upstream release
  108. - changed source archive type
  109. - disabled conditional branch in BuildRequires
  110. - added BuildRequires: unique3-devel
  111. - added Requires: ksh
  112. - added %configure option --with-gtk=3
  113. - fixed %%files
  114. * Thu Jan 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.7-1
  115. - new upstream release
  116. * Thu Jan 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.6-1
  117. - new upstream release
  118. * Thu Jan 6 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.5-1
  119. - new upstream release
  120. - deleted unrecognized configure option (--enable-commandline-tool)
  121. * Wed Dec 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-2
  122. - add BuildRequires: gnome-doc-utils
  123. - remove Release tag (devel package)
  124. * Thu Dec 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.3-1
  125. - new upstream release
  126. * Sun Dec 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.2-1
  127. - new upstream release
  128. * Wed Oct 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0-1
  129. - new upstream release
  130. - cleaned up spec
  131. - changed URL
  132. - changed source0 URL
  133. - added and arranged BuildRequires
  134. - BuildRequires: desktop-file-utils
  135. - BuildRequires: e2fsprogs-devel
  136. - BuildRequires: gettext
  137. - BuildRequires: glib2-devel >= 2.16.0
  138. - BuildRequires: gtk2-devel >= 2.12.0
  139. - BuildRequires: dbus-glib-devel
  140. - BuildRequires: intltool >= 0.35.5
  141. - BuildRequires: libgnomeui-devel
  142. - BuildRequires: libglade2-devel
  143. - BuildRequires: libgtop2-devel >= 2.23.1
  144. - BuildRequires: libSM-devel
  145. - BuildRequires: libxml2-devel
  146. - BuildRequires: nautilus-devel
  147. - BuildRequires: perl-XML-Parser
  148. - BuildRequires: pkgconfig
  149. - BuildRequires: unique-devel
  150. - splitted -devel package
  151. - changed desktop-file-install action
  152. - added --remove-category FileManager
  153. - changed --add-category GNOME to GTK
  154. - run gtk-update-icon-cache on %%posttrans
  155. * Tue Jun 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.30.3-1
  156. - new upstream release
  157. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.2-1
  158. - new upstream release
  159. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1
  160. - new upstream release
  161. - add BuildRequires: libSM-devel
  162. * Tue Feb 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.3-1
  163. - new upstream release
  164. * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-3
  165. - BuildRequires: libuuid-devel enabled VineSeed, disabled Stable
  166. (Because VineSeed provide libuuid-* packages, but Stable don't provide now)
  167. * Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-2
  168. - added BuildRequires: libuuid-devel, unique-devel (see [BTS:VineLinux:0893])
  169. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-1vl5
  170. - new upstream release
  171. - added --disable-schemas-install in cofigure option
  172. * Sun Aug 2 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.11.2-1vl5
  173. - new upstream release
  174. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.10.1-1vl5
  175. - new upstream release
  176. - changed Source0 URL
  177. - dropt Patch0
  178. * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20090508-1vl5
  179. - updated Source0
  180. - imported Patch0 from fedora
  181. - added Description -l ja
  182. - spec in UTF-8
  183. * Mon Apr 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.9-0.20081020-1vl5
  184. - initial build for VineSeed
  185. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-0.4.svn20081020
  186. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  187. * Thu Oct 23 2008 Deji Akingunola <dakingun@gmail.com> - 1.9-0.3.svn20081020
  188. - Update to a svn snapshot to fix bug #450988
  189. * Sat May 17 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-4
  190. - Fix the nautilus-extension directory
  191. * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 1.4.1-3
  192. - Rebuild for gcc43
  193. * Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  194. - Update the Source url
  195. - Rebuild
  196. * Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-2
  197. - License tag update
  198. * Thu May 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.4.1-1
  199. - New (bug-fix) release
  200. * Wed Sep 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-4
  201. - Fix issue with nautilus-action-config, bug #205967
  202. * Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-3
  203. - Rebuild for FC6
  204. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-2
  205. - Requires nautilus-devel instead of just nautilus to build
  206. * Tue Aug 22 2006 Deji Akingunola <dakingun@gmail.com> - 1.4-1
  207. - Update to version 1.4
  208. * Tue May 30 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-2
  209. - Add gettext and perl(XML::Parser) to BRs
  210. * Mon May 01 2006 Deji Akingunola <dakingun@gmail.com> - 1.2-1
  211. - Update to version 1.2
  212. - Make sure fix for upgrade from ver. < 1.0 doesn't throw up errors
  213. * Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-2
  214. - Rebuild for Fedora Extras 5
  215. * Wed Feb 8 2006 Deji Akingunola <dakingun@gmail.com> - 1.0-1
  216. - New upstream version
  217. - Do away with gconf schemas installation
  218. * Mon Jan 2 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-6
  219. - Add nautilus extensions dir to configure arguments
  220. * Sun Jan 1 2006 Deji Akingunola <dakingun@gmail.com> - 0.99-5
  221. - Remove libXdmcp-devel as BR, nautilus now takkes care of it
  222. * Sun Dec 18 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-4
  223. - Remove libSM-devel from build require as libgnomeui now build-requires
  224. - Add libXdmcp-devel to the build requires
  225. * Tue Nov 29 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-2
  226. - Remove unnecesary configure options
  227. - Clean-up the desktop file installation
  228. - Add e2fsprogs-devel buildrequire and remove explicit require on nautilus
  229. * Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.99-1
  230. - initial Extras release