2006-12-19 21:57:05 +00:00
#
2011-04-22 12:48:16 +00:00
# spec file for package file-roller
2006-12-19 21:57:05 +00:00
#
2019-04-18 12:29:55 +00:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
2006-12-19 21:57:05 +00:00
#
2008-08-17 22:05:55 +00: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 12:49:41 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2006-12-19 21:57:05 +00:00
#
2012-02-20 09:23:46 +00:00
2006-12-19 21:57:05 +00:00
Name : file-roller
2019-04-18 12:29:55 +00:00
Version : 3.32.1
2011-12-21 04:57:28 +00:00
Release : 0
2009-09-03 16:35:46 +00:00
Summary : An Archive Manager for GNOME
2018-03-09 10:11:11 +00:00
License : GPL-2.0-or-later
2009-09-03 16:35:46 +00:00
Group : Productivity/Archiving/Compression
2018-07-23 12:53:56 +00:00
URL : https://wiki.gnome.org/Apps/FileRoller
2019-04-18 12:29:55 +00:00
Source0 : https://download.gnome.org/sources/file-roller/3.32/%{name} -%{version} .tar.xz
2018-09-24 07:19:53 +00:00
2012-07-21 15:18:32 +00: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 15:12:19 +00:00
Patch0 : file-roller-3.4-change-archiver-priority.patch
2012-09-07 15:23:39 +00: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 15:49:40 +00: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
2018-09-24 07:19:53 +00:00
2011-04-22 12:48:57 +00:00
# Needed for directory ownership
2011-04-22 12:48:16 +00:00
BuildRequires : dbus-1
2011-05-26 21:51:34 +00:00
BuildRequires : fdupes
2012-11-14 16:14:51 +00:00
BuildRequires : file-devel
2018-03-09 10:11:11 +00:00
BuildRequires : meson
BuildRequires : pkgconfig
2018-03-22 09:44:16 +00:00
BuildRequires : translation-update-upstream
2012-09-07 15:23:39 +00:00
BuildRequires : yelp-tools
2013-07-10 20:35:23 +00:00
BuildRequires : pkgconfig(glib-2.0) >= 2.36.0
2018-03-09 10:11:11 +00:00
BuildRequires : pkgconfig(gthread-2.0)
2014-09-11 21:25:32 +00:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.13.2
2012-09-07 15:23:39 +00:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.14.0
BuildRequires : pkgconfig(libarchive) >= 3.0.0
BuildRequires : pkgconfig(libnotify) >= 0.4.3
2009-02-23 11:47:35 +00:00
# Formats that we likely want to support by default
2016-09-15 09:18:34 +00:00
Recommends: bzip2
Recommends: cpio
Recommends: gzip
2018-05-18 09:17:44 +00:00
Recommends: p7zip-full
2016-09-15 09:18:34 +00:00
Recommends: rpm
2017-09-11 12:35:00 +00:00
Recommends: unar
2016-09-15 09:18:34 +00:00
Recommends: unzip
2009-07-31 17:09:24 +00:00
Recommends: xz
2009-02-23 11:47:35 +00:00
Recommends: zip
# Additional formats that are supported
2013-09-29 16:55:36 +00:00
Suggests : lzip
Suggests : lzop
2009-02-23 11:47:35 +00: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 10:11:11 +00:00
#Suggests: lha
#Suggests: lrzip
2009-02-23 11:47:35 +00:00
#Suggests: arj
#Suggests: ncompress
#Suggests: rar
2012-09-07 15:23:39 +00:00
#Suggests: theunarchiver
2009-02-23 11:47:35 +00:00
#Suggests: unace
#Suggests: unalz
#Suggests: unstuff
2016-09-15 09:18:34 +00:00
Obsoletes : nautilus-file-roller
DocDir: %{_defaultdocdir}
2006-12-19 21:57:05 +00:00
%description
2009-12-22 12:36:59 +00:00
File Roller is an archive manager for GNOME. With it, you can create
2006-12-19 21:57:05 +00:00
and modify archives, view the contents of an archive, view a file
2009-12-22 12:36:59 +00:00
contained in the archive, and extract files from the archive.
2006-12-19 21:57:05 +00:00
2007-08-09 16:51:31 +00:00
%lang_package
2016-09-15 09:18:34 +00:00
2006-12-19 21:57:05 +00:00
%prep
2019-04-18 12:29:55 +00:00
%autosetup -N
%patch0 -p1
%patch1 -p1
%patch2 -p1
2018-07-23 12:53:56 +00:00
translation-update-upstream po %{name}
2006-12-19 21:57:05 +00:00
%build
2018-03-09 10:11:11 +00:00
%meson \
2018-09-24 07:19:53 +00:00
-D notification=true \
-D libarchive=true \
-D magic=true \
%{nil}
2018-03-09 10:11:11 +00:00
%meson_build
2006-12-19 21:57:05 +00:00
%install
2018-03-09 10:11:11 +00:00
%meson_install
2011-02-13 21:05:45 +00:00
%find_lang %{name} %{?no_lang_C}
2018-03-09 10:11:11 +00:00
%fdupes %{buildroot} %{_datadir}
2007-08-02 22:13:19 +00:00
2011-04-22 12:48:16 +00:00
%files
2018-03-09 10:11:11 +00:00
%license COPYING
%doc AUTHORS NEWS README
2007-01-15 23:10:11 +00:00
%{_bindir} /file-roller
2009-12-22 12:36:59 +00:00
%{_libexecdir} /file-roller/
2017-08-31 07:45:07 +00:00
%dir %{_datadir} /metainfo
%{_datadir} /metainfo/org.gnome.FileRoller.appdata.xml
2007-01-15 23:10:11 +00:00
%{_datadir} /applications/*.desktop
2011-04-22 12:48:16 +00:00
%{_datadir} /dbus-1/services/org.gnome.FileRoller.service
2014-04-15 07:27:26 +00:00
%{_datadir} /dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service
2009-12-22 12:36:59 +00:00
%{_datadir} /file-roller/
2012-09-07 15:23:39 +00:00
%doc %{_datadir} /help/C/%{name} /
2011-04-22 12:48:16 +00:00
%{_datadir} /glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
2015-04-18 16:43:51 +00:00
%{_datadir} /icons/hicolor/*/apps/*
2009-12-22 12:36:59 +00:00
2012-09-07 15:23:39 +00:00
%files lang -f %{name}.lang
2007-12-21 09:23:03 +00:00
2007-03-09 00:44:34 +00:00
%changelog