File mono-nat.spec of Package mono-nat

#
# spec file for package mono-nat (Version 1.0.2)
#
# Copyright (c) 2010 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:           mono-nat
Version:        1.0.2
Release:        1
License:        MIT
Summary:        A C sharp torrent library
Group:          Applications/Internet
Url:            http://projects.qnetp.net/projects/show/mono-nat
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  mono-core
BuildRequires:  mono-data
BuildRequires:  mono-devel
BuildRequires:  pkg-config
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%package devel
License:        MIT
Summary:        A .NET library for automatic port forwarding
Group:          Development/Libraries
Requires:       %{name} = %{version}
# NOTE: Ignore RPMLINT no-binary warning

%description
A .NET library for automatic port forwarding using either uPnP or nat-pmp

%description devel
A .NET library for automatic port forwarding using either uPnP or nat-pmp. The package config files for mono.nat

%prep
%setup -q

%build
%configure
%__make

%install
%__make install DESTDIR=%{buildroot}

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_libdir}/mono-nat

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/mono.nat.pc

%changelog