]> git.pld-linux.org Git - packages/bircd.git/blame - bircd.spec
- spaces -> tabs
[packages/bircd.git] / bircd.spec
CommitLineData
c702686f 1#
2# Conditional build
3%bcond_with smode # build with /smode command support
9687b028 4%bcond_with crypt # build with crypted passwords support
c702686f 5#
08f63afd 6Summary: Internet Relay Chat Server
7Summary(pl): Serwer IRC (Internet Relay Chat)
8Name: bircd
8faf4fa9 9%define _rc rc2
10%define _rel 1
c7230fb8 11Version: 2.1.0
12Release: 0.%{_rc}.%{_rel}
f0313430 13Epoch: 1
08f63afd 14License: GPL
15Group: Daemons
c7230fb8 16Source0: ftp://ftp.benet.uu3.net/pub/irc/%{name}-%{version}%{_rc}.tgz
17# Source0-md5: 03ba33362b131fc0441d9f1724207bf7
08f63afd 18Source1: %{name}.init
19Source2: %{name}.sysconfig
20Source3: %{name}.logrotate
474b4a4c 21Source4: %{name}.motd
08f63afd 22Patch0: %{name}-makefile.patch
23Patch1: %{name}-config.patch
e1d6a7e3 24Patch2: %{name}-smode.patch
25Patch3: %{name}-crypt.patch
474b4a4c 26URL: http://www.benet.uu3.net/~borg/
848069bf 27BuildRequires: rpmbuild(macros) >= 1.268
08f63afd 28Requires(post): fileutils
29Requires(post,preun): /sbin/chkconfig
08f63afd 30Requires(postun): /usr/sbin/groupdel
b9aa7658 31Requires(postun): /usr/sbin/userdel
848069bf
ER
32Requires(pre): /bin/id
33Requires(pre): /usr/bin/getgid
34Requires(pre): /usr/sbin/groupadd
35Requires(pre): /usr/sbin/useradd
36Requires: rc-scripts
b9aa7658 37Provides: group(ircd)
38Provides: user(ircd)
bf6c5f29 39Obsoletes: ircd
bf6c5f29 40Obsoletes: ircd-hybrid
41Obsoletes: ircd-ptlink
848069bf 42Obsoletes: ircd6
fb35bbdf 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
08f63afd 44
45%define _sysconfdir /etc/ircd
46%define _localstatedir /var/lib/ircd
47
48%description
49bIRCd is a small, simple and very fast IRC server. It is easy to
50configure and use. It also has support for IPv6.
51
08f63afd 52%description -l pl
53