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