]> git.pld-linux.org Git - packages/proftpd.git/blame - proftpd.spec
- outdated
[packages/proftpd.git] / proftpd.spec
CommitLineData
4934f71a
AF
1#
2# Conditional builds:
72ab0692
AF
3# bcond_off_pam - disable PAM support
4# bcond_on_ldap - enable LDAP suppoer
5# bcond_on_mysql - enable MySQL suppoer
6# bcond_on_quota - enable quota support
7# bcond_on_linuxprivs - enable libcap support
15a3b9cf 8# bcond_off_ipv6 - disable IPv6 and TCPD support
32124831 9# bcond_off_ssl - disbale TLS/SSL support
72ab0692 10# --without pam --with ldap --with mysql --with quota --with linuxprivs
060127a7 11Summary: PROfessional FTP Daemon with apache-like configuration syntax
12Summary(pl): PROfesionalny serwer FTP
13Name: proftpd
de020e22 14Version: 1.2.2rc1
631085fb 15Release: 1
3915e5da 16License: GPL
060127a7 17Group: Daemons
be566d02 18Group(de): Server
060127a7 19Group(pl): Serwery
dfe8b502 20Source0: ftp://ftp.proftpd.org/distrib/source/%{name}-%{version}.tar.bz2
a96efe6e
SZ
21Source1: %{name}.conf
22Source2: %{name}.logrotate
f2119458 23Source3: ftp.pamd
9a9f906b 24Source4: %{name}.inetd
15a3b9cf
JR
25Source5: %{name}.sysconfig
26Source6: %{name}.init
27Source7: %{name}-mod_tcpd.c
2e001bf5 28Patch0: %{name}-1.2.1-v6-20010303.patch.gz
32124831 29# ftp://ftp.runestig.com/pub/proftpd-tls/
2e001bf5 30Patch1: %{name}-1.2.1+v6-tls.20010303.patch.gz
cf4c34bc
JR
31Patch2: %{name}-umode_t.patch
32Patch3: %{name}-glibc.patch
33Patch4: %{name}-paths.patch
4526b024
AF
34Patch5: %{name}-release.patch
35Patch6: %{name}-noautopriv.patch
de020e22 36Patch7: %{name}-DESTDIR.patch
37Patch8: %{name}-wtmp.patch
38Patch9: %{name}-link.patch
dfe8b502 39URL: http://www.proftpd.org/
72ab0692 40%{?!bcond_off_pam:BuildRequires: pam-devel}
32124831
JR
41%{?bcond_on_ldap:BuildRequires: openldap-devel}
42%{?bcond_on_mysql:BuildRequires: mysql-devel}
43%{?!bcond_off_ssl:BuildRequires: openssl-devel}
067a0562 44BuildRequires: libwrap-devel
d916f4aa 45Prereq: awk
5178b82d 46Prereq: rc-inetd
64f0725c 47Prereq: fileutils
060127a7 48Requires: logrotate
72ab0692 49%{?!bcond_off_pam:Requires: pam >= 0.67}
15a3b9cf 50Requires: %{name}-setup = %{version}
9a9f906b 51Requires: inetdaemon
060127a7 52Provides: ftpserver
d5382fca 53BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9a9f906b 54Obsoletes: ftpserver
060127a7 55Obsoletes: anonftp
d2103923 56Obsoletes: bftpd
3915e5da 57Obsoletes: ftpd-BSD
417afba9 58Obsoletes: heimdal-ftpd
bb67c86e 59Obsoletes: linux-ftpd
d2103923 60Obsoletes: pure-ftpd
61Obsoletes: wu-ftpd
12250d98 62
3531a682 63%define _sysconfdir /etc/ftpd
64%define _localstatedir /var/run
65
12250d98 66%description
67ProFTPD is a highly configurable ftp daemon for unix and unix-like
64843696 68operating systems. ProFTPD is designed to be somewhat of a "drop-in"
3915e5da 69replacement for wu-ftpd. Full online documentation is available at
70http://www.proftpd.org/, including a server configuration directive
71reference manual.
12250d98 72
73%description -l pl
f2119458 74