nautilus-actions-vl.spec 8.3 KB

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