File: ctrlproxy.spec

package info (click to toggle)
ctrlproxy 3.0.7-1
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,668 kB
  • ctags: 2,045
  • sloc: ansic: 15,358; sh: 2,805; xml: 1,078; python: 346; makefile: 302; perl: 18
file content (64 lines) | stat: -rw-r--r-- 2,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Summary: ctrlproxy
Name: ctrlproxy
Version: 2.7
Release: 0
License: GPL
Group: Applications/Internet
Source: http://www.ctrlproxy.org/releases/ctrlproxy-%{version}.tar.gz
Url: http://www.ctrlproxy.org/
Packager: Jelmer Vernooij <jelmer@samba.org>
BuildRoot: /var/tmp/%{name}-buildroot

%description
ctrlproxy is an IRC server with multiserver support. It runs as a daemon
and connects to a number of IRC servers, then allows you to connect from
a workstation and work as the user that is logged in to the IRC server.
After you disconnect, it maintains the connection to the server. It acts
like any normal IRC server, so you can use any IRC client to connect to
it. It supports multiple client connections to one IRC server (under the
same nick), allowing you to connect to IRC using your IRC nick, even
while you have an IRC session open somewhere else. It supports logging
(in the same format as the irssi IRC client), password authentication,
and ctcp (in case no clients are connected).

%prep
%setup -q

%build
%configure
make CC="gcc -I/usr/kerberos/include -I`pwd`"

%install
[ -d "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%makeinstall \
   mandir=$RPM_BUILD_ROOT/usr/share/man \
   man1dir=$RPM_BUILD_ROOT/usr/share/man/man1 \
   man5dir=$RPM_BUILD_ROOT/usr/share/man/man5 \
   man7dir=$RPM_BUILD_ROOT/usr/share/man/man7 \
   docdir=$RPM_BUILD_ROOT/usr/share/doc/ctrlproxy-%{version} \
   modulesdir=$RPM_BUILD_ROOT/usr/lib/ctrlproxy \
   moddir=$RPM_BUILD_ROOT/usr/lib/ctrlproxy

%clean
[ -d "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING TODO README ChangeLog
%dir /usr/bin
/usr/bin/*
%dir /usr/share/man
/usr/share/man/*
%dir /usr/lib/ctrlproxy
/usr/lib/ctrlproxy/*
%dir /usr/include
/usr/include/*
%dir /usr/share/ctrlproxy
/usr/share/ctrlproxy/*

%changelog
* Tue Nov 18 2003 Sean Reifschneider <jafo-rpms@tummy.com>
[Release 2.5-1]
- Updated for the 2.5 release.
- Making the "clean" mechanisms safer in the .spec file.