Name: gsf-sharp
Version: 0.8
Release: 2
Summary: Mono bindings for libgsf
Group: System Environment/Libraries
License: GPL
URL: http://go-mono.com
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mono-devel libgsf-devel gtk-sharp2-gapi gtk-sharp2 >= 1.9.5
Requires: libgsf
# Mono only availible on these:
ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc
# no mono on s390 for now: s390 s390x
%description
Mono bindings for libgsf
%prep
%setup -q
%build
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp /gacdir %{_libdir} /root ${RPM_BUILD_ROOT}%{_libdir}"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS NEWS README COPYING
%{_libdir}/libgsfglue.*
%{_libdir}/pkgconfig/gsf-sharp.pc
%{_libdir}/mono/gac/gsf-sharp
%{_libdir}/mono/gtk-sharp/*
%{_prefix}/share/gapi-2.0/gsf-api.xml
%changelog
* Fri Aug 18 2006 Alexander Larsson <alexl@redhat.com> - 0.8-2
- Rebuild with new mono libdir
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
- rebuild
* Wed Jun 21 2006 Alexander Larsson <alexl@redhat.com> - 0.8-1
- update to 0.8 which is for gsf 1.14.x
* Fri Jun 9 2006 Alexander Larsson <alexl@redhat.com> - 0.6-10
- Disable on s390* as mono doesn't build on s390 atm
* Tue Mar 21 2006 Caolan McNamara <caolanm@redhat.com> 0.6-9
- rebuild against new libgsf
* Wed Mar 01 2006 Karsten Hopp <karsten@redhat.de> 0.6-8
- Buildrequires: gtk-sharp2
* Sun Feb 12 2006 Christopher Aillon <caillon@redhat.com> 0.6-7
- Rebuild
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.6-6.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Tue Jan 31 2006 Christopher Aillon <caillon@redhat.com> 0.6-6
- Rebuild
* Sun Jan 22 2006 Alexander Larsson <alexl@redhat.com> 0.6-5
- Build on s390x
* Mon Jan 9 2006 Alexander Larsson <alexl@redhat.com> - 0.6-4
- Add s390 target
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Thu Dec 8 2005 Alexander Larsson <alexl@redhat.com> 0.6-3
- Rebuild for new libgsf
* Mon Nov 21 2005 Alexander Larsson <alexl@redhat.com> 0.6-2
- Fix lib64 issue in pkgconfig file
* Mon Nov 21 2005 Alexander Larsson <alexl@redhat.com> - 0.6-1
- Initial version