File evolution-sharp.spec of Package evolution-sharp

#
# spec file for package evolution-sharp
#
# Copyright (c) 2011 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/
#

Name:           evolution-sharp
BuildRequires:  evolution-data-server-devel
BuildRequires:  glib-sharp2
BuildRequires:  gtk-sharp2
BuildRequires:  gtk-sharp2-gapi
BuildRequires:  libtool
BuildRequires:  mono-devel
Requires:       mono
Version:        0.21.1
Release:        0
Summary:        Mono Bindings for Evolution
License:        GPL-2.0+
Group:          Productivity/Networking/Email/Clients
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
Provides:       %{name}-devel = %{version}-%{release}

%description
Mono bindings for Evolution.

%prep
%setup -q
%patch0 -p1
%patch2

%build
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/*.*a

%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
openSUSE Build Service is sponsored by