]> git.pld-linux.org Git - packages/bnc.git/blob - bnc.spec
d1ac451721e881f8fd8eab1cecd6a2b010b97fee
[packages/bnc.git] / bnc.spec
1 Summary:        Simple IRC bouncer
2 Summary(pl):    Proste narzêdzie do tunelowania irc
3 Name:           bnc
4 Version:        2.9.2
5 Release:        1
6 License:        GPL
7 Group:          Networking/Utilities
8 Source0:        ftp://distfiles.pld-linux.org/src/%{name}%{version}.tar.gz
9 # Source0-md5:  edb144a029db71d52049a0a61c58d445
10 Source1:        %{name}setup.pld
11 URL:            http://gotbnc.com/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
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
33 %build
34 cp -f /usr/share/automake/config.sub .
35 %{__autoconf}
36 %configure
37
38 %{__make} \
39         CFLAGS="%{rpmcflags}" \
40         OFLAGS="%{rpmcflags}" \
41         LIBS="-lcrypt"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_bindir}
46
47 install bnc $RPM_BUILD_ROOT%{_bindir}
48 install bncchk $RPM_BUILD_ROOT%{_bindir}
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/bncsetup
50 install mkpasswd $RPM_BUILD_ROOT%{_bindir}/bncmkpasswd
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README Changelog
58 %attr(755,root,root) %{_bindir}/*
This page took 0.07712 seconds and 2 git commands to generate.