Blame


1 a5b59525 2002-10-01 alex %define name ngircd
2 71ae2b7d 2020-01-02 alex %define version 26.1
3 a5b59525 2002-10-01 alex %define release 1
4 a5b59525 2002-10-01 alex %define prefix %{_prefix}
5 a5b59525 2002-10-01 alex
6 606cdb69 2003-11-29 alex Summary: A lightweight daemon for the Internet Relay Chat (IRC)
7 a5b59525 2002-10-01 alex Name: %{name}
8 a5b59525 2002-10-01 alex Version: %{version}
9 a5b59525 2002-10-01 alex Release: %{release}
10 8f46681b 2009-01-13 alex License: GPLv2+
11 8f46681b 2009-01-13 alex Group: System Environment/Daemons
12 8f46681b 2009-01-13 alex URL: http://ngircd.barton.de/
13 a5b59525 2002-10-01 alex Source: %{name}-%{version}.tar.gz
14 8f46681b 2009-01-13 alex BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 8f46681b 2009-01-13 alex BuildRequires: zlib-devel, openssl-devel
16 a5b59525 2002-10-01 alex
17 a5b59525 2002-10-01 alex %description
18 a84cba8f 2020-05-26 alex ngIRCd is a free, portable and lightweight Internet Relay Chat server for small
19 a84cba8f 2020-05-26 alex or private networks, developed under the GNU General Public License (GPL).
20 a5b59525 2002-10-01 alex
21 a84cba8f 2020-05-26 alex The server is quite easy to configure, can handle dynamic IP addresses, and
22 a84cba8f 2020-05-26 alex optionally supports IDENT, IPv6 connections, SSL-protected links, and PAM for
23 a84cba8f 2020-05-26 alex user authentication as well as character set conversion for legacy clients. The
24 a84cba8f 2020-05-26 alex server has been written from scratch and is not based on the forefather, the
25 a84cba8f 2020-05-26 alex daemon of IRCNet.
26 a5b59525 2002-10-01 alex
27 a84cba8f 2020-05-26 alex
28 a5b59525 2002-10-01 alex %prep
29 8f46681b 2009-01-13 alex %setup -q
30 a5b59525 2002-10-01 alex %build
31 8f46681b 2009-01-13 alex %configure \
32 8f46681b 2009-01-13 alex --with-zlib \
33 8f46681b 2009-01-13 alex --with-openssl
34 a5b59525 2002-10-01 alex
35 8f46681b 2009-01-13 alex make %{?_smp_mflags}
36 8f46681b 2009-01-13 alex
37 a5b59525 2002-10-01 alex %install
38 a5b59525 2002-10-01 alex [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
39 a5b59525 2002-10-01 alex %makeinstall
40 a5b59525 2002-10-01 alex (
41 a5b59525 2002-10-01 alex cd "$RPM_BUILD_ROOT"
42 a5b59525 2002-10-01 alex ( cd usr/sbin; mv *-ngircd ngircd )
43 a5b59525 2002-10-01 alex ( cd usr/share/man/man5; mv *-ngircd.conf.5 ngircd.conf.5 )
44 a5b59525 2002-10-01 alex ( cd usr/share/man/man8; mv *-ngircd.8 ngircd.8 )
45 8f46681b 2009-01-13 alex rm -fr usr/share/doc/ngircd
46 a5b59525 2002-10-01 alex )
47 a5b59525 2002-10-01 alex
48 a5b59525 2002-10-01 alex %clean
49 a5b59525 2002-10-01 alex [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
50 a5b59525 2002-10-01 alex
51 a5b59525 2002-10-01 alex %files
52 a5b59525 2002-10-01 alex %defattr(755,root,root)
53 eb46f3d9 2020-05-26 alex %doc AUTHORS COPYING ChangeLog INSTALL.md NEWS README.md doc/*
54 a5b59525 2002-10-01 alex %config(noreplace) /etc
55 a5b59525 2002-10-01 alex %{_prefix}/sbin
56 8f46681b 2009-01-13 alex %{_mandir}/man5/ngircd.conf*
57 8f46681b 2009-01-13 alex %{_mandir}/man8/ngircd.8*