File monotorrent-dbus-server.spec of Package monotorrent-dbus-server

Name:           monotorrent-dbus
Version:        0.2
Release:        1
License:        MIT/X11
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  mono mono-devel pkg-config monotorrent-devel monotorrent ndesk-dbus
Source: 	    %{name}-%{version}.tar.gz
Group:          Development/Libraries/Other
Summary:        Exposes MonoTorrent over DBus so applications can request downloads easily
Requires:       monotorrent >= 0.70

%description
monotorrent-dbus is a DBus service which exposes torrent downloading functionality

%prep
%setup -q

%build
%configure --libdir=%_libdir
make

%install
make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/monotorrent-dbus-server
%{_libdir}/monotorrent-dbus/MonoTorrent.dll
%{_libdir}/monotorrent-dbus/monotorrent-dbus-server.exe
%{_libdir}/monotorrent-dbus/monotorrent-dbus.dll
%{_libdir}/pkgconfig/monotorrent-dbus.pc
%{_datadir}/dbus-1/services/org.monotorrent.dbus.service
openSUSE Build Service is sponsored by