File xarchiver.spec of Package xarchiver

#
# spec file for package xarchiver (Version 0.4.6)
#
# Copyright (c) 2008 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:           xarchiver
BuildRequires:  dbus-1-devel glib2-devel gtk2-devel pango-devel startup-notification update-desktop-files
Summary:        Xarchiver is frontend for archiver
Version:        0.4.6
Release:        113
License:        GPL v2 or later
Url:            http://www.xfce.org/
Source:         xarchiver-%{version}.tar.bz2
Patch0:         xarchiver-desktop.patch
Patch1:         xarchiver-fix-compile.diff
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 
%patch0
%patch1 -p1

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

%install
make DESTDIR="$RPM_BUILD_ROOT" install
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/pixmaps/
install -c -m 644 ./icons/48x48/xarchiver.png \
        $RPM_BUILD_ROOT/usr/share/pixmaps/xarchiver.png
%find_lang %{name}
rm -rf %{buildroot}/usr/share/doc

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc doc/{html,images,xarchiver.css,xarchiver.docbook,xarchiver.xsl} README ChangeLog INSTALL 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

%changelog
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang  rpmlint warnings
* 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