File gudev-sharp3.spec of Package gudev-sharp3

#
# spec file for package gudev-sharp
#
# Copyright (c) 2015 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/
#


%define _name gudev-sharp

Name:           gudev-sharp3
Version:        3.0
Release:        0
License:        LGPL-2.1
Group:          Development/Languages/Mono
Summary:        .NET/C# Bindings for GUDev
Url:            http://github.com/mono/gudev-sharp
Source:         https://github.com/mono/gudev-sharp/releases/download/3.0.0/%{_name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  glib2-devel >= 2.6
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(glib-sharp-3.0)
BuildRequires:  pkgconfig(gapi-3.0)
BuildRequires:  mono-devel
BuildRequires:  monodoc-core
BuildRequires:  pkgconfig(gudev-1.0)

Requires:       mono-core
Requires:       libgudev-1_0-0
Requires:       gtk-sharp3

%description
C#/CLI bindings for GUDev

%package devel
License:        LGPL-2.1
Group:          Development/Languages/Mono
Summary:        .NET/C# Bindings for GUDev
Requires:       %{name} = %{version}

%description devel
Files for developing programs that use gudev-sharp

%prep
%setup -q -n %{_name}-%{version}

%build
%{?env_options}
%configure
make

%install
%makeinstall
mkdir -p %{buildroot}%{_datadir}/pkgconfig
mv  %{buildroot}%{_libdir}/pkgconfig/gudev-sharp-3.0.pc %{buildroot}%{_datadir}/pkgconfig/

%files
%defattr(-,root,root)
%doc ChangeLog NEWS COPYING AUTHORS README
%dir %{_prefix}/lib/mono/gudev-sharp-3.0
%{_prefix}/lib/mono/gudev-sharp-3.0/*.dll*
%dir %{_prefix}/lib/mono/gac/gudev-sharp/
%dir %{_prefix}/lib/mono/gac/gudev-sharp/*
%{_prefix}/lib/mono/gac/gudev-sharp/*/gudev-sharp.dll*

%files devel
%defattr(-,root,root)
%{_datadir}/pkgconfig/gudev-sharp-3.0.pc

%changelog
openSUSE Build Service is sponsored by