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
#
2017-02-20 17:54:03 +01:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
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.
2006-12-19 22:57:05 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-20 10:23:46 +01:00
2006-12-19 22:57:05 +01:00
Name : file-roller
2017-10-04 13:55:19 +02:00
Version : 3.26.1
2011-12-21 05:57:28 +01:00
Release : 0
2009-09-03 18:35:46 +02:00
Summary : An Archive Manager for GNOME
2011-12-21 05:57:28 +01:00
License : GPL-2.0+
2009-09-03 18:35:46 +02:00
Group : Productivity/Archiving/Compression
2011-12-21 05:57:28 +01:00
Url : http://fileroller.sourceforge.net
2017-09-11 20:23:44 +02:00
Source : http://download.gnome.org/sources/file-roller/3.26/%{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
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
2009-02-23 12:47:35 +01:00
BuildRequires : intltool
2016-09-15 11:18:34 +02:00
BuildRequires : pkgconfig
2008-09-05 00:53:28 +02:00
BuildRequires : update-desktop-files
2012-09-07 17:23:39 +02:00
BuildRequires : yelp-tools
2013-07-10 22:35:23 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.36.0
2014-09-11 23:25:32 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.13.2
2012-09-07 17:23:39 +02:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.14.0
BuildRequires : pkgconfig(libarchive) >= 3.0.0
BuildRequires : pkgconfig(libnotify) >= 0.4.3
2011-02-13 22:05:45 +01:00
Recommends: %{name} -lang
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
Recommends: p7zip
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
2009-07-31 19:09:24 +02:00
Suggests : lha
2016-09-15 11:18:34 +02:00
Suggests : lrzip
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.
#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
Obsoletes : nautilus-file-roller
DocDir: %{_defaultdocdir}
%if !0%{?is_opensuse}
BuildRequires : translation-update-upstream
%endif
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
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
%setup -q
2012-07-21 17:12:19 +02:00
%patch0
2012-09-07 17:23:39 +02:00
%patch1 -p1
2016-09-15 11:18:34 +02:00
%if !0%{?is_opensuse}
2009-03-25 22:39:15 +01:00
translation-update-upstream
2016-09-15 11:18:34 +02:00
%endif
2006-12-19 22:57:05 +01:00
%build
2007-01-16 00:10:11 +01:00
%configure \
2012-11-14 17:14:51 +01:00
--enable-magic
2013-09-29 18:55:36 +02:00
make %{?_smp_mflags}
2006-12-19 22:57:05 +01:00
%install
2012-09-07 17:23:39 +02:00
%make_install
2014-04-15 09:27:26 +02:00
%suse_update_desktop_file org.gnome.FileRoller
2011-02-13 22:05:45 +01:00
%find_lang %{name} %{?no_lang_C}
2016-09-15 11:18:34 +02:00
find %{buildroot} -type f -name " * . l a " -delete -print
2009-09-03 18:35:46 +02:00
%fdupes %{buildroot}
2007-08-03 00:13:19 +02:00
2011-04-22 14:48:16 +02:00
%files
2006-12-19 22:57:05 +01:00
%defattr (-, root, root)
%doc AUTHORS NEWS README COPYING
2007-01-16 00:10:11 +01:00
%{_bindir} /file-roller
2009-12-22 13:36:59 +01:00
%{_libexecdir} /file-roller/
2011-04-22 14:48:16 +02:00
%{_datadir} /GConf/gsettings/file-roller.convert
2017-08-31 09:45:07 +02:00
%dir %{_datadir} /metainfo
%{_datadir} /metainfo/org.gnome.FileRoller.appdata.xml
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
2014-04-15 09:27:26 +02:00
%{_datadir} /dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service
2009-12-22 13:36:59 +01:00
%{_datadir} /file-roller/
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
2015-04-18 18:43:51 +02:00
%{_datadir} /icons/hicolor/*/apps/*
2009-12-22 13:36:59 +01:00
2012-09-07 17:23:39 +02:00
%files lang -f %{name}.lang
2016-09-15 11:18:34 +02:00
%defattr (-, root, root)
2007-12-21 10:23:03 +01:00
2007-03-09 01:44:34 +01:00
%changelog