file-roller/file-roller.spec

553 lines
21 KiB
RPMSpec
Raw Normal View History

#
# spec file for package file-roller (Version 2.23.6)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: file-roller
BuildRequires: docbook-xsl-stylesheets fdupes gconf2-devel glib2-devel gnome-doc-utils-devel gnome-vfs2-devel gtk2-devel intltool libglade2-devel libgnome-devel libgnomeui-devel nautilus-devel perl-XML-Parser scrollkeeper update-desktop-files
License: GPL v2 or later
Group: System/GUI/GNOME
Version: 2.23.6
Release: 1
Requires: %{name}-lang = %{version}
Summary: An Archive Manager for GNOME
Source: ftp://ftp.gnome.org/pub/GNOME/sources/file-roller/2.18/%{name}-%{version}.tar.bz2
#PATCH-FIX-UPSTREAM bug-187126_file-roller-batch-extract-all.patch bnc187126 bgo342043 jberkman@novell.com -- Upstream says this is committed but its not
Patch3: bug-187126_file-roller-batch-extract-all.patch
# PATCH-NEEDS-REBASE file-roller-2.20.0-correct-help-uri.patch bnc326492 bgo480442 hpj@novell.com -- was PATCH-FIX-UPSTREAM
Patch5: file-roller-2.20.0-correct-help-uri.patch
Url: http://fileroller.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
DocDir: %{_defaultdocdir}
Requires: unrar unzip gzip bzip2
%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. 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>
%lang_package
%prep
%setup -q
%patch3 -p1
# %patch5 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-schemas-install\
--disable-scrollkeeper
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file -N "File Roller" -G "Archive Manager" %name Archiving
%find_lang %{name}
%find_gconf_schemas
### cat %{name}.lang %{name}.schemas_list >%{name}.lst
cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%posttrans -f %{name}.schemas_posttrans
%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
%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/file-roller
%{_libdir}/file-roller
%{_datadir}/applications/*.desktop
%{_datadir}/file-roller
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/omf/file-roller
%{_libdir}/nautilus/extensions-2.0/*.so
%files lang -f %name.lang
%changelog
* Tue Aug 26 2008 mboman@novell.com
- Update to version 2.23.5:
* Bugs fixed: bgo#350640, bgo#548020, bgo#546698, bgo#547733,
bgo#547297, bgo#546978, bgo#547017, bgo#546505, bgo#542424,
bgo#546541, lp#26662
* Fri Aug 08 2008 maw@suse.de
- Update to version 2.23.5:
+ Support for reading and extracting alz archives (bgo#521324)
* Added support for rzip compressed files (bgo#503000)
* Added support for creating self-extracting zip archives
* Added ability to create multi-volume archives
* Added support for header encryption, and implemented header
encryption for 7zip and rar archives
* Use the 7z command to read/write zip, cbr, cbz archives, and
to read cabinet, arj, rar and iso archives
* Try to get the mime type from magic numbers if all other
methods fail
* Now the progress dialog is exact when adding, extracting or
deleting files for tar, zip, rar and 7zip archives
(bgo#153281)
* Do not add the backup files, that is files ending with ~, to
the archive
* Operations are now more efficient for archives with a long
file list
* Added a help button to the window used to create archives
from the file manager menu
* Unified the "new" and "save as" dialogs. Allow to specify
other options in these dialogs, such as whether to encrypt
the header and whether to split the archive in volumes
* Updated documentation
+ Bugs fixed: bgo#343201, bgo#529395, bgo#515194, bgo#519046,
bgo#336790, bgo#539629, bgo#506698, bgo#542541, bgo#504584,
bgo#545188, bgo#545168, bgo#545161, bgo#544613, bgo#544296,
bgo#544184, and bgo#544182
+ Updated translations.
* Fri Jun 20 2008 maw@suse.de
- Update to version 2.23.3:
+ Show an alert dialog when the 'save as' operation is completed,
and allow the user the open the newly created archive
* Load and save the 'add folder' dialog options. Allow to clear
the options as well
* Allow to specify a password when converting an archive to
another format
* Added keyboard shortcut to deselect all; moved "add files" and
"add folders" down in the edit menu; moved "stop" and "reload"
at the bottom of the view menu; removed the 'sort by' submenu
+ Added an exclude folder filter to specify sub-folders to ignore
when adding a folder recursively
+ Added ability to extract folders from the folder pane using
drag & drop.
+ Added partial support for tar archives compressed with 7zip
+ Display the progress dialog if the operation lasts more than 5
seconds
+ Display the progress dialog without delay if extracting or
converting an archive; after the extraction add to the progress
dialog the button to open the destination folder and after
the conversion add the button to open the newly created archive
+ Removed the 'view folder after extraction' option from the
extraction dialog
+ Removed the preview-file stock item, use gtk_stock_open instead
+ Do not use the sh command to exec the process, use the utility
command directly to allow to stop the process properly
+ Use g_io_channel to read the command output.
+ Update to newer GNOME APIs and drop the use of deprecated
libraries and APIs:
* Use GIO library instead of gnome-vfs
* gtk+ is used to get the applications and mime types icons
* Replaced gnome_url_show with g_app_info_launch_default_for_uri
* Use g_app_info_launch_default_for_uri to show the help dialog
* Use the new tooltips API
* Use g_key_file instead of gnome_config for loading/saving
sessions
* Use GRegex instead of the custom utf8_fnmatch function.
+ Bugs fixed: bgo#480190, bgo#535967, bgo#536055, bgo#527271,
bgo#532789, bgo#532255, bgo#523158, bgo#516043, and bgo#512474
- Drop an obsolete patch:
file-roller-2.12.2-no-cmdline-overflow.patch.
* Thu Apr 10 2008 maw@suse.de
- Update to version 2.22.2:
+ Do not execute sync IO operations in the Nautilus extension in
order to avoid bad performance issues on remote locations
+ Fixed a bug that prevented a file to be updated the second time
it was modified
+ Fixed a performace issue when extracting a big archive with a
drag and drop operation
+ Updated translations.
* Thu Mar 13 2008 maw@suse.de
- Update to version 2.22.0:
+ Bugs fixed: bgo#518680 and bgo#504155
+ Updated translations.
* Thu Mar 13 2008 sbrabec@suse.cz
- Custom look'n'feel gconf keys moved to gconf2-branding-openSUSE.
* Tue Mar 04 2008 maw@suse.de
- Update to version 2.21.92:
+ Updated translations.
* Tue Feb 19 2008 maw@suse.de
- Update to version 2.21.91:
+ Updated translations.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.2:
+ Added the ability to find the files of the archive with the
specified filename
+ Can now update files in an archive when the files are modified by
an external application
+ Added support for lzma files, both single, compressed files
and tarballs
+ Bugs fixed: bgo#487012, bgo#487079, bgo#499958, bgo#499558,
bgo#458399, bgo#475166, bgo#505987, bgo#487012, bgo#490891,
bgo#504597, bgo#303213, and bgo#509933.
* Thu Dec 20 2007 jpr@suse.de
-Update to 2.20.2
* Updated translations
* Fixed crash after cancelling an archive creation from the
Nautilus context menu. (bgo #482203)
- Remove fr_59941.diff, it served no real purpose, added translations
and was rejected upstream in bgo144800
- Remove bogus BuildRequires: gnutls-devel, gnome-patch-translation,
libgnomeprintui-devel, libwnck-devel
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Tue Sep 25 2007 hpj@suse.de
- Add file-roller-2.20.0-correct-help-uri.patch, which fixes a
broken help path.
* Tue Sep 18 2007 mauro@suse.de
- Update to version 2.20.0
* Fixed bug #473158 ask-password.glade is missing
* Fixes bug #463968 file-roller crashed with SIGSEGV in
g_closure_invoke()
* Removed old check that prevented extraction to remote locations
via DnD.
* Mon Sep 10 2007 maw@suse.de
- Update to version 2.19.92:
+ Display empty folders in 7zip archives.
* Fri Aug 31 2007 maw@suse.de
- Update to version 2.19.91:
+ Fix copy & paste of folders within tar archives
+ Fixed execution of the sidebar context menu commands
+ Fixed file renames
+ Additionally, the following bugs (bugzilla.gnome.org) have been
fixed: #144216, #463251, #463235, #463753, #463887, #467482,
[#468677], #469528, and #469221.
* Mon Aug 06 2007 maw@suse.de
- Split out a -lang subpackage.
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.19.4:
+ Support for drag and drop among file-roller windows
+ Added a folders pane
+ Fixed DST calculation
+ Save and restore filename column width
+ Unescape the archive filename in the tree view
+ Add a sidebar context menu
+ Get mime types from files' content
+ Bugs (bugzilla.gnome.org) fixed: #402756, #461356, and #450150
- Use %%fdupes.
* Mon Jul 09 2007 maw@suse.de
- Update to version 2.19.2
- Can operate on remote archives
- Improved error dialogue
- Fixed bugzilla.gnome.org #171619, #398824, #438340, #402760,
[#440662], and #439154.
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Wed Apr 11 2007 maw@suse.de
- Update to version 2.18.1 which has updated translations.
* Mon Apr 02 2007 maw@suse.de
- Build with -fno-strict-aliasing
- Package %%{_libdir}/file-roller.
* Mon Apr 02 2007 maw@suse.de
- Update to version 2.18.0
- "Application" is not a valid category in the freedesktop
specification, so remove it from data/file-roller.desktop.in.in
- Code cleanups
- b.g.o 409433, 396775, and 395074
- Remove upstreamed file-roller-self-exe.patch.
* Thu Mar 08 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Mon Jan 15 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Mon Dec 18 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)
* Thu Oct 12 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
* Wed Sep 13 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)
* Mon Aug 01 2005 gekker@suse.de
- Update to version 2.11.90
* Thu Jul 21 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.
* Fri Oct 29 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
* Wed Jan 15 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