]> git.pld-linux.org Git - packages/btpd.git/blob - btpd.spec
- fix building with --as-needed
[packages/btpd.git] / btpd.spec
1 Summary:        Bittorent client
2 Name:           btpd
3 Version:        0.13
4 Release:        0.1
5 License:        BSD-like
6 Group:          Applications
7 Source0:        http://www.murmeldjur.se/btpd/%{name}-%{version}.tar.gz
8 # Source0-md5:  0d9c4a672eea6f298fa6e44d94da1657
9 URL:            http://www.murmeldjur.se/btpd/
10 Patch0:         %{name}-asneeded.patch
11 BuildRequires:  openssl-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 btpd is a bittorrent client consisting of a daemon and client commands,
16 which can be used to read and/or manipulate the daemon state. The daemon
17 is capable of running several torrents simultaneously and only uses one
18 tcp port. It's fairly low on resource usage and should be perfect for
19 file distribution sites. Efficient downloads and ease of use makes this
20 client a good choice for the casual user as well.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 %{__aclocal}
28 %{__autoconf}
29 %{__automake}
30 %configure
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README
45 %attr(755,root,root) %{_bindir}/*
This page took 0.113824 seconds and 3 git commands to generate.