file-roller/file-roller.spec

383 lines
14 KiB
RPMSpec
Raw Normal View History

#
# spec file for package file-roller (Version 2.16.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: file-roller
BuildRequires: docbook-xsl-stylesheets gnome-doc-utils-devel gnome-patch-translation gnutls-devel intltool kdelibs3-doc libglade2-devel libgnomeprintui-devel libwnck-devel mDNSResponder-devel nautilus-devel perl-XML-Parser scrollkeeper update-desktop-files
%define prefix /opt/gnome
%define sysconfdir /etc%{prefix}
License: GNU General Public License (GPL)
Group: System/GUI/GNOME
Autoreqprov: on
Version: 2.16.1
Release: 32
Summary: An Archive Manager for GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/file-roller/2.6/%{name}-%{version}.tar.bz2
Source1: file-roller.xml
Patch: file-roller-ximian-defaults.patch
Patch1: fr_59941.diff
Patch2: file-roller-2.12.2-no-cmdline-overflow.patch
Patch3: bug-187126_file-roller-batch-extract-all.patch
Patch4: file-roller-self-exe.patch
URL: http://fileroller.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}
PreReq: filesystem /usr/bin/touch gconf2 shared-mime-info
Requires: unrar unzip gzip bzip2
%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
Authors:
--------
Paolo Bacchilega <paolo.bacch@tin.it>
Claudio Bley <bley@cs.uni-magdeburg.de>
%prep
%setup -q
gnome-patch-translation-prepare
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p0
gnome-patch-translation-update
%build
autoreconf -i -f
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%prefix \
--sysconfdir=%sysconfdir \
--datadir=%prefix/share \
--localstatedir=/var/lib \
--with-kde-datadir=/opt/kde3/share \
--libdir=%prefix/%_lib \
--disable-scrollkeeper
export LIBRARY_PATH=/opt/gnome/%_lib
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=$RPM_BUILD_ROOT install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%suse_update_desktop_file -N "File Roller" -G "Archive Manager" %name Archiving
for xml in $RPM_BUILD_ROOT%{prefix}/share/gnome/help/file-roller/*/file-roller.xml; do
meinproc --check --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
done
mkdir -p $RPM_BUILD_ROOT/usr/share/mime/packages
cp %{S:1} $RPM_BUILD_ROOT/usr/share/mime/packages
# DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime
rm $RPM_BUILD_ROOT%{prefix}/%{_lib}/nautilus/extensions-1.0/*.*a
%post
touch var/adm/SuSEconfig/run-scrollkeeper-update
usr/bin/update-mime-database /usr/share/mime >/dev/null
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/file-roller.schemas >/dev/null
%postun
touch var/adm/SuSEconfig/run-scrollkeeper-update
usr/bin/update-mime-database /usr/share/mime >/dev/null
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{prefix}/share/applications/*.desktop
%{prefix}/share/gnome/help/file-roller
# %{prefix}/share/file-roller/glade/*.glade
%{prefix}/%_lib/nautilus
%{prefix}/share/file-roller
#%{prefix}/share/application-registry/*.applications
#%{prefix}/share/mime-info/*
%{prefix}/share/locale/*/LC_MESSAGES/*.mo
#%{prefix}/share/pixmaps/*.png
%{prefix}/share/icons/hicolor/48x48/apps/*.png
%{prefix}/bin/file-roller
%{prefix}/share/omf/file-roller
%{sysconfdir}/gconf/schemas/file-roller.schemas
/usr/share/mime/packages/*.xml
%changelog -n file-roller
* Tue Dec 19 2006 - btimothy@suse.de
- Fix for BNC #223562 to allow self-extracting executables made in
WinZIP to extract/open in file-roller.
* Tue Dec 12 2006 - jhargadon@suse.de
- applied a patch to fix crashing when an iso image is right-clicked
(#187126)
* Fri Oct 13 2006 - danw@suse.de
- Remove dead patch
- Update for gnome-doc-utils-devel
* Tue Oct 03 2006 - jhargadon@suse.de
- update to version 2.16.1
- translation updates
* Thu Sep 14 2006 - jhargadon@suse.de
- update to version 2.16.0
- translation updates
* Wed Aug 30 2006 - jhargadon@suse.de
- update to version 2.15.93
- Prompt for the password when an archive is encrypted
instead of simply displaying a warning on how to spicify a password
- Do not use the encrypted emblem for folders
- Added X-GNOME-Bugzilla-Version field to the .desktop file
- Fixed bug #349095: Filetypes seriously screwed up in .zip files
- Fixes bug #153642: Temporary files are created on the current
directory
* Mon Aug 14 2006 - jhargadon@suse.de
- update to version 2.15.91
* Fixed bug #343739 Seems to not escape file names correctly.
* Fixes bug #340050 tar permissions are not preserved.
* Fixed bug #339913 "create archive" option does not work on some
filenames.
* Fixed bug #347624 fix build with gcc 2.95
* Fixed bug #347416 RecentFilesMenu - OpenRecentMenu converting
* Update translations: eu, zh_HK, zh_TW, nb, et, fr.
- reapplied file-roller-2.12.2-no-cmdline-overflow.patch
* Tue Aug 08 2006 - jhargadon@suse.de
- Update to version 2.15.90
- Added translations
- Fixed bug #345052 file roller should remember the size of the
window when it closes.
- Fixed bug #345278 File operations on the Edit menu should be
moved to the Archive menu.
- Fixed bug #342251 backspace does not go up a directory
- Fixed bug #336078 - [PATCH] Convert from popt to GOption
- Fixed bug #317782 - file-roller Cygwin build fixes
- Fixed bug #152039 - Password Protected Files must be displayed
differently.
- Fixed bug #338944 - Open Files..., can't delete programs
- Fixed filename escaping in tar archives.
- Ask for the password when trying to open a password protected rar
or arj archive.
- Updated the user's guide.
- Added help button to all the dialogs.
- Install theme-friendly icon.
- Fixed bug #335035 - mistake in file-roller's License.
- Fixed bug #336908 - backshalshes not supported in paths.
- Fixed bug #336632 - Help for Extract Dialog pointing to incorrect
location.
- Fixed bug #336854 - crash on twice unpacking to the same location.
- Fixed bug #335659 - File Roller should move not copy files.
- Fixed bug #335368 - Crash when opening large 7z-archive.
- Fixed buf #326193 - file-roller creates empty 7zip archives.
- Fixed bug #337754 - Drag and Drop extraction only works when
source already has focus.
- Fixed bug #337331 - Cut/Paste same file results in loss of file.
- Added license button to the about dialog.
- Fixed bug #331601 Nautilus doesn't display the "Extract here"
menu option for files which have a ".ps.gz"
- Fixed bug #330315 - ps.gz files not associated
- Fixed bug #328942 - Don't translate empty strings
- Fixed bug #328473 should not distribute pre-gnome-2.8 mime files
- Fixed bug #328331 - Crashes on extraction
- Fixed bug #328036 - Add GTK category to the .desktop file
- Fixed bug #139912 - file roller is not a "system tool".
- Fixed bug #168388 - file roller shouldn't create an ARCHIVE_FILES
folder if the archive only have one root folder
- Fixed bug #326810 - file-roller escaping issue with '#' by example
- Removed obsolete .applications file.
- Fixed bug #323713: "Save as" should default to current archive
filename
- Fixed bug #315069: file-roller: drag 'n drop doesn't work for more
than 1 file.
- Fixed bug #323534: Passwords improperly escaped for zip files
- Do not open a progress dialog when dragging files, use a
progressbar in the statusbar instead.
- Fixed bug #316364: Nautilus dependency should be optional
- Fixed bug #311821: ascending and descending indicators are
opposite from expected.
- Fixed bug #317423: Conflicting mnemonic in "Extract" dialog.
- Fixed bug #323068: file-roller fails in chosing extract-to
directory
- Fixed bug #322197: Improve Naming Filename when create new
Archive file
- Fixed bug #316564: needs unzip AND zip.
- Simplified the add dialog populating the file type combobox
with the extensions instead of the descriptions.
- Set progress dialog display delay to 1 second.
- More HIG compliant progress dialog.
- Use a single command execution to add many files and folders
to an archive to speed up the operation.
- Allow to stop creation of a new archive.
- Correctly associate fr to 7zip files.
* Mon Jun 19 2006 - federico@novell.com
- Added file-roller-186104-extract-to-dir.diff to fix
https://bugzilla.novell.com/show_bug.cgi?id=186104. This fixes the
way file-roller asks GtkFileChooserButton about the selected folder.
* Thu Jun 15 2006 - hpj@suse.de
- Add patch to process long file lists in multiple batches. Fixes
Novell bug #169646.
* Tue Feb 28 2006 - sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Fri Feb 17 2006 - sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Wed Feb 01 2006 - sbrabec@suse.cz
- Use translation compendium gnome-patch-translation.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 30 2005 - gekker@suse.de
- Update to version 2.12.2
* Wed Oct 12 2005 - gekker@suse.de
- Update to version 2.12.1
* Mon Sep 05 2005 - gekker@suse.de
- Update to version 2.12.0 (GNOME 2.12)
* Mon Aug 22 2005 - gekker@suse.de
- Update to version 2.11.92
- Add libxml2 and libxml2-python to nfb
* Thu Aug 11 2005 - gekker@suse.de
- Update to version 2.11.91
* Tue Aug 09 2005 - gekker@suse.de
- Fix requirements (98219)
* Tue Aug 02 2005 - gekker@suse.de
- Update to version 2.11.90
* Fri Jul 22 2005 - gekker@suse.de
- Update to version 2.11.2
- Remove .la files
* Fri Jun 17 2005 - gekker@suse.de
- Update to version 2.11.1
* Wed Mar 09 2005 - gekker@suse.de
- Updated to version 2.10.0 (GNOME 2.10).
* Thu Mar 03 2005 - gekker@suse.de
- Updated to version 2.9.92
* Thu Feb 10 2005 - gekker@suse.de
- Updated to version 2.9.91
* Sat Feb 05 2005 - gekker@suse.de
- Updated to 2.9.4
* Wed Jan 19 2005 - clahey@suse.de
- Updated to 2.9.3.
* Sat Oct 30 2004 - ro@suse.de
- locale rename: no -> nb
* Wed Sep 08 2004 - sbrabec@suse.cz
- Added shared mime info.
* Fri Aug 27 2004 - shprasad@suse.de
- Fixes bug #63428 (Fix givenby smadduri@novell.com)
Avoids crashing if file-roller is closed while viewing files.
* Wed Aug 25 2004 - clahey@suse.de
- Cache file-roller help and show file-roller in khelpcenter.
* Tue Aug 17 2004 - shprasad@suse.de
- Fixes bug #60958 (Fix given by smadduri@novell.com)
Avoids Crashing while DND of Desktop Icons (Home).
- Fixes bug #62359 (Fix given by smadduri@novell.com)
Avoids hanging while Adding a directory to archive.
- Reworked on bug #60961 (Fix given by smadduri@novell.com)
create unpredictible temp-dirs using mkdtemp.
* Fri Jul 16 2004 - shprasad@suse.de
- Fixes bug #60961. Fix given by (smaddri@novell.com)
Avoides creation of predictible file names in /tmp
while viewing in file-roller.
* Wed Jun 23 2004 - shprasad@suse.de
- Fixes bug #59941 (Fix given by smadduri@novell.com)
Added a button for Deleting File(s)
* Wed May 05 2004 - sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Wed Mar 17 2004 - sbrabec@suse.cz
- Fixed scrollkeeper calling conventions (#36215).
* Wed Mar 10 2004 - sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Mon Mar 01 2004 - hhetter@suse.de
- don't install schemas into buildsystem
* Wed Feb 25 2004 - hhetter@suse.de
- apply ximian patch: file-roller-ximian-defaults.patch
* Thu Feb 12 2004 - hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Thu Feb 05 2004 - hhetter@suse.de
- updated to version 2.4.4 [GNOME 2.4.2]
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Oct 27 2003 - sbrabec@suse.cz
- Updated to version 2.4.1.1.
* Mon Sep 29 2003 - hhetter@suse.de
- updated to version 2.4.0.1 [GNOME2.4]
* Sun Sep 14 2003 - adrian@suse.de
- add Archiving Category
* Thu Aug 07 2003 - ro@suse.de
- fix typo in filelist
* Thu Aug 07 2003 - sbrabec@suse.cz
- Not use globbing for schemas in %%files.
* Tue Jul 29 2003 - hhetter@suse.de
- %%_lib fixes
* Fri Jul 25 2003 - meissner@suse.de
- autoreconf -i -f so we get all new and shiny
scripts, especially for ppc64.
* Mon Jul 14 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Wed Jul 02 2003 - hhetter@suse.de
- updated to version 2.2.5
* Thu Feb 20 2003 - sbrabec@suse.cz
- Fixed %%files.
* Thu Jan 30 2003 - hhetter@suse.de
- updated to version 2.2.1
- filelist review
- added openssl and alsa-devel to neededforbuild
- install and register schemas file
* Thu Jan 16 2003 - ro@suse.de
- use gtk2-devel-packages and libjpeg in neededforbuild
* Tue Jan 14 2003 - ro@suse.de
- added expat to neededforbuild
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
* Wed Nov 06 2002 - hhetter@suse.de
- updated to version 2.0.4
* Faster loading of archives.
* Recognize zip archives regardless of the file extension
* Mon Sep 23 2002 - sbrabec@suse.cz
- Added alsa to neededforbuild, because esound can depend on it.
* Tue Aug 20 2002 - hhetter@suse.de
- fix prereq
* Fri Aug 09 2002 - hhetter@suse.de
- add openssl to neededforbuild
* Wed Jul 31 2002 - hhetter@suse.de
- updated to version 2.0.0
* fix scrollkeeper usage
* fix filelist
* initiate scrollkeeper update
* Wed Jul 10 2002 - hhetter@suse.de
- updated to version 1.109
* additional option to view destination after extraction
* documentation updates
* Mon Jul 01 2002 - hhetter@suse.de
- udpated to version 1.108
* menus rearranged
* correctly remove temp files
* Thu Jun 20 2002 - jordi@suse.de
- initial package for GNOME 2.0