summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--btpd-asneeded.patch10
-rw-r--r--btpd.spec24
2 files changed, 12 insertions, 22 deletions
diff --git a/btpd-asneeded.patch b/btpd-asneeded.patch
deleted file mode 100644
index 3fcfa13..0000000
--- a/btpd-asneeded.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- btpd-0.13/btpd/Makefile.am.orig 2008-03-09 18:28:04.000000000 +0100
-+++ btpd-0.13/btpd/Makefile.am 2008-03-09 18:31:10.000000000 +0100
-@@ -15,6 +15,5 @@ btpd_SOURCES=\
- upload.c upload.h\
- util.c
-
--btpd_LDADD=../misc/libmisc.a ../libevent/libevent.a
-+btpd_LDADD=../misc/libmisc.a ../libevent/libevent.a @openssl_LDFLAGS@ -lcrypto -lm
- btpd_CPPFLAGS=-I$(top_srcdir)/misc -I$(top_srcdir)/libevent @openssl_CPPFLAGS@
--btpd_LDFLAGS=@openssl_LDFLAGS@ -lcrypto -lm
diff --git a/btpd.spec b/btpd.spec
index 80ee5fa..b773516 100644
--- a/btpd.spec
+++ b/btpd.spec
@@ -1,27 +1,26 @@
Summary: Bittorent client
Name: btpd
-Version: 0.13
+Version: 0.16
Release: 0.1
License: BSD-like
Group: Applications
-Source0: http://www.murmeldjur.se/btpd/%{name}-%{version}.tar.gz
-# Source0-md5: 0d9c4a672eea6f298fa6e44d94da1657
-URL: http://www.murmeldjur.se/btpd/
-Patch0: %{name}-asneeded.patch
+Source0: https://github.com/btpd/btpd/archive/v%{version}.tar.gz
+# Source0-md5: fdbd95e0c11ac11c4cc1c92d9da8f275
+URL: https://github.com/btpd/btpd/wiki/
BuildRequires: openssl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-btpd is a bittorrent client consisting of a daemon and client commands,
-which can be used to read and/or manipulate the daemon state. The daemon
-is capable of running several torrents simultaneously and only uses one
-tcp port. It's fairly low on resource usage and should be perfect for
-file distribution sites. Efficient downloads and ease of use makes this
-client a good choice for the casual user as well.
+btpd is a bittorrent client consisting of a daemon and client
+commands, which can be used to read and/or manipulate the daemon
+state. The daemon is capable of running several torrents
+simultaneously and only uses one tcp port. It's fairly low on resource
+usage and should be perfect for file distribution sites. Efficient
+downloads and ease of use makes this client a good choice for the
+casual user as well.
%prep
%setup -q
-%patch0 -p1
%build
%{__aclocal}
@@ -43,3 +42,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/bt*.1*