X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=bnc.spec;h=0a9f9a63317fc8ce090ba586da02fda1922c0e22;hb=c79a29d902a11297048be7f1f0c006e10274cfc1;hp=887df2bf065e1e0b10551cdc1a2249b631e8d23d;hpb=62e4cea9300bb96ec87abb1ba2ffe6965e73a90f;p=packages%2Fbnc.git diff --git a/bnc.spec b/bnc.spec index 887df2b..0a9f9a6 100644 --- a/bnc.spec +++ b/bnc.spec @@ -1,35 +1,49 @@ Summary: Simple IRC bouncer Summary(pl): Proste narzêdzie do tunelowania irc Name: bnc -Version: 2.8.4 +Version: 2.9.1 Release: 1 License: GPL Group: Networking/Utilities -Group(de): Netzwerkwesen/Werkzeuge -Group(es): Red/Utilitarios -Group(pl): Sieciowe/Narzêdzia -Group(pt_BR): Rede/Utilitários -Source0: http://gotbnc.com/files/%{name}%{version}.tar.gz +Source0: ftp://distfiles.pld-linux.org/src/%{name}%{version}.tar.gz +# Source0-md5: ec371deebb7842b3703816296c7530a2 Source1: %{name}setup.pld +URL: http://gotbnc.com/ +BuildRequires: autoconf +BuildRequires: automake +Requires: dialog BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Easy-configurable IRC proxy. +BNC is a great IRC (Internet Relay Chat) proxying server under the GPL +(General Public License). It allows users to connect to chat servers +by bouncing off the computer which is running BNC. Basically, it +forwards the information from the user to the server and vise versa. %description -l pl -Prosty tunel IRC. +BNC jest rewelacyjnym i prostym proxy do IRC (Internet Relay Chat) na +licencji GPL (General Public License). BNC pozwala u¿ytkownikom na +po³±czenie siê z serwerem IRC wykorzystuj±c do tego komputer na którym +BNC zosta³o uruchomione. Mówi±c w skrócie, BNC przekazuje informacje +od u¿ytkownika do serwera i vice versa. %prep %setup -q -n %{name}%{version} -%configure2_13 - %build -%{__make} CC="gcc %{rpmcflags} -Wall" +cp -f /usr/share/automake/config.sub . +%{__autoconf} +%configure + +%{__make} \ + CFLAGS="%{rpmcflags}" \ + OFLAGS="%{rpmcflags}" \ + LIBS="-lcrypt" %install rm -rf $RPM_BUILD_ROOT -mkdir $RPM_BUILD_ROOT%{_bindir} -p +install -d $RPM_BUILD_ROOT%{_bindir} + install bnc $RPM_BUILD_ROOT%{_bindir} install bncchk $RPM_BUILD_ROOT%{_bindir} install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/bncsetup @@ -40,6 +54,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc README Changelog %attr(755,root,root) %{_bindir}/* - -%doc README CHANGES COPYING