2006-12-19 22:57:05 +01:00
|
|
|
#
|
2010-02-11 20:55:30 +01:00
|
|
|
# spec file for package file-roller (Version 2.29.4)
|
2006-12-19 22:57:05 +01:00
|
|
|
#
|
2010-01-18 16:05:43 +01:00
|
|
|
# Copyright (c) 2010 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
|
2010-02-11 20:55:30 +01:00
|
|
|
Version: 2.29.4
|
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
|
|
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/file-roller/2.18/%{name}-%{version}.tar.bz2
|
2009-02-23 12:47:35 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: nautilus-devel
|
2009-03-25 22:39:15 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-09-05 00:53:28 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2009-12-22 13:36:59 +01:00
|
|
|
# Needed for patch0 file-roller-fix-build.patch
|
|
|
|
BuildRequires: gnome-common
|
2007-08-09 18:51:31 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
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
|
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
|
2007-01-16 00:10:11 +01:00
|
|
|
%gconf_schemas_prereq
|
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
|
2006-12-19 22:57:05 +01:00
|
|
|
|
|
|
|
%build
|
2009-12-22 13:36:59 +01:00
|
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
2007-01-16 00:10:11 +01:00
|
|
|
%configure\
|
|
|
|
--disable-schemas-install\
|
|
|
|
--disable-scrollkeeper
|
2007-12-21 10:23:03 +01:00
|
|
|
%__make %{?jobs:-j%jobs}
|
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 "File Roller" -G "Archive Manager" %name Archiving
|
2007-01-16 00:10:11 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2009-09-03 18:35:46 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*/*/*.*a
|
|
|
|
%fdupes %{buildroot}
|
2007-08-03 00:13:19 +02:00
|
|
|
|
2007-01-16 00:10:11 +01:00
|
|
|
%clean
|
2009-09-03 18:35:46 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:10:11 +01:00
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
2006-12-19 22:57:05 +01:00
|
|
|
|
|
|
|
%post
|
2007-01-16 00:10:11 +01:00
|
|
|
if test -x usr/bin/update-mime-database ; then
|
|
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
|
|
fi
|
2009-07-31 19:09:24 +02:00
|
|
|
|
2007-01-16 00:10:11 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2007-01-16 00:10:11 +01:00
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if test -x usr/bin/update-mime-database ; then
|
|
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
|
|
fi
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2009-12-22 13:36:59 +01:00
|
|
|
%files -f %{name}.schemas_list
|
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/
|
2007-01-16 00:10:11 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
2009-12-22 13:36:59 +01:00
|
|
|
%{_datadir}/file-roller/
|
2007-04-03 21:22:32 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2009-12-22 13:36:59 +01:00
|
|
|
|
|
|
|
%files -n nautilus-file-roller
|
|
|
|
%defattr(-, root, root)
|
2008-04-11 23:14:41 +02:00
|
|
|
%{_libdir}/nautilus/extensions-2.0/*.so
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2007-08-09 18:51:31 +02:00
|
|
|
%files lang -f %name.lang
|
2009-02-06 22:54:07 +01:00
|
|
|
# Temporary workaround to not depend on libgnome: own the directories
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%dir %{_datadir}/gnome
|
|
|
|
%dir %{_datadir}/gnome/help
|
2007-12-21 10:23:03 +01:00
|
|
|
|
2007-03-09 01:44:34 +01:00
|
|
|
%changelog
|