X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=dante.spec;h=da3bfe4fc2a55794577339b1d2a8635ab65a1c88;hb=6e46456573ab6316a1e93e129683a5b0d0cd5689;hp=74cb8e1fa4674dc414a10392d69a8e56fbb419fa;hpb=57d524279aba90919e63213e8b95b01b46a1fa0f;p=packages%2Fdante.git diff --git a/dante.spec b/dante.spec index 74cb8e1..da3bfe4 100644 --- a/dante.spec +++ b/dante.spec @@ -1,14 +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) @@ -21,56 +21,74 @@ Norwegian consulting company. Commercial support is available. This package contains the dynamic libraries required to "socksify" existing applications to become socks clients. +%description -l pl +Dante jest darmow± implementacj± protoko³ów proxy: socks w wersji 4, +socks w wersji 5 (rfc1928) oraz msproxy. Mo¿e byæ u¿ywany jako zapora +pomiêdzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk +A/S - Norwesk± firmê konsultingow±. Komercyjne wsparcie jest dostêpne. + +Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania" +istniej±cych aplikacji tak by dzia³a³y one jako klienci socks. + %package server 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 %description server This package contains the socks proxy daemon and its documentation. The sockd is the server part of the Dante socks proxy package and allows socks clients to connect through it to the network. +%description server -l pl +Ten pakiet zawiera serwer proxy socks oraz jego dokumentacjê. Serwer +sockd jest czê¶ci± pakietu proxy Dante. Za po¶rednictwem serwera +klienci mog± ³±czyæ siê z serwerami w sieci. + %package devel 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 devel -l pl +Dodatkowe biblioteki wymagane do rozwoju programów korzystaj±cych z +socks. + %package static -Summary: static libraries for 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 static -l pl +Statyczne biblioteki socks. + %prep %setup -q %build +%{__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} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd +install example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir} -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 @@ -88,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