|
@@ -1,12 +1,12 @@
|
|
|
Summary: Nautilus extension for customizing the context menu
|
|
|
Summary(ja): コンテキストメニューをカスタマイズするための Nautilus 拡張
|
|
|
Name: nautilus-actions
|
|
|
-Version: 3.0.7
|
|
|
+Version: 3.1.5
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: User Interface/Desktops
|
|
|
License: GPLv2+
|
|
|
URL: http://www.nautilus-actions.org/
|
|
|
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.0/%{name}-%{version}.tar.bz2
|
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.0/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
@@ -14,7 +14,8 @@ BuildRequires: desktop-file-utils
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
BuildRequires: gettext
|
|
|
BuildRequires: glib2-devel >= 2.16.0
|
|
|
-BuildRequires: gtk2-devel >= 2.12.0
|
|
|
+#BuildRequires: gtk2-devel >= 2.12.0
|
|
|
+BuildRequires: gtk3-devel
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
BuildRequires: intltool >= 0.35.5
|
|
|
BuildRequires: libgnomeui-devel
|
|
@@ -25,15 +26,13 @@ BuildRequires: libxml2-devel
|
|
|
BuildRequires: nautilus-devel
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
BuildRequires: pkgconfig
|
|
|
-BuildRequires: unique-devel
|
|
|
+BuildRequires: unique3-devel
|
|
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
|
|
-
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
BuildRequires: libuuid-devel
|
|
|
-%endif
|
|
|
|
|
|
Requires(pre): GConf2
|
|
|
Requires(preun):GConf2
|
|
|
+Requires: ksh
|
|
|
|
|
|
%description
|
|
|
Nautilus actions is an extension for Nautilus, the GNOME file manager.
|
|
@@ -62,7 +61,7 @@ with %{name}.
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure --disable-schemas-install
|
|
|
+%configure --disable-schemas-install --with-gtk=3
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
@@ -70,8 +69,8 @@ rm -rf %{buildroot}
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/nautilus-actions/*.la
|
|
|
-rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-menu.la
|
|
|
-rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-tracker.la
|
|
|
+rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-3.0/libnautilus-actions-menu.la
|
|
|
+rm -rf %{buildroot}/%{_libdir}/nautilus/extensions-3.0/libnautilus-actions-tracker.la
|
|
|
rm -rf %{buildroot}%{_datadir}/applications/fedora-nact.desktop
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
@@ -82,7 +81,8 @@ desktop-file-install --delete-original \
|
|
|
--remove-category AdvancedSettings \
|
|
|
--remove-category FileManager \
|
|
|
--add-category GTK \
|
|
|
- --add-category Settings \
|
|
|
+ --add-category Settings \
|
|
|
+ --add-category Utility \
|
|
|
%{buildroot}%{_datadir}/applications/nact.desktop
|
|
|
|
|
|
%find_lang %{name}
|
|
@@ -91,9 +91,11 @@ desktop-file-install --delete-original \
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%post
|
|
|
+/sbin/ldconfig
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
%postun
|
|
|
+/sbin/ldconfig
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
@@ -106,21 +108,31 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS COPYING ChangeLog README TODO
|
|
|
%{_bindir}/nautilus-actions-*
|
|
|
+%{_libexecdir}/nautilus-actions/*
|
|
|
%{_libdir}/nautilus-actions/libna*.so
|
|
|
-%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-menu.so
|
|
|
-%{_libdir}/nautilus/extensions-2.0/libnautilus-actions-tracker.so
|
|
|
+%{_libdir}/nautilus/extensions-3.0/libnautilus-actions-menu.so
|
|
|
+%{_libdir}/nautilus/extensions-3.0/libnautilus-actions-tracker.so
|
|
|
%{_datadir}/%{name}/
|
|
|
%{_datadir}/icons/hicolor/*/apps/nautilus-actions.*
|
|
|
%{_datadir}/applications/vine-nact.desktop
|
|
|
-%{_datadir}/gnome/help/%{name}*
|
|
|
-%{_datadir}/gtk-doc/*
|
|
|
-%{_datadir}/omf/*
|
|
|
+#%{_datadir}/gnome/help/%{name}*
|
|
|
+#%{_datadir}/gtk-doc/*
|
|
|
+#%{_datadir}/omf/*
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.1.5-1
|
|
|
+- new upstream release
|
|
|
+- changed source archive type
|
|
|
+- disabled conditional branch in BuildRequires
|
|
|
+- added BuildRequires: unique3-devel
|
|
|
+- added Requires: ksh
|
|
|
+- added %configure option --with-gtk=3
|
|
|
+- fixed %%files
|
|
|
+
|
|
|
* Thu Jan 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 3.0.7-1
|
|
|
- new upstream release
|
|
|
|