2006-12-19 22:57:05 +01:00
#
2011-04-22 14:48:16 +02:00
# spec file for package file-roller
2006-12-19 22:57:05 +01:00
#
2021-04-15 15:17:23 +02:00
# Copyright (c) 2021 SUSE LLC
2006-12-19 22:57:05 +01:00
#
2008-08-18 00:05:55 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2018-09-27 14:49:41 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2006-12-19 22:57:05 +01:00
#
2012-02-20 10:23:46 +01:00
2006-12-19 22:57:05 +01:00
Name : file-roller
2021-05-03 16:46:15 +02:00
Version : 3.40.0
2011-12-21 05:57:28 +01:00
Release : 0
2009-09-03 18:35:46 +02:00
Summary : An Archive Manager for GNOME
2018-03-09 11:11:11 +01:00
License : GPL-2.0-or-later
2009-09-03 18:35:46 +02:00
Group : Productivity/Archiving/Compression
2018-07-23 14:53:56 +02:00
URL : https://wiki.gnome.org/Apps/FileRoller
2021-05-03 16:46:15 +02:00
Source0 : https://download.gnome.org/sources/file-roller/3.40/%{name} -%{version} .tar.xz
2012-07-21 17:18:32 +02:00
# PATCH-FIX-OPENSUSE file-roller-3.4-change-archiver-priority.patch bnc#767386 gankov@opensuse.org -- Give unzip a higher priority than 7z when unpackging zip files. Gives better results for non-latin charsets.
2012-07-21 17:12:19 +02:00
Patch0 : file-roller-3.4-change-archiver-priority.patch
2012-09-07 17:23:39 +02:00
# PATCH-FEATURE-OPENSUSE file-roller-pkg-match.patch bnc#696530 dimstar@opensuse.org -- List package match names for automatic installation using PK.
Patch1 : file-roller-pkg-match.patch
2017-12-20 16:49:40 +01:00
# PATCH-FIX-OPENSUSE file-roller-ignore-unrar-if-wrapper.patch bsc#1072118 mgorse@suse.com -- if unrar is a wrapper script for unar, then ignore it, and use unar instead.
Patch2 : file-roller-ignore-unrar-if-wrapper.patch
2011-04-22 14:48:57 +02:00
# Needed for directory ownership
2011-04-22 14:48:16 +02:00
BuildRequires : dbus-1
2011-05-26 23:51:34 +02:00
BuildRequires : fdupes
2012-11-14 17:14:51 +01:00
BuildRequires : file-devel
2020-04-18 00:41:42 +02:00
BuildRequires : meson >= 0.50
2018-03-09 11:11:11 +01:00
BuildRequires : pkgconfig
2012-09-07 17:23:39 +02:00
BuildRequires : yelp-tools
2020-04-18 00:41:42 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.38.0
2018-03-09 11:11:11 +01:00
BuildRequires : pkgconfig(gthread-2.0)
2020-04-18 00:41:42 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.22.0
2012-09-07 17:23:39 +02:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.14.0
BuildRequires : pkgconfig(libarchive) >= 3.0.0
2021-04-15 15:17:23 +02:00
BuildRequires : pkgconfig(libnautilus-extension)
2012-09-07 17:23:39 +02:00
BuildRequires : pkgconfig(libnotify) >= 0.4.3
2009-02-23 12:47:35 +01:00
# Formats that we likely want to support by default
2016-09-15 11:18:34 +02:00
Recommends: bzip2
Recommends: cpio
Recommends: gzip
2018-05-18 11:17:44 +02:00
Recommends: p7zip-full
2016-09-15 11:18:34 +02:00
Recommends: rpm
2017-09-11 14:35:00 +02:00
Recommends: unar
2016-09-15 11:18:34 +02:00
Recommends: unzip
2009-07-31 19:09:24 +02:00
Recommends: xz
2009-02-23 12:47:35 +01:00
Recommends: zip
# Additional formats that are supported
2013-09-29 18:55:36 +02:00
Suggests : lzip
Suggests : lzop
2009-02-23 12:47:35 +01:00
Suggests : rzip
Suggests : zoo
# FIXME: Formats for which we don't have packages. Some are free software that
# we could package.
2018-03-09 11:11:11 +01:00
#Suggests: lha
#Suggests: lrzip
2009-02-23 12:47:35 +01:00
#Suggests: arj
#Suggests: ncompress
#Suggests: rar
2012-09-07 17:23:39 +02:00
#Suggests: theunarchiver
2009-02-23 12:47:35 +01:00
#Suggests: unace
#Suggests: unalz
#Suggests: unstuff
2016-09-15 11:18:34 +02:00
DocDir: %{_defaultdocdir}
2006-12-19 22:57:05 +01:00
%description
2009-12-22 13:36:59 +01:00
File Roller is an archive manager for GNOME. With it, you can create
2006-12-19 22:57:05 +01:00
and modify archives, view the contents of an archive, view a file
2009-12-22 13:36:59 +01:00
contained in the archive, and extract files from the archive.
2006-12-19 22:57:05 +01:00
2021-04-15 15:17:23 +02:00
%package -n nautilus-file-roller
Summary : File-roller extension for Nautilus
Group : Productivity/Archiving/Compression
Requires : %{name} = %{version}
Requires : nautilus
%description -n nautilus-file-roller
File Roller is an archive manager for GNOME. With it, you can create
and modify archives, view the contents of an archive, view a file
contained in the archive, and extract files from the archive.
2007-08-09 18:51:31 +02:00
%lang_package
2016-09-15 11:18:34 +02:00
2006-12-19 22:57:05 +01:00
%prep
2020-04-18 00:41:42 +02:00
%autosetup -p1
2006-12-19 22:57:05 +01:00
%build
2018-03-09 11:11:11 +01:00
%meson \
2021-04-15 15:17:23 +02:00
-D notification=enabled \
-D libarchive=enabled \
2021-11-05 09:46:18 +01:00
%{nil}
2018-03-09 11:11:11 +01:00
%meson_build
2006-12-19 22:57:05 +01:00
%install
2018-03-09 11:11:11 +01:00
%meson_install
2011-02-13 22:05:45 +01:00
%find_lang %{name} %{?no_lang_C}
2018-03-09 11:11:11 +01:00
%fdupes %{buildroot} %{_datadir}
2007-08-03 00:13:19 +02:00
2011-04-22 14:48:16 +02:00
%files
2018-03-09 11:11:11 +01:00
%license COPYING
2020-04-18 00:41:42 +02:00
%doc AUTHORS NEWS
2007-01-16 00:10:11 +01:00
%{_bindir} /file-roller
2021-04-15 15:17:23 +02:00
%{_datadir} /file-roller/
2009-12-22 13:36:59 +01:00
%{_libexecdir} /file-roller/
2017-08-31 09:45:07 +02:00
%dir %{_datadir} /metainfo
%{_datadir} /metainfo/org.gnome.FileRoller.appdata.xml
2021-04-15 15:17:23 +02:00
%{_datadir} /icons/hicolor/*/apps/*
2007-01-16 00:10:11 +01:00
%{_datadir} /applications/*.desktop
2011-04-22 14:48:16 +02:00
%{_datadir} /dbus-1/services/org.gnome.FileRoller.service
2021-04-15 15:17:23 +02:00
%{_datadir} /dbus-1/services/org.gnome.ArchiveManager1.service
2012-09-07 17:23:39 +02:00
%doc %{_datadir} /help/C/%{name} /
2011-04-22 14:48:16 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
2021-04-15 15:17:23 +02:00
%files -n nautilus-file-roller
%{_libdir} /nautilus/extensions-3.0/libnautilus-fileroller.so
2009-12-22 13:36:59 +01:00
2012-09-07 17:23:39 +02:00
%files lang -f %{name}.lang
2007-12-21 10:23:03 +01:00
2007-03-09 01:44:34 +01:00
%changelog