2006-12-19 22:57:05 +01:00
|
|
|
#
|
2009-11-24 23:29:50 +01:00
|
|
|
# spec file for package file-roller (Version 2.28.1)
|
2006-12-19 22:57:05 +01:00
|
|
|
#
|
2009-02-06 22:54:07 +01:00
|
|
|
# Copyright (c) 2009 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
|
2009-11-24 23:29:50 +01:00
|
|
|
Version: 2.28.1
|
2009-09-03 18:35:46 +02:00
|
|
|
Release: 1
|
|
|
|
License: GPL v2 or later
|
|
|
|
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
|
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
|
|
|
|
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. File
|
|
|
|
Roller is a front-end (a graphical interface) for archiving programs
|
|
|
|
like tar and zip. The supported file types are:
|
|
|
|
|
|
|
|
* Tar archives uncompressed (.tar) or compressed with
|
|
|
|
|
|
|
|
- gzip (.tar.gz, .tgz)
|
|
|
|
|
|
|
|
- bzip (.tar.bz, .tbz)
|
|
|
|
|
|
|
|
- bzip2 (.tar.bz2, .tbz2)
|
|
|
|
|
|
|
|
- compress (.tar.Z, .taz)
|
|
|
|
|
|
|
|
- lzop (.tar.lzo, .tzo)
|
|
|
|
|
|
|
|
* Zip archives (.zip)
|
|
|
|
|
|
|
|
* Jar archives (.jar, .ear, .war)
|
|
|
|
|
|
|
|
* Lha archives (.lzh)
|
|
|
|
|
|
|
|
* Rar archives (.rar)
|
|
|
|
|
|
|
|
* Single files compressed with gzip, bzip, bzip2, compress, lzop
|
|
|
|
|
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
|
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
|
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
|
2007-08-09 18:51:31 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
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
|
|
|
|
2007-01-16 00:10:11 +01:00
|
|
|
%files -f %{name}.lst
|
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-07-31 19:09:24 +02:00
|
|
|
%{_libexecdir}/file-roller
|
2007-01-16 00:10:11 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/file-roller
|
2007-04-03 21:22:32 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
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
|