]> git.pld-linux.org Git - packages/bnc.git/blob - bnc.spec
b7a902a3becc90d9c1c50e6a39b813e10edd5b25
[packages/bnc.git] / bnc.spec
1 %define         _pre    beta2
2 Summary:        Simple IRC bouncer
3 Summary(pl):    Proste narzêdzie do tunelowania irc
4 Name:           bnc
5 Version:        2.8.8
6 Release:        0.%{_pre}.2
7 License:        GPL
8 Group:          Networking/Utilities
9 Source0:        http://gotbnc.com/files/%{name}%{version}%{_pre}.tar.gz
10 # Source0-md5:  5ec74cf2f8d50104c0d512c212417e86
11 Source1:        %{name}setup.pld
12 Patch0:         %{name}-c_fix.patch
13 BuildRequires:  autoconf
14 Requires:       dialog
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 BNC is a great IRC (Internet Relay Chat) proxying server under the GPL
19 (General Public License). It allows users to connect to chat servers
20 by bouncing off the computer which is running BNC. Basically, it
21 forwards the information from the user to the server and vise versa.
22
23 %description -l pl
24 BNC jest rewelacyjnym i prostym proxy do IRC (Internet Relay Chat) na
25 licencji GPL (General Public License). BNC pozwala u¿ytkownikom na
26 po³±czenie siê z serwerem IRC wykorzystuj±c do tego komputer na którym
27 BNC zosta³o uruchomione. Mówi±c w skrócie, BNC przekazuje informacje
28 od u¿ytkownika do serwera i vice versa.
29
30 %prep
31 %setup -q -n %{name}%{version}
32 %patch0 -p1
33
34 %build
35 cp -f /usr/share/automake/config.sub .
36 %{__autoconf}
37 %configure
38
39 %{__make} CFLAGS="%{rpmcflags}" OFLAGS="%{rpmcflags}" LIBS="-lcrypt"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 mkdir $RPM_BUILD_ROOT%{_bindir} -p
44 install bnc $RPM_BUILD_ROOT%{_bindir}
45 install bncchk $RPM_BUILD_ROOT%{_bindir}
46 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/bncsetup
47 install mkpasswd $RPM_BUILD_ROOT%{_bindir}/bncmkpasswd
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README CHANGES
55 %attr(755,root,root) %{_bindir}/*
This page took 0.06425 seconds and 3 git commands to generate.