From 37c0658b3098e32deef93456d1dd67aa99e2d229 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 6 Mar 2017 23:22:50 +0100 Subject: [PATCH] Re-enable file-roller nautilus extension --- file-roller.spec | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/file-roller.spec b/file-roller.spec index 932f6fc..307e06a 100644 --- a/file-roller.spec +++ b/file-roller.spec @@ -15,6 +15,7 @@ BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(libnotify) BuildRequires: file-devel BuildRequires: gettext @@ -44,13 +45,19 @@ Requires: /usr/bin/zip Requires: glib2 >= 2.45.4-2 Requires: desktop-file-utils >= 0.22-6 -# Removed in F25 -Obsoletes: file-roller-nautilus < 3.21.91 - %description File Roller is an application for creating and viewing archives files, such as tar or zip files. +%package nautilus +Summary: File Roller extension for nautilus +Requires: %{name}%{_isa} = %{version}-%{release} + +%description nautilus +This package contains the file-roller extension for the nautilus file manager. +It adds an item to the nautilus context menu that lets you compress files +or directories. + %prep %setup -q %patch0 -p1 @@ -58,6 +65,7 @@ such as tar or zip files. %build %configure \ --disable-static \ + --enable-nautilus-actions \ --enable-packagekit make V=1 %{?_smp_mflags} @@ -65,6 +73,8 @@ make V=1 %{?_smp_mflags} %install %make_install +find $RPM_BUILD_ROOT -name '*.la' -delete + %find_lang %{name} --with-gnome @@ -100,9 +110,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml %{_datadir}/GConf/gsettings/file-roller.convert +%files nautilus +%{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so + %changelog * Mon Mar 06 2017 Kalev Lember - 3.23.91-1 - Update to 3.23.91 +- Re-enable file-roller nautilus extension * Mon Feb 27 2017 Kalev Lember - 3.22.3-1 - Update to 3.22.3