File evolution-sharp.spec of Package evolution-sharp
#
# spec file for package evolution-sharp (Version 0.21.1)
#
# 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: evolution-sharp
BuildRequires: evolution-data-server-devel
BuildRequires: glib-sharp2
BuildRequires: gtk-sharp2
BuildRequires: gtk-sharp2-gapi
BuildRequires: licenses
BuildRequires: mono-devel
License: GPL v2 or later
Group: Productivity/Networking/Email/Clients
Requires: mono
Version: 0.21.1
Release: 2
Summary: Mono Bindings for Evolution
Url: http://gnome.org/projects/evolution/
Source: http://ftp.gnome.org/pub/gnome/sources/evolution-sharp/0.17/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM evolution-sharp-newer-evo.patch vuntz@novell.com
Patch0: evolution-sharp-newer-evo.patch
# PATCH-FIX-UPSTREAM task-field-changes.diff bgo583866
Patch2: task-field-changes.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: licenses
Provides: %{name}-devel = %{version}-%{release}
%description
Mono bindings for Evolution.
Authors:
--------
Mike Kestner <mkestner@ximian.com>
%prep
%setup -q
%patch0 -p1
%patch2
%build
autoreconf -fi
%configure
%__make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.*a
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
%{_datadir}/gapi-2.0/evolution-api.xml
%{_libdir}/libevolutionglue.so
%{_libdir}/pkgconfig/evolution-sharp.pc
%{_prefix}/lib/mono/evolution-sharp
%{_prefix}/lib/mono/gac/evolution-sharp
%changelog