%bcond_without tls # disable SSL/TLS support
%bcond_without cap # disable capabilities
#
-%define rel 5
+%define rel 1
Summary: Small, fast and secure FTP server
Summary(pl.UTF-8): Mały, szybki i bezpieczny serwer FTP
Name: pure-ftpd
-Version: 1.0.29
+Version: 1.0.34
Release: %{rel}%{?with_extra:extra}
Epoch: 0
License: BSD-like%{?with_extra:, GLPv2 for pure-config due to libcfg+ license}
Group: Daemons
-Source0: ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 12a074824b509f9e7684fab333ed6915
+Source0: http://download.pureftpd.org/pub/pure-ftpd/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: 8985aa1e2b81668b53e0311ca1040907
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}.sysconfig
%{?with_extra:%patch2 -p1}
%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
%configure \
CFLAGS="%{rpmcflags} %{rpmcppflags} -DALLOW_DELETION_OF_TEMPORARY_FILES=1 -DALWAYS_SHOW_RESOLVED_SYMLINKS=1" \
--with-boring \