File xarchiver.spec of Package xarchiver

#
# spec file for package xarchiver (Version 0.5.2)
#
# Copyright (c) 2009 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:           xarchiver
BuildRequires:  dbus-1-devel glib2-devel gtk2-devel pango-devel startup-notification update-desktop-files
Summary:        Xarchiver is frontend for archiver
Version:        0.5.2
Release:        1
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source:         %{name}-%{version}.tar.bz2
Group:          Productivity/Archiving/Compression
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Xarchiver it's only a frontend who runs the archiver and reports ITS
error messages.



Authors:
--------
    Giuseppe Torelli - Colossus - <colossus73@gmail.com>

%prep
%setup -q

%build
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR="$RPM_BUILD_ROOT" install
%find_lang %{name}
install -D -m 644 ./icons/48x48/xarchiver.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/xarchiver.png
%suse_update_desktop_file -i %{name} GTK Archiving Utility

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc README ChangeLog COPYING AUTHORS
%{_bindir}/xarchiver
%{_libexecdir}/thunar-archive-plugin/xarchiver*
%dir %{_libexecdir}/thunar-archive-plugin
%{_datadir}/pixmaps/xarchiver/
%{_datadir}/pixmaps/xarchiver.png
%{_datadir}/applications/xarchiver.*
%{_datadir}/icons/*/*/*/*
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/48x48/apps
%doc %{_datadir}/doc/xarchiver

%changelog
* Fri Nov 14 2008 prusnak@suse.cz
- updated to 0.5.2
  * Allow bzip2/lzop/gzip/lzma compressed files to be created
  through drag and drop
  * Fixed seg-fault when drag and drop to the sidebar
  * Fixed double entries display when adding to tar only archives
  * Changed suffix for tar.lzop to tar.lzo
  * Changed lzop suffix to lzo
  * Made the Options tab in the add dialog to be grayed out when using
  file compressors like bzip2 and gzip
  * Fixed fixed size of the iconview in the pref dialog
  * Fixed reset of the temp directory to use back to /tmp
  * Fixed bug when adding to rar archives with password
  * Made the password field to work when extracting with the -e switch
  a password protected archive
  * Fixed bug when adding with the thunar archive plugin
  * Fixed missed deletion of files with tar.lzop compressed archives
  * Enabled password field in the extract dialog when using the -e switch
  * Fixed disabled buttons after creating a new archive
* Sat Nov 08 2008 bwalle@suse.de
- Update to 0.5.1
  o Changes from 0.5.0 to 0.5.1
  * Added support to lzop thanks to Kevin Day.
  * Fixed bug when adding with tar.
  * Added turkish translation.
  o Changes from 0.4.6 to 0.5.0
  * Archive content can be browsed just like a file manager.
  * Archive content can also now be browsed through a sidepane.
  * Mime icon for each of the archive entries.
  * New archive type support: lzma and tar.lzma.
  * Files and directories can now be added into archive
  directories.
  * Files can be directly opened with the registered application
  within Xarchiver.
  * Progress window when using Xarchiver from the cmd-line or
  from Thunar.
  * Ability to add a comment for those archives supporting it.
  * Added a brand new preferences dialog to set Xarchiver's
  options.
  * Ability to save the archive content in text or HTML format.
  * The add and extract dialogs layout have been redesigned.
  * Multi-Extract dialog for extracting more archives in one
  shot with percentage progress window.
  * Context menu on each of the entries with cut/copy/paste
  ability from and to archives.
  * Ability to rename entries in the archives.
  * The cmd-line output window now displays each archiver's
  output.
  * Tabs are now reorderable.
  * Better menu layout.
  * Bug fixes.
  * Fixed several memory leaks thanks to valgrind.
* Tue Dec 04 2007 prusnak@suse.cz
- use %%find_lang macro
* Fri Aug 03 2007 stbinner@suse.de
- fix capitalization of GenericName in .desktop file
* Tue May 22 2007 prusnak@suse.cz
- sync with BuildService
* Sun Jan 21 2007 bwalle@suse.de
- fixed build errors (program compares a char* pointer with a
  string literal)
- fixed typo in RPM group
- fixed %%files section
* Tue Nov 28 2006 bwalle@suse.de
- updated to version 0.4.6
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version 0.4.0
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 0.3.9.2beta2
- package moved into BuildService
- added xarchiver-desktop.patch - small modification of desktop file
openSUSE Build Service is sponsored by