File monotorrent.spec of Package monotorrent

#
# spec file for package monotorrent (Version 0.72)
#
# 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:           monotorrent
Version:        0.72
Release:        8
License:        MIT/X11
Summary:        BitTorrent Client written in C#
Group:          Development/Libraries/Other
Url:            http://monotorrent.blogspot.com/
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  mono-core
BuildRequires:  mono-data
BuildRequires:  mono-devel
BuildRequires:  mono-web
BuildRequires:  pkg-config
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
MonoTorrent is a .NET based library which supports hosting a BitTorrent
Tracker and also hosting a BitTorrent client. As such it can be used to
both add torrent downloading functionality to an application and/or add
torrent hosting functionality.

%prep
%setup -q

%build
%configure --libdir=%{_prefix}/lib
%__make %{?jobs:-j%{jobs}}

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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README TODO
%{_prefix}/lib/%{name}
%{_datadir}/pkgconfig/%{name}.pc

%changelog
openSUSE Build Service is sponsored by