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