# # spec file for package file-roller # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: file-roller Version: 2.32.1 Release: 2 License: GPLv2+ 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 BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: gnome-doc-utils-devel BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: nautilus-devel BuildRequires: pkgconfig(gconf-2.0) BuildRequires: translation-update-upstream BuildRequires: update-desktop-files Recommends: %{name}-lang # 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 Recommends: xz Recommends: zip # Additional formats that are supported Suggests: lha Suggests: p7zip Suggests: rzip Suggests: zoo BuildRoot: %{_tmppath}/%{name}-%{version}-build DocDir: %{_defaultdocdir} # FIXME: Formats for which we don't have packages. Some are free software that # we could package. #Suggests: arj #Suggests: lrzip #Suggests: lzip #Suggests: lzop #Suggests: ncompress #Suggests: rar #Suggests: unace #Suggests: unalz #Suggests: unstuff %gconf_schemas_prereq %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. %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) %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. This package contains a plugin to integrate File Roller into Nautilus. %lang_package %prep %setup -q translation-update-upstream %build %configure\ --disable-scrollkeeper \ --disable-schemas-install %__make %{?jobs:-j%jobs} %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif %suse_update_desktop_file -N "File Roller" -G "Archive Manager" %name Archiving %find_lang %{name} %{?no_lang_C} %find_gconf_schemas rm %{buildroot}%{_libdir}/*/*/*.*a %fdupes %{buildroot} %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %post %desktop_database_post %icon_theme_cache_post %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun %desktop_database_postun %icon_theme_cache_postun %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS NEWS README COPYING %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 %{_bindir}/file-roller %{_libexecdir}/file-roller/ %{_datadir}/applications/*.desktop %{_datadir}/file-roller/ %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/scalable/apps/*.svg %files -n nautilus-file-roller %defattr(-, root, root) %{_libdir}/nautilus/extensions-2.0/*.so %files lang -f %name.lang %changelog