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