]> git.pld-linux.org Git - packages/bnc.git/blob - bnc.spec
7bb09c78f54658471d90b4147f30ef55ebcb81fb
[packages/bnc.git] / bnc.spec
1 # TODO
2 #  - bncsetup still not working, needs newer dialog
3 Summary:        Simple IRC bouncer
4 Summary(pl):    Proste narzêdzie do tunelowania irc
5 Name:           bnc
6 Version:        2.9.3
7 Release:        0.1
8 License:        GPL
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)
21
22 %description
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.
27
28 %description -l pl
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.
34
35 %prep
36 %setup -q -n %{name}%{version}
37 %patch0 -p1
38
39 %build
40 cp -f /usr/share/automake/config.sub .
41 %{__autoconf}
42 %configure \
43         --with-ssl
44
45 %{__make} \
46         CFLAGS="%{rpmcflags}" \
47         OFLAGS="%{rpmcflags}" \
48         LIBS="-lcrypt"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_bindir}
53
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
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc README Changelog motd example.conf
65 %attr(755,root,root) %{_bindir}/*
This page took 0.063352 seconds and 2 git commands to generate.