|
@@ -1,26 +1,36 @@
|
|
|
Summary: Nautilus extension for customizing the context menu
|
|
|
Summary(ja): コンテキストメニューをカスタマイズするための Nautilus 拡張
|
|
|
Name: nautilus-actions
|
|
|
-Version: 2.30.3
|
|
|
+Version: 3.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: User Interface/Desktops
|
|
|
License: GPLv2+
|
|
|
-URL: http://www.grumz.net/node/8
|
|
|
-#Source0: ftp://ftp2.grumz.net/grumz/%{name}-%{version}.tar.gz
|
|
|
-Source0: ftp://pwi.dyndns.biz/tarballs/%{name}/%{name}-%{version}.tar.bz2
|
|
|
-#Patch0: nact-gnome_vfs_workaround.patch
|
|
|
+URL: http://www.nautilus-actions.org/
|
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.0/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: libgnomeui-devel, libglade2-devel, nautilus-devel
|
|
|
-BuildRequires: e2fsprogs-devel, gettext, perl-XML-Parser
|
|
|
-BuildRequires: unique-devel
|
|
|
-BuildRequires: libSM-devel
|
|
|
+
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
+BuildRequires: e2fsprogs-devel
|
|
|
+BuildRequires: gettext
|
|
|
+BuildRequires: glib2-devel >= 2.16.0
|
|
|
+BuildRequires: gtk2-devel >= 2.12.0
|
|
|
+BuildRequires: dbus-glib-devel
|
|
|
+BuildRequires: intltool >= 0.35.5
|
|
|
+BuildRequires: libgnomeui-devel
|
|
|
+BuildRequires: libglade2-devel
|
|
|
+BuildRequires: libgtop2-devel >= 2.23.1
|
|
|
+BuildRequires: libSM-devel
|
|
|
+BuildRequires: libxml2-devel
|
|
|
+BuildRequires: nautilus-devel
|
|
|
+BuildRequires: perl-XML-Parser
|
|
|
+BuildRequires: pkgconfig
|
|
|
+BuildRequires: unique-devel
|
|
|
|
|
|
%if %{?_dist_release} == "vl6"
|
|
|
BuildRequires: libuuid-devel
|
|
|
%endif
|
|
|
|
|
|
-BuildRequires: desktop-file-utils intltool
|
|
|
Requires(pre): GConf2
|
|
|
Requires(preun):GConf2
|
|
|
|
|
@@ -34,13 +44,26 @@ Nautilus actions は、GNOME のファイルマネージャである Nautilus
|
|
|
Nautilus のインターフェイスにて選択されたファイル上でプログラムを起動するための
|
|
|
簡単な設定方法を提供します。
|
|
|
|
|
|
+%package devel
|
|
|
+Summary: Development tools for the %{name}
|
|
|
+Summary(ja): %{name} の開発ツール
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+
|
|
|
+%description devel
|
|
|
+This package contains headers and shared libraries needed for development
|
|
|
+with %{name}.
|
|
|
+
|
|
|
+%description -l ja devel
|
|
|
+このパッケージは %{name} の開発に必要なヘッダと共有ライブラリを含みます。
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-#%patch0 -p0 -b .fix
|
|
|
|
|
|
%build
|
|
|
%configure --enable-commandline-tool --disable-schemas-install
|
|
|
-make %{?_smp_mflags}
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
@@ -57,7 +80,8 @@ desktop-file-install --delete-original \
|
|
|
--mode 0644 \
|
|
|
--remove-category Application \
|
|
|
--remove-category AdvancedSettings \
|
|
|
- --add-category GNOME \
|
|
|
+ --remove-category FileManager \
|
|
|
+ --add-category GTK \
|
|
|
--add-category Settings \
|
|
|
%{buildroot}%{_datadir}/applications/nact.desktop
|
|
|
|
|
@@ -75,6 +99,9 @@ if [ $1 -eq 0 ] ; then
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
fi
|
|
|
|
|
|
+%posttrans
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS COPYING ChangeLog README TODO
|
|
@@ -85,9 +112,43 @@ fi
|
|
|
%{_datadir}/%{name}/
|
|
|
%{_datadir}/icons/hicolor/*/apps/nautilus-actions.*
|
|
|
%{_datadir}/applications/vine-nact.desktop
|
|
|
-%{_includedir}/nautilus-actions
|
|
|
+%{_datadir}/gnome/help/%{name}*
|
|
|
+%{_datadir}/gtk-doc/*
|
|
|
+%{_datadir}/omf/*
|
|
|
+
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_includedir}/%{name}/
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Oct 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0-1
|
|
|
+- new upstream release
|
|
|
+- cleaned up spec
|
|
|
+- changed URL
|
|
|
+- changed source0 URL
|
|
|
+- added and arranged BuildRequires
|
|
|
+ - BuildRequires: desktop-file-utils
|
|
|
+ - BuildRequires: e2fsprogs-devel
|
|
|
+ - BuildRequires: gettext
|
|
|
+ - BuildRequires: glib2-devel >= 2.16.0
|
|
|
+ - BuildRequires: gtk2-devel >= 2.12.0
|
|
|
+ - BuildRequires: dbus-glib-devel
|
|
|
+ - BuildRequires: intltool >= 0.35.5
|
|
|
+ - BuildRequires: libgnomeui-devel
|
|
|
+ - BuildRequires: libglade2-devel
|
|
|
+ - BuildRequires: libgtop2-devel >= 2.23.1
|
|
|
+ - BuildRequires: libSM-devel
|
|
|
+ - BuildRequires: libxml2-devel
|
|
|
+ - BuildRequires: nautilus-devel
|
|
|
+ - BuildRequires: perl-XML-Parser
|
|
|
+ - BuildRequires: pkgconfig
|
|
|
+ - BuildRequires: unique-devel
|
|
|
+- splitted -devel package
|
|
|
+- changed desktop-file-install action
|
|
|
+ - added --remove-category FileManager
|
|
|
+ - changed --add-category GNOME to GTK
|
|
|
+- run gtk-update-icon-cache on %%posttrans
|
|
|
+
|
|
|
* Tue Jun 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.30.3-1
|
|
|
- new upstream release
|
|
|
|
|
@@ -103,10 +164,10 @@ fi
|
|
|
|
|
|
* Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-3
|
|
|
- BuildRequires: libuuid-devel enabled VineSeed, disabled Stable
|
|
|
- (Because VineSeed provide libuuid-* packages, but Stable don't provide now)
|
|
|
+ (Because VineSeed provide libuuid-* packages, but Stable don't provide now)
|
|
|
|
|
|
* Thu Jan 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-2
|
|
|
-- added BuildRequires: libuuid-devel, unique-devel (see [BTS:VineLinux:0893])
|
|
|
+- added BuildRequires: libuuid-devel, unique-devel (see [BTS:VineLinux:0893])
|
|
|
|
|
|
* Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.12.0-1vl5
|
|
|
- new upstream release
|