X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dante.spec;h=da3bfe4fc2a55794577339b1d2a8635ab65a1c88;hb=6e46456573ab6316a1e93e129683a5b0d0cd5689;hp=93bc16bdc5806f9f056c90ce99ddccd07340e163;hpb=72015a4ebd11eb6d3e6ec268dbcafef85f61310b;p=packages%2Fdante.git diff --git a/dante.spec b/dante.spec index 93bc16b..da3bfe4 100644 --- a/dante.spec +++ b/dante.spec @@ -1,13 +1,14 @@ Summary: A free Socks v4/v5 client implementation Summary(pl): Implementacja klienta Socks v4/5 Name: dante -Version: 1.1.9 +Version: 1.1.12 Release: 1 License: BSD-like Group: Networking/Daemons Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz Source1: sockd.init URL: http://www.inet.no/dante/ +BuildRequires: autoconf BuildRequires: libwrap-devel Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -75,20 +76,19 @@ Statyczne biblioteki socks. %setup -q %build -%configure2_13 +%{__autoconf} +%configure %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d} %{__make} install DESTDIR=$RPM_BUILD_ROOT -%{__install} example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir} +install example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir} -%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd - -gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO +install %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd %clean rm -rf $RPM_BUILD_ROOT @@ -106,7 +106,7 @@ fi %files %defattr(644,root,root,755) -%doc *.gz +%doc BUGS CREDITS LICENSE NEWS README SUPPORT TODO %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf %attr(755,root,root) %{_libdir}/lib*.so.*.* %attr(755,root,root) %{_bindir}/socksify