]> git.pld-linux.org Git - packages/dante.git/blob - dante.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/dante.git] / dante.spec
1 Summary:        A free Socks v4/v5 client implementation
2 Summary(pl):    Implementacja klienta Socks v4/5
3 Name:           dante
4 Version:        1.1.9
5 Release:        2
6 License:        BSD-like
7 Group:          Networking/Daemons
8 Source0:        ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz
9 Source1:        sockd.init
10 URL:            http://www.inet.no/dante/
11 BuildRequires:  libwrap-devel
12 BuildRequires:  autoconf
13 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Dante is a free implementation of the proxy protocols socks version 4,
17 socks version 5 (rfc1928) and msproxy. It can be used as a firewall
18 between networks. It is being developed by Inferno Nettverk A/S, a
19 Norwegian consulting company. Commercial support is available.
20
21 This package contains the dynamic libraries required to "socksify"
22 existing applications to become socks clients.
23
24 %description -l pl
25 Dante jest darmow± implementacj± protoko³ów proxy: socks w wersji 4,
26 socks w wersji 5 (rfc1928) oraz msproxy. Mo¿e byæ u¿ywany jako zapora
27 pomiêdzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk
28 A/S - Norwesk± firmê konsultingow±. Komercyjne wsparcie jest dostêpne.
29
30 Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania"
31 istniej±cych aplikacji tak by dzia³a³y one jako klienci socks.
32
33 %package server
34 Summary:        A free Socks v4/v5 server implementation
35 Summary(pl):    Implementacja serwera Socks v4/5
36 Group:          Networking/Daemons
37 Requires:       %{name} = %{version}
38 Prereq:         /sbin/chkconfig
39
40 %description server
41 This package contains the socks proxy daemon and its documentation.
42 The sockd is the server part of the Dante socks proxy package and
43 allows socks clients to connect through it to the network.
44
45 %description server -l pl
46 Ten pakiet zawiera serwer proxy socks oraz jego dokumentacjê. Serwer
47 sockd jest czê¶ci± pakietu proxy Dante. Za po¶rednictwem serwera
48 klienci mog± ³±czyæ siê z serwerami w sieci.
49
50 %package devel
51 Summary:        development libraries for socks
52 Summary(pl):    Biblioteki developerskie dla socks
53 Group:          Networking/Daemons
54 Requires:       %{name} = %{version}
55
56 %description devel
57 Additional libraries required to compile programs that use socks.
58
59 %description devel -l pl
60 Dodatkowe biblioteki wymagane do rozwoju programów korzystaj±cych z
61 socks.
62
63 %package static
64 Summary:        Static libraries for socks
65 Summary(pl):    Statyczne biblioteki socks
66 Group:          Networking/Daemons
67 Requires:       %{name}-devel = %{version}
68
69 %description static
70 Static libraries for socks.
71
72 %description static -l pl
73 Statyczne biblioteki socks.
74
75 %prep
76 %setup -q
77
78 %build
79 %{__autoconf}
80 %configure
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
86
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 install example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
90
91 install %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
92
93 gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %post server
102 /sbin/chkconfig --add sockd
103
104 %postun server
105 if [ $1 = 0 ]; then
106         /sbin/chkconfig --del sockd
107 fi
108
109 %files
110 %defattr(644,root,root,755)
111 %doc *.gz
112 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %attr(755,root,root) %{_bindir}/socksify
115 %{_mandir}/man5/socks.conf.5*
116
117 %files server
118 %defattr(644,root,root,755)
119 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf
120 %attr(754,root,root) /etc/rc.d/init.d/sockd
121 %attr(755,root,root) %{_sbindir}/sockd
122 %{_mandir}/man8/sockd.8*
123 %{_mandir}/man5/sockd.conf.5*
124
125 %files devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/lib*.so
128 %attr(755,root,root) %{_libdir}/lib*.la
129 %{_includedir}/*
130
131 %files static
132 %defattr(644,root,root,755)
133 %{_libdir}/lib*.a
This page took 0.072731 seconds and 3 git commands to generate.