File gdata-sharp.spec of Package gdata-sharp

# spec file for package gdata-sharp
# Copyright (c) 2015 SUSE LINUX 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

Name:           gdata-sharp
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono-devel
BuildRequires:  mono-nunit
Provides:       google-gdata
Obsoletes:      google-gdata
BuildArch:      noarch
Source:         libgoogle-data-mono-%{version}.tar.gz
Patch0:         gdata-sharp-core-pc.patch
Patch1:         gdata-sharp-runtime-4.5.patch
Summary:        Google GData .NET Client Library
License:        Apache-2.0
Group:          Development/Libraries/Other

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

%setup -q -n libgoogle-data-mono-%{version}
%patch1 -p1

make PREFIX=%{_prefix}

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

rm -rf "$RPM_BUILD_ROOT"


openSUSE Build Service is sponsored by