File galago-sharp.spec of Package galago-sharp

#
# spec file for package galago-sharp (Version 0.5.0)
#
# 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:           galago-sharp
BuildRequires:  dbus-1-mono fdupes glib-sharp2 gtk-sharp2-gapi libgalago-devel libxslt mono-basic mono-data-sqlite mono-devel mono-nunit
Version:        0.5.0
Release:        304
%define libgalago_version 0.5.2
Url:            http://www.galago-project.org/
Group:          System/GUI/GNOME
License:        LGPL v2.1 or later
Summary:        Galago#--Galago .NET Bindings
Source:         %{name}-%{version}.tar.bz2
Source1:        libgalago-%{libgalago_version}.tar.bz2
# libgalago tarball is a part of package libgalago
# Uncomment to save space: 
#NoSource:      1
# PATCH-FIX-OPENSUSE galago-sharp-mono-nunit.patch -- Use mono-nunit instead of nunit to build tests
Patch:          galago-sharp-mono-nunit.patch
Requires:       mono-core libgalago glib-sharp2
Provides:       %{name}-devel = %{version}-%{release}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
.NET bindings for the Galago desktop presence framework.



Authors:
--------
    Christian Hammond <chipx86@gnupdate.org>

%prep
%setup -a 1
%patch
mv libgalago-%{libgalago_version} sources/libgalago

%build
autoreconf -f -i
# FIXME: galago-sharp uses $(libdir) instead of $(prefix(/lib for mono files
%configure\
	--libdir=%{_prefix}/lib
make %{?jobs:-j%jobs}

%install
%makeinstall
mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig $RPM_BUILD_ROOT%{_datadir}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/gapi*/*.xml
%{_datadir}/pkgconfig/*.pc
%{_prefix}/lib/mono/gac/galago-sharp
%{_prefix}/lib/mono/galago-sharp

%changelog
* Fri May 01 2009 vuntz@novell.com
- Remove AutoReqProv: it's default now.
* Fri Jul 18 2008 vuntz@novell.com
- Tag patch
* Mon Aug 20 2007 sbrabec@suse.cz
- Commented out NoSource to provide comfortable rebuild.
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes.
* Mon Jun 18 2007 maw@suse.de
- Remove explicit runtime requirement on dbus-1-mono (#239624).
* Tue Mar 06 2007 sbrabec@suse.cz
- Build tests.
- Set libgalago tarball as NoSource.
* Thu Nov 30 2006 jhargadon@suse.de
- removed gtk-sharp and gkt-sharp-gapi and added lib-sharp2 to
  Requires (#223394)
* Mon Oct 23 2006 jhargadon@suse.de
- added libgalago source to eliminate the need to download it
  during build.  bug #214333
* Thu Sep 14 2006 jhargadon@suse.de
- updte to version 0.5.0
- Updated to work with libgalago 0.5.0
- Updated to use the gapi generator for the bindings.
  This should ensure more accurate bindings
- Now installs into the gapi-2.0 directory
- Added some unit tests
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 06 2005 aj@suse.de
- Update check-build.sh.
* Mon Aug 15 2005 ro@suse.de
- added check-dist.sh
* Wed Jun 08 2005 sbrabec@suse.cz
- Added gtk-sharp-gapi to Requires to fix directory ownership.
* Wed Jun 08 2005 sbrabec@suse.cz
- New SuSE package, version 0.3.2.
openSUSE Build Service is sponsored by