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
#
2013-02-12 13:49:16 +01:00
# Copyright (c) 2013 SUSE LINUX Products 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
2013-09-19 21:25:54 +02:00
Version : 3.9.92
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
2013-05-05 13:56:09 +02:00
Source : http://download.gnome.org/sources/file-roller/3.9/%{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
2009-03-25 22:39:15 +01:00
BuildRequires : translation-update-upstream
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
2013-06-23 15:49:35 +02:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.9.3
2012-02-20 10:24:37 +01:00
BuildRequires : pkgconfig(ice)
2012-09-07 17:23:39 +02:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.14.0
BuildRequires : pkgconfig(libarchive) >= 3.0.0
2012-02-08 12:00:08 +01:00
BuildRequires : pkgconfig(libnautilus-extension)
2012-09-07 17:23:39 +02:00
BuildRequires : pkgconfig(libnotify) >= 0.4.3
BuildRequires : pkgconfig(sm) >= 1.0.0
2011-02-13 22:05:45 +01:00
Recommends: %{name} -lang
2009-02-23 12:47:35 +01:00
# Formats that we really want to support by default
Requires : bzip2
Requires : cpio
Requires : genisoimage
Requires : gzip
Requires : rpm
Requires : unzip
# Formats that we likely want to support by default
2013-03-13 23:42:08 +01:00
Recommends: p7zip
2009-02-23 12:47:35 +01:00
Recommends: unrar
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
2009-02-23 12:47:35 +01:00
Suggests : rzip
Suggests : zoo
2009-09-03 18:35:46 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
DocDir: %{_defaultdocdir}
2009-02-23 12:47:35 +01:00
# FIXME: Formats for which we don't have packages. Some are free software that
# we could package.
#Suggests: arj
2010-08-10 01:41:34 +02:00
#Suggests: lrzip
2009-07-31 19:09:24 +02:00
#Suggests: lzip
2009-02-23 12:47:35 +01:00
#Suggests: lzop
#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
2011-04-22 14:48:16 +02:00
%glib2_gsettings_schema_requires
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
2009-12-22 13:36:59 +01:00
%package -n nautilus-file-roller
Summary : An Archive Manager for GNOME - Nautilus extension
2012-01-17 15:35:30 +01:00
Group : Productivity/Archiving/Compression
2009-12-22 13:36:59 +01:00
Requires : %{name} = %{version}
Supplements: packageand(file-roller:nautilus)
2009-12-08 10:16:24 +01:00
2009-12-22 13:36:59 +01:00
%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.
2009-12-08 10:16:24 +01:00
2009-12-22 13:36:59 +01:00
This package contains a plugin to integrate File Roller into Nautilus.
2006-12-19 22:57:05 +01:00
2007-08-09 18:51:31 +02:00
%lang_package
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
2009-03-25 22:39:15 +01:00
translation-update-upstream
2006-12-19 22:57:05 +01:00
%build
2007-01-16 00:10:11 +01:00
%configure \
2012-09-07 17:23:39 +02:00
--disable-scrollkeeper \
2012-11-14 17:14:51 +01:00
--enable-magic
2011-09-21 17:44:16 +02:00
make %{?_smp_mflags} V=1
2006-12-19 22:57:05 +01:00
%install
2012-09-07 17:23:39 +02:00
%make_install
2009-12-22 13:36:59 +01:00
%if 0%{?suse_version} <= 1120
2012-09-07 17:23:39 +02:00
rm %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
2009-12-22 13:36:59 +01:00
%endif
2013-02-12 13:49:16 +01:00
%suse_update_desktop_file %{name}
2011-02-13 22:05:45 +01:00
%find_lang %{name} %{?no_lang_C}
2009-09-03 18:35:46 +02:00
rm %{buildroot} %{_libdir} /*/*/*.*a
%fdupes %{buildroot}
2007-08-03 00:13:19 +02:00
2006-12-19 22:57:05 +01:00
%post
2011-04-22 14:48:16 +02:00
%glib2_gsettings_schema_post
2011-02-13 22:05:45 +01:00
%desktop_database_post
%icon_theme_cache_post
2009-07-31 19:09:24 +02:00
2007-01-16 00:10:11 +01:00
%postun
2011-04-22 14:48:16 +02:00
%glib2_gsettings_schema_postun
2011-02-13 22:05:45 +01:00
%desktop_database_postun
%icon_theme_cache_postun
2006-12-19 22:57:05 +01: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
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
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
2007-04-03 21:22:32 +02:00
%{_datadir} /icons/hicolor/*/apps/*.png
2009-12-22 13:36:59 +01:00
%files -n nautilus-file-roller
%defattr (-, root, root)
2011-04-22 14:48:16 +02:00
%{_libdir} /nautilus/extensions-3.0/*.so
2006-12-19 22:57:05 +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