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
#
2011-04-22 14:48:16 +02:00
# Copyright (c) 2011 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/
#
2008-02-21 01:48:35 +01:00
2006-12-19 22:57:05 +01:00
Name : file-roller
2011-09-27 13:26:37 +02:00
Version : 3.2.0
2009-09-03 18:35:46 +02:00
Release : 1
2009-12-22 13:36:59 +01:00
License : GPLv2+
2009-09-03 18:35:46 +02:00
Summary : An Archive Manager for GNOME
Url : http://fileroller.sourceforge.net
Group : Productivity/Archiving/Compression
2011-09-27 13:26:37 +02:00
Source : http://download.gnome.org/sources/file-roller/3.2/%{name} -%{version} .tar.bz2
2011-10-11 08:53:35 +02:00
# PATCH-FIX-UPSTREAM file-roller-no-crash-without-nautilus.patch bgo#649094 bnc#722863 vuntz@opensuse.org -- Do not crash if nautilus gsettings schemas are not installed
Patch0 : file-roller-no-crash-without-nautilus.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
2009-02-23 12:47:35 +01:00
BuildRequires : gnome-doc-utils-devel
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
2011-05-26 23:51:34 +02:00
BuildRequires : pkgconfig(glib-2.0)
BuildRequires : pkgconfig(libnautilus-extension)
BuildRequires : pkgconfig(gtk+-3.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
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 : p7zip
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
#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
License : GPLv2+
Summary : An Archive Manager for GNOME - Nautilus extension
Group : Productivity/Archiving/Compression
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
2009-03-25 22:39:15 +01:00
translation-update-upstream
2011-10-11 08:53:35 +02:00
%patch0 -p1
2006-12-19 22:57:05 +01:00
%build
2007-01-16 00:10:11 +01:00
%configure \
2011-04-22 14:48:16 +02:00
--disable-scrollkeeper
2011-09-21 17:44:16 +02:00
make %{?_smp_mflags} V=1
2006-12-19 22:57:05 +01:00
%install
2007-04-27 16:44:18 +02:00
%makeinstall
2009-12-22 13:36:59 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2006-12-19 22:57:05 +01:00
%suse_update_desktop_file -N " F i l e R o l l e r " -G " A r c h i v e M a n a g e r " %name Archiving
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
2011-02-13 22:05:45 +01:00
%dir %{_datadir} /gnome/
%dir %{_datadir} /gnome/help/
%dir %{_datadir} /gnome/help/%{name} /
%doc %{_datadir} /gnome/help/%{name} /C/
%dir %{_datadir} /omf/
%dir %{_datadir} /omf/%{name} /
%doc %{_datadir} /omf/%{name} /%{name} -C.omf
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
%{_libexecdir} /file-roller-server
%{_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/
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
2007-08-09 18:51:31 +02:00
%files lang -f %name.lang
2007-12-21 10:23:03 +01:00
2007-03-09 01:44:34 +01:00
%changelog