LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File giver.spec of Package giver (Project DISCONTINUED:openSUSE:11.2)

#
# spec file for package giver (Version 0.1.8)
#
# 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:           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:        206
License:        MIT License (or similar)
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
%patch -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