]> git.pld-linux.org Git - packages/bnc.git/blob - bnc.spec
- URL, BR: automake
[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}.3
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 URL:            http://gotbnc.com/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 Requires:       dialog
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 BNC is a great IRC (Internet Relay Chat) proxying server under the GPL
21 (General Public License). It allows users to connect to chat servers
22 by bouncing off the computer which is running BNC. Basically, it
23 forwards the information from the user to the server and vise versa.
24
25 %description -l pl
26 BNC jest rewelacyjnym i prostym proxy do IRC (Internet Relay Chat) na
27 licencji GPL (General Public License). BNC pozwala u¿ytkownikom na
28 po³±czenie siê z serwerem IRC wykorzystuj±c do tego komputer na którym
29 BNC zosta³o uruchomione. Mówi±c w skrócie, BNC przekazuje informacje
30 od u¿ytkownika do serwera i vice versa.
31
32 %prep
33 %setup -q -n %{name}%{version}
34 %patch0 -p1
35
36 %build
37 cp -f /usr/share/automake/config.sub .
38 %{__autoconf}
39 %configure
40
41 %{__make} \
42         CFLAGS="%{rpmcflags}" \
43         OFLAGS="%{rpmcflags}" \
44         LIBS="-lcrypt"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_bindir}
49
50 install bnc $RPM_BUILD_ROOT%{_bindir}
51 install bncchk $RPM_BUILD_ROOT%{_bindir}
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/bncsetup
53 install mkpasswd $RPM_BUILD_ROOT%{_bindir}/bncmkpasswd
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README CHANGES
61 %attr(755,root,root) %{_bindir}/*
This page took 0.051273 seconds and 3 git commands to generate.