File gdata-sharp.spec of Package gdata-sharp

#
# spec file for package gdata-sharp (Version 1.4.0.2)
#
# 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/
#



Name:           gdata-sharp
Version:        1.4.0.2
Release:        2
License:        Other License(s), see package
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono-devel mono-nunit
Provides:       google-gdata
Obsoletes:      google-gdata
BuildArch:      noarch
Source:         libgoogle-data-mono-%{version}.tar.gz
Patch0:         gdata-sharp-core-pc.patch
Group:          Development/Libraries/Other
Summary:        Google GData .NET Client Library

%description
The GData .NET Client Library provides a library and source code that make it easy to access data through Google Data APIs.

%prep
%setup -q -n libgoogle-data-mono-%{version}
%patch0

%build
make PREFIX=%{_prefix}

%install
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
mkdir %{buildroot}%{_datadir}
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_datadir}/

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_prefix}/lib/mono/gac/Google.GData.*
%{_prefix}/lib/mono/GData-Sharp
%{_datadir}/pkgconfig/gdata-sharp*.pc
%changelog
openSUSE Build Service is sponsored by