File gsf-sharp.spec of Package gsf-sharp

#
# spec file for package gsf-sharp (Version 0.8.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:           gsf-sharp
BuildRequires:  glib-sharp2 gtk-sharp2 gtk-sharp2-gapi intltool libgsf-devel mono-basic mono-devel perl-XML-Parser update-desktop-files
%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
* Mon Mar 30 2009 crrodriguez@suse.de
- remove "la" files and static libraries
* Wed Jan 17 2007 joeshaw@suse.de
- Update to 0.8.1, which supports libgsf 1.14.
- Drop gtksourceview from the Requires and BuildRequires; there's
  no such dependency
* Wed Oct 11 2006 ro@suse.de
- make it build
* Sat Feb 25 2006 aj@suse.de
- Reduce BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 gekker@suse.de
- Fixup nfb and Requires for new gtk-sharp2 packaging
* Tue Nov 15 2005 joeshaw@suse.de
- Update to version 0.7, for use with libgsf 1.13
* Fri Nov 11 2005 sbrabec@suse.cz
- Bi-arch fix.
* Fri Nov 04 2005 joeshaw@suse.de
- Update to version 0.6
* Fri Oct 28 2005 joeshaw@suse.de
- Update to version 0.5
- Build as an arch package again, since there is now native glue
* Sun Sep 04 2005 aj@suse.de
- Update check-build.sh.
* Fri Aug 19 2005 gekker@suse.de
- Update to version 0.4
- Require gtk-sharp2
* Mon Aug 15 2005 ro@suse.de
- added check-build.sh
* Tue Jul 12 2005 sbrabec@suse.cz
- Build as noarch.
- Bi-arch fix.
* Thu Jun 16 2005 gekker@suse.de
- Fix build on x86_64
* Wed Jun 15 2005 gekker@suse.de
- Initial import version 0.3
openSUSE Build Service is sponsored by