File giver.spec of Package giver

#
# spec file for package giver (Version 0.1.8)
#
# Copyright (c) 2007 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:           giver
Url:            http://idea.opensuse.org/content/ideas/easy-file-sharing
BuildRequires:  avahi-mono fdupes gnome-sharp2 gtk-sharp2 gtk2-devel mono-devel monodoc ndesk-dbus ndesk-dbus-glib notify-sharp perl-XML-Parser pkg-config update-desktop-files
BuildArch:      noarch
Version:        0.1.8
Release:        33
License:        X11/MIT
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       ndesk-dbus ndesk-dbus-glib notify-sharp avahi-mono
Source:         %{name}-%{version}.tar.bz2
Patch:          bnc-326064.txt
Group:          Productivity/Networking/File-Sharing
Summary:        A simple file sharing desktop application

%description
Giver is a simple desktop file sharing application based that uses
Avahi and http to advertise and transfer files.



Authors:
--------
    Calvin Gaisford (calvinrg@gmail.com)

%prep
%setup
%patch0 -p1

%build
%configure --libdir=%{_prefix}/lib
make %{?jobs:-j%jobs}

%install
make DESTDIR="$RPM_BUILD_ROOT" install
%suse_update_desktop_file -N "Giver" %name System Network 
%find_lang giver
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT
%endif

%clean
### rm -rf "$RPM_BUILD_ROOT"

%files -f giver.lang
%defattr(-,root,root)
%dir %{_prefix}/lib/giver
%{_prefix}/lib/giver/*
%{_bindir}/giver
%dir %{_datadir}/giver
%{_datadir}/giver/*
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
### %{_datadir}/locale/*
%{_datadir}/applications/*
%changelog
* Fri Sep 21 2007 - mauro@suse.de
- Added bnc-326064.txt to fix bnc #326064
* Sun Sep 02 2007 - ro@suse.de
- remove lib64 usage as package is noarch
* Fri Aug 03 2007 - cgaisford@suse.de
- Updated to 0.1.8 which has a new license
* Fri Jul 27 2007 - maw@suse.de
- Realize mindblowing space savings by bzipping the source tarball
- Add some %%fdupes goodness
- Add some %%find_lang goodness
- Don't attempt to package directories that are owned by other
  packages
- Build as noarch.
* Thu Jul 26 2007 - mauro@suse.de
- Version 0.1.7 just added to autobuild
openSUSE Build Service is sponsored by