Handle 330 correctly.
[jelmer/ctrlproxy.git] / ctrlproxy.spec
1 Summary: ctrlproxy
2 Name: ctrlproxy
3 Version: 2.7
4 Release: 0
5 License: GPL
6 Group: Applications/Internet
7 Source: http://ctrlproxy.vernstok.nl/ctrlproxy-%{version}.tar.gz
8 Url: http://ctrlproxy.vernstok.nl/
9 Packager: Jelmer Vernooij <jelmer@nl.linux.org>
10 BuildRoot: /var/tmp/%{name}-buildroot
11
12 %description
13 ctrlproxy is an IRC server with multiserver support. It runs as a daemon
14 and connects to a number of IRC servers, then allows you to connect from
15 a workstation and work as the user that is logged in to the IRC server.
16 After you disconnect, it maintains the connection to the server. It acts
17 like any normal IRC server, so you can use any IRC client to connect to
18 it. It supports multiple client connections to one IRC server (under the
19 same nick), allowing you to connect to IRC using your IRC nick, even
20 while you have an IRC session open somewhere else. It supports logging
21 (in the same format as the irssi IRC client), password authentication,
22 and ctcp (in case no clients are connected).
23
24 %prep
25 %setup -q
26
27 %build
28 %configure
29 make CC="gcc -I/usr/kerberos/include -I`pwd`"
30
31 %install
32 [ -d "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
33 mkdir $RPM_BUILD_ROOT
34 %makeinstall \
35    mandir=$RPM_BUILD_ROOT/usr/share/man \
36    man1dir=$RPM_BUILD_ROOT/usr/share/man/man1 \
37    man5dir=$RPM_BUILD_ROOT/usr/share/man/man5 \
38    man7dir=$RPM_BUILD_ROOT/usr/share/man/man7 \
39    docdir=$RPM_BUILD_ROOT/usr/share/doc/ctrlproxy-%{version} \
40    modulesdir=$RPM_BUILD_ROOT/usr/lib/ctrlproxy \
41    moddir=$RPM_BUILD_ROOT/usr/lib/ctrlproxy
42
43 %clean
44 [ -d "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(-,root,root)
48 %doc AUTHORS COPYING TODO README ChangeLog
49 %dir /usr/bin
50 /usr/bin/*
51 %dir /usr/share/man
52 /usr/share/man/*
53 %dir /usr/lib/ctrlproxy
54 /usr/lib/ctrlproxy/*
55 %dir /usr/include
56 /usr/include/*
57 %dir /usr/share/ctrlproxy
58 /usr/share/ctrlproxy/*
59
60 %changelog
61 * Tue Nov 18 2003 Sean Reifschneider <jafo-rpms@tummy.com>
62 [Release 2.5-1]
63 - Updated for the 2.5 release.
64 - Making the "clean" mechanisms safer in the .spec file.