File gsf-sharp.spec of Package gsf-sharp

#
# spec file for package gsf-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/
#

# norootforbuild


Name:           gsf-sharp
BuildRequires:  glib-sharp2 gtk-sharp2 gtk-sharp2-gapi intltool libgsf-devel mono-basic mono-devel perl-XML-Parser update-desktop-files
BuildRequires:  libtool
%define prefix   /usr
License:        GPL v2 or later
Group:          Development/Libraries/GNOME
AutoReqProv:    on
Version:        0.8.1
Release:        256
Summary:        Mono Bindings for libgsf
Url:            http://go-mono.com
Source:         %{name}-%{version}.tar.gz
Patch:          %{name}-biarch.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       mono-core gtk-sharp2 glib-sharp2

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