]> git.pld-linux.org Git - packages/ctrlproxy.git/blob - ctrlproxy.spec
ddbe50cd4a71e0dec34d88743d8282771dd0cc99
[packages/ctrlproxy.git] / ctrlproxy.spec
1 Summary:        An IRC proxy with multi-server and plugin support
2 Summary(pl):    Proxy dla IRC z obs³ug± wielu serwerów i "wtyczek"
3 Name:           ctrlproxy
4 Version:        2.3
5 Release:        2
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://jelmer.vernstok.nl/oss/ctrlproxy/%{name}-%{version}.tar.gz
9 # Source0-md5:  b807dedad9f158e45d927e1744c8d36c
10 Source1:        %{name}rc
11 URL:            http://jelmer.vernstok.nl/oss/ctrlproxy/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel
16 BuildRequires:  libtool
17 BuildRequires:  libxml2-devel
18 BuildRequires:  pcre-devel
19 BuildRequires:  popt-devel
20 BuildRequires:  tdb-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 ctrlproxy is a modular IRC proxy. It connects to a number of IRC
25 servers and then passes data it receives on to the modules that have
26 been loaded into it. Current modules are client_simple (for proxy
27 support) and log (for irssi-style log file generation).
28
29 By default, ctrlproxy listens for client connections on port 6668 and
30 any ports after that one, depending on the number of servers it is
31 connected to.
32
33 %description -l pl
34 ctrlproxy jest modularnym serwerem proxy dla IRC. £±czy siê z wieloma
35 serwerami IRC i przekazuje odebrane dane modu³om które zosta³y
36 za³adowane. W chwili obecnej dostêpne s± modu³y client_simple (do
37 obs³ugi proxy) i log (do tworzenia logów w formacie irssi).
38
39 Domy¶lnie, ctrlproxy oczekuje na po³±czenia od klientów na porcie 6668
40 i dowolnej liczbie kolejnych portów, zale¿nie od liczby serwerów do
41 których jest pod³±czony.
42
43 %package devel
44 Summary:        Header files and examples for developing ctrlproxy modules
45 Summary(pl):    Pliki nag³ówkowe i przyk³ady s³u¿±ce do rozwijania modu³ów ctrlproxy
46 Group:          Development/Libraries
47
48 %description devel
49 Header files and examples for developing ctrlproxy modules.
50
51 %description devel -l pl
52 Pliki nag³ówkowe i przyk³ady s³u¿±ce do rozwijania modu³ów ctrlproxy.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__gettextize}
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}rc
74 cp -r example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README TODO ctrlproxyrc.dtd ctrlproxyrc.example
82 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}rc
83 %attr(755,root,root) %{_bindir}/*
84 %{_mandir}/man1/ctrlproxy.1*
85 %{_mandir}/man5/ctrlproxyrc.5*
86 %attr(755,root,root) %{_libdir}/%{name}
87
88 %files devel
89 %defattr(644,root,root,755)
90 %{_examplesdir}/%{name}-%{version}
91 %{_includedir}/*
This page took 0.116218 seconds and 2 git commands to generate.