File MonoTorrent.spec of Package MonoTorrent

Name:           monotorrent
Version:        0.72
Release:        1
License:        MIT/X11
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  mono mono-devel pkg-config

Source: 	%{name}-%{version}.tar.gz
Group:          Applications/Internet
Summary:        A .NET based bittorrent library


%package devel
Group:          Applications/Internet
Summary:        A .NET based bittorrent library

%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.

%description devel
The package config files for MonoTorrent

%prep

%setup

%build

%configure --disable-dht
%__make %{?jobs:-j%{jobs}}

%install

%makeinstall

%clean
rm -rf "$RPM_BUILD_ROOT"

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

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/monotorrent.pc
openSUSE Build Service is sponsored by