File gnome-commander.spec of Package gnome-commander

#
# spec file for package gnome-commander (Version 1.2.7)
#
# 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:           gnome-commander
BuildRequires:  docbook_4 fdupes gcc-c++ gnome-doc-utils-devel intltool
BuildRequires:  libgnomeui-devel libxslt perl-XML-Parser scrollkeeper
BuildRequires:  update-desktop-files
Version:        1.2.7
Release:        1
Url:            http://www.nongnu.org/gcmd/
Group:          Productivity/File utilities
License:        GPL v2 or later
Summary:        Nice and Fast File Manager for the GNOME Desktop
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.1/%{name}-%{version}.tar.bz2
Requires:       %{name}-lang = %{version}
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GNOME Commander is a nice and fast file manager for the GNOME desktop.
In addition to basic file manager functions, the program is also an FTP
client and can browse SMB networks.



Authors:
--------
    Marcus Bjurman <marbj499@student.liu.se>
    Piotr Eljasiak <epiotr@use.pl>
    Assaf Gordon <agordon88@gmail.com>

%lang_package
%prep
%setup

%build
# gnome-commander-1.2.1: breaks strict-aliasing: plugin_manager.c: 57, 81
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# FIXME: C/gnome-commander.xml:*: parser error : Entity '*' not defined
%configure\
	--disable-static\
	--disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/gnome-commander/*.*a
rm $RPM_BUILD_ROOT/%{_libdir}/gnome-commander/plugins/*.*a
%suse_update_desktop_file gnome-commander
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/omf/gnome-commander
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/gnome-commander
%{_libdir}/gnome-commander
%doc %{_mandir}/man1/gnome-commander.1.gz

%files lang -f %{name}.lang

%changelog
* Tue Sep 02 2008 mboman@novell.com
- Update to version 1.2.7:
  + Bugs fixed: bgo#522430, bgo#532615, bgo#538806, bgo#539753,
  bgo#541404, bgo#392959, bgo#496150, bgo#499761, bgo#499764
  + Fixed problem with file sorting in advanced file rename tool
  + Support for all GnomeVFS network protocols (including SSH+FTP and
  WebDAV)
  + User defined shortcuts to arbitrary programs
  + Copying selected URIs to clipboard with ALT+click on toolbar button
  + Revamped search dialog
  + Revamped transfer progress dialog
  + Updated help docs
  + Fixed problem with sorting of UTF-8 encoded file names
  + Fixed problem with copying files to symlinked directories
  + Fixed problem with full file path  while copying/moving to mounted
  devices
  + Root Mode for starting GNOME Commander with administrator privileges
  + GUI for keyboard shortcuts management
  + Open the current location in Nautilus file manager
  + Multi-Rename-Tool - new $x and $X placeholders for random hexadecimal
  numbers
  + Revamped search dialog
  + Support for <super>, <hyper> and <meta> modifiers (since GTK+ 2.10)
  + Updated help docs
  + New key bindings
  + Update translations.
- Removed gnome-commander-hide-menu-item.patch. Fixed upstream
* Mon May 19 2008 maw@suse.de
- Add gnome-commander-hide-menu-item.patch (bnc#356181).
* Thu Mar 06 2008 jpr@suse.de
- Update to 1.2.5
  Bug fixes:
  * bgo #345314 (cursor not staying on file while renaming)
  * bgo #353889 (disappearing files after failed move (F6))
  * bgos #346286, #424447, #447882, #467058 (crash when using regex
  in renaming tool)
  * bgos #365227 and #446361 (build issues on Solaris)
  * bgo #424159 (column sort problem)
  * bgo #434545 (Debian bug #421480: HUGE icons for device icons)
  * bgo #447415 (inability to launch executables)
  * bgo #448942 (SHIFT+ENTER: running a command in a separate terminal)
  * bgo #449137 (renamed directories not accessed by name)
  * bgo #468685 (crash in python module)
  * bgo #490431 (view files with name containing '%%')
  * bgo #508565 (improper utf-8 handling in advanced file rename tool)
  * bgo #510567 (failed assert when deleting dir)
  * bgo when creating ~/dir
  * bgo with updating of internal viewer status bar
  * Fixed crash when creating dir with absolute path on SMB share
  * Fixed crash when moving file with %% in the name
  * bgo with sporadically lost cursor in file pane
  * bgo with mounting of devices with spaces in the name
  * bgo with history of advrename templates
  * Build fixes
  New features:
  * Support for APE, FLAC and Vorbis metatags in advanced file
  rename templates
  * Support for Exif makernotes metatags in advanced file rename
  templates
  * Support for file metatags in advanced file rename templates
  * Metadata tags in file properties dialog
  * Use the GNOME authentication manager for user's security
  credentials
  * Open terminal in the current directory
  * Default GNOME theme icons for home, SMB and FTP locations
  * User defined shortcuts to bookmarks
  * Send files via email or instant messenger (using nautilus-sendto)
  * Updated help docs
  * Updated translations
  * New key bindings:
  CTRL+LEFT/RIGHT Copying the current working directory from
  the active filelist to the inactive one
  CTRL+N          Open new connection to remote server (replaces
  the old CTRL+G)
- Remove gnome-command-desktop.patch, it was upstreamed
- Remove no language sed, its no longer needed
* Fri Aug 10 2007 coolo@suse.de
- add C++ to buildrequires
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Mon Aug 06 2007 thoenig@suse.de
- update to 1.2.4 (skipped 1.2.2 and 1.2.3)
- drop obsolete patch gnome-commander-compiler-warning.patch
- Changes:
  * Support for python plugins
  * New python plugins:
  o Create MD5 (128-bit) checksum
  o Create SHA-1 (160-bit) checksum
  * Support for OLE and ODF metags in advanced file rename templates
  * User defined shortcuts (via configuration file)
  * SMB authentication
  * Displaying total size of files in selected subirs
  * 'cd -' for changing to the previous working directory
  * More intuitive usage of diff tool
  * Directory synchronizing
  * Creating directories 'mkdir -p' like
  * Updated help docs
  * New or updated translations: ar, bg, cs, dz, en_GB, fr, it, oc, pl, sl, sv
  * New key bindings:
  o CTRL+\ Go to the root directory
  o CTRL+` Go to the home directory
  o CTRL+5 Create MD5 (128-bit) checksum
  o CTRL+SHIFT+C Copy selected file names to clipboard
- Fixes:
  * Fixed problem with opening dirs by intviewer
  * Fixed problem with editing dirs by gcmd
  * Fixed problem #351952 (crash while doing a content search)
  * Fixed problem #352253 (scrolling behaviour of the viewer)
  * Fixed problem #360175 (crash while entering a dir with %%)
  * Fixed problem #371948 and #388970 (file path not escaped)
  * Fixed problem #412162 (build with --enable-python=no)
  * Build fixes
* Mon Jan 08 2007 ro@suse.de
- GNOME moved to /usr
* Tue Dec 26 2006 maw@suse.de
- Move to /usr.
* Wed Dec 13 2006 james@usr-local-bin.org
- specify mandir to allow building on older products
* Wed Oct 18 2006 jhargadon@suse.de
- update to version 1.2.1
- Fixed problem with scrollkeeper database update
- Fix for crash when cmd dir indicator is empty
- Fixed problem with refreshing after chown or chmod
- Fixed problem #333898 (deprecated icon suffix in desktop file)
- Fixed problem #347561 (plugin directory set incorrectly)
- Fixed problem #347817 (incorrect use of Makefile linker flags)
- Support for archives (gz,bz2,zip,lha,rar,jar,7-zip,zoo,deb,rpm)
  via FileRoller plugin
- New python-like indices for advanced file rename templates
- Support for Exif and IPTC metags in advanced file rename templates
- Fast access to advrename template placeholders
- In-place rename (SHIFT+F6)
- Revamped application menus
- Saving window state across sessions
- "Find" feature for internal viewer
- New icon for internal viewer
- Updated help docs
- New or updated translations
- New key bindings:
  CTRL+SHIFT+H   Toggle hidden files on/off
* Fri Oct 13 2006 danw@suse.de
- Update and re-enable gnome-commander-desktop.patch
* Fri Oct 13 2006 ro@suse.de
- added gnome-doc-utils-devel to buildreq
* Tue Sep 05 2006 anosek@suse.cz
- fixed subscript out of range warning [#188733]
* Sat Sep 02 2006 jhargadon@suse.de
- update to version 1.2.0
- Fixed problem #171051 (crashes on search with non-existent path)
- Fixed problem with the lack of gnome menu entry
- Fixed a crash when viewing SMB connections
- Fixed problem #309877 (strange artifacts with horizontal scrolling)
- Fixed problem #332258 (left/right start directory parameter)
- Fixed problem #336649 (permission numbers presentation)
- Fixed problem with crashes when using broken or non-matching regex
  pattern in advrename
- Monitoring of mounted volumes
- Rewritten internal viewer
- External tools and Exif/IPTC tags viewer for internal viewer
- Zooming for internal viewer
- Text selection for internal viewer
- Revamped toolbar layout
- Options for controlling copy and move overwriting
- Copying selected full file paths with SHIFT+click on toolbar button
- Better handling the change of the column sorting key
- Initial doc framework
- translation updates
- patch to fix compiler warning
* Tue Mar 07 2006 sbrabec@suse.cz
- New SuSE package, version 1.1.7.
openSUSE Build Service is sponsored by