]> git.pld-linux.org Git - packages/bnc.git/blobdiff - bnc.spec
- SECURITY note.
[packages/bnc.git] / bnc.spec
index 48509e9add499093a7fe1b25ad2c9228b768af4a..07f0e1265ddc1518fd91228d4bc2cb9b963cac5a 100644 (file)
--- a/bnc.spec
+++ b/bnc.spec
@@ -1,12 +1,22 @@
+# TODO:
+# - SECURITY: http://securitytracker.com/alerts/2004/Oct/1011583.html
+#
+%define                _pre    beta2
 Summary:       Simple IRC bouncer
 Summary(pl):   Proste narzêdzie do tunelowania irc
 Name:          bnc
-Version:       2.8.4
-Release:       3
+Version:       2.8.8
+Release:       0.%{_pre}.3
 License:       GPL
 Group:         Networking/Utilities
-Source0:       http://gotbnc.com/files/%{name}%{version}.tar.gz
+Source0:       http://gotbnc.com/files/%{name}%{version}%{_pre}.tar.gz
+# Source0-md5: 5ec74cf2f8d50104c0d512c212417e86
 Source1:       %{name}setup.pld
+Patch0:                %{name}-c_fix.patch
+URL:           http://gotbnc.com/
+BuildRequires: autoconf
+BuildRequires: automake
+Requires:      dialog
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,15 +34,22 @@ od u
 
 %prep
 %setup -q -n %{name}%{version}
+%patch0 -p1
 
 %build
-%configure2_13
+cp -f /usr/share/automake/config.sub .
+%{__autoconf}
+%configure
 
-%{__make} CC="%{__cc} %{rpmcflags} -Wall"
+%{__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
This page took 0.071667 seconds and 4 git commands to generate.