nautilus-actions-vl.spec 9.3 KB

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