4 %define prefix %{_prefix}
6 Summary: A lightweight daemon for the Internet Relay Chat (IRC)
11 Group: System Environment/Daemons
12 URL: http://ngircd.barton.de/
13 Source: %{name}-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 BuildRequires: zlib-devel, openssl-devel
18 ngIRCd is a free, portable and lightweight Internet Relay Chat server for small
19 or private networks, developed under the GNU General Public License (GPL).
21 The server is quite easy to configure, can handle dynamic IP addresses, and
22 optionally supports IDENT, IPv6 connections, SSL-protected links, and PAM for
23 user authentication as well as character set conversion for legacy clients. The
24 server has been written from scratch and is not based on the forefather, the
38 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
42 ( cd usr/sbin; mv *-ngircd ngircd )
43 ( cd usr/share/man/man5; mv *-ngircd.conf.5 ngircd.conf.5 )
44 ( cd usr/share/man/man8; mv *-ngircd.8 ngircd.8 )
45 rm -fr usr/share/doc/ngircd
49 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
52 %defattr(755,root,root)
53 %doc AUTHORS COPYING ChangeLog INSTALL.md NEWS README.md doc/*
54 %config(noreplace) /etc
56 %{_mandir}/man5/ngircd.conf*
57 %{_mandir}/man8/ngircd.8*