2 # - bncsetup still not working, needs newer dialog
3 Summary: Simple IRC bouncer
4 Summary(pl): Proste narzêdzie do tunelowania irc
9 Group: Networking/Utilities
10 # http://gotbnc.com/files/%{name}%{version}.tar.gz - doesn't work with distfiles, reason unknown
11 #Source0: ftp://distfiles.pld-linux.org/src/%{name}%{version}.tar.gz
12 Source0: http://www.gotbnc.com/files/%{name}%{version}.tar.gz
13 # Source0-md5: 5012f3eb112f0fda545b1aaf66a06150
14 Patch0: %{name}-setup.patch
15 URL: http://gotbnc.com/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: openssl-devel
19 Requires: dialog >= 1:0.70
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 BNC is a great IRC (Internet Relay Chat) proxying server under the GPL
24 (General Public License). It allows users to connect to chat servers
25 by bouncing off the computer which is running BNC. Basically, it
26 forwards the information from the user to the server and vise versa.
29 BNC jest rewelacyjnym i prostym proxy do IRC (Internet Relay Chat) na
30 licencji GPL (General Public License). BNC pozwala u¿ytkownikom na
31 po³±czenie siê z serwerem IRC wykorzystuj±c do tego komputer na którym
32 BNC zosta³o uruchomione. Mówi±c w skrócie, BNC przekazuje informacje
33 od u¿ytkownika do serwera i vice versa.
36 %setup -q -n %{name}%{version}
40 cp -f /usr/share/automake/config.sub .
46 CFLAGS="%{rpmcflags}" \
47 OFLAGS="%{rpmcflags}" \
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_bindir}
54 install bnc $RPM_BUILD_ROOT%{_bindir}
55 install bncchk $RPM_BUILD_ROOT%{_bindir}
56 install bncsetup $RPM_BUILD_ROOT%{_bindir}/bncsetup
57 install mkpasswd $RPM_BUILD_ROOT%{_bindir}/bncmkpasswd
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc README Changelog motd example.conf
65 %attr(755,root,root) %{_bindir}/*