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