X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dante.spec;h=da3bfe4fc2a55794577339b1d2a8635ab65a1c88;hb=6e46456573ab6316a1e93e129683a5b0d0cd5689;hp=2e4f9d554294acfe04d9fec5b6ab84417eefc44d;hpb=4188851cf7ae4c5dc11e07e7a9555ba612d24df9;p=packages%2Fdante.git diff --git a/dante.spec b/dante.spec index 2e4f9d5..da3bfe4 100644 --- a/dante.spec +++ b/dante.spec @@ -1,15 +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-type +License: BSD-like Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery 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) @@ -35,8 +34,6 @@ istniej Summary: A free Socks v4/v5 server implementation Summary(pl): Implementacja serwera Socks v4/5 Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery Requires: %{name} = %{version} Prereq: /sbin/chkconfig @@ -54,14 +51,12 @@ klienci mog Summary: development libraries for socks Summary(pl): Biblioteki developerskie dla socks Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery Requires: %{name} = %{version} %description devel Additional libraries required to compile programs that use socks. -%description -l pl devel +%description devel -l pl Dodatkowe biblioteki wymagane do rozwoju programów korzystaj±cych z socks. @@ -69,34 +64,31 @@ socks. Summary: Static libraries for socks Summary(pl): Statyczne biblioteki socks Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery Requires: %{name}-devel = %{version} %description static Static libraries for socks. -%description -l pl static +%description static -l pl Statyczne biblioteki socks. %prep %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 @@ -114,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