File gsf-sharp.spec of Package gsf-sharp
#
# spec file for package gsf-sharp
#
# Copyright (c) 2013 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: gsf-sharp
BuildRequires: glib-sharp2
BuildRequires: gtk-sharp2
BuildRequires: gtk-sharp2-gapi
BuildRequires: intltool
BuildRequires: libgsf-devel
BuildRequires: libtool
BuildRequires: mono-basic
BuildRequires: mono-devel
BuildRequires: perl-XML-Parser
BuildRequires: update-desktop-files
%define prefix /usr
Version: 0.8.1
Release: 0
Summary: Mono Bindings for libgsf
License: GPL-2.0+
Group: Development/Libraries/GNOME
Url: http://go-mono.com
Source: %{name}-%{version}.tar.gz
Patch: %{name}-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: glib-sharp2
Requires: gtk-sharp2
Requires: mono-core
%description
Mono bindings for libgsf.
Authors:
--------
Martin Willemoes Hansen <mwh@sysrq.dk>
%prep
%setup -q
%patch
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
%configure --disable-static --with-pic --libexecdir=%{prefix}/lib
%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{prefix}/%{_lib}/libgsfglue.*
%{prefix}/%{_lib}/pkgconfig/gsf-sharp.pc
%{prefix}/lib/mono/gac/gsf-sharp
%{prefix}/lib/mono/gtk-sharp
%{prefix}/share/gapi-2.0/gsf-api.xml
%changelog