]> git.pld-linux.org Git - packages/dante.git/blob - dante.spec
- use new %doc.
[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.12
5 Release:        1
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:  autoconf
12 BuildRequires:  libwrap-devel
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 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %post server
100 /sbin/chkconfig --add sockd
101
102 %postun server
103 if [ $1 = 0 ]; then
104         /sbin/chkconfig --del sockd
105 fi
106
107 %files
108 %defattr(644,root,root,755)
109 %doc BUGS CREDITS LICENSE NEWS README SUPPORT TODO
110 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf
111 %attr(755,root,root) %{_libdir}/lib*.so.*.*
112 %attr(755,root,root) %{_bindir}/socksify
113 %{_mandir}/man5/socks.conf.5*
114
115 %files server
116 %defattr(644,root,root,755)
117 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf
118 %attr(754,root,root) /etc/rc.d/init.d/sockd
119 %attr(755,root,root) %{_sbindir}/sockd
120 %{_mandir}/man8/sockd.8*
121 %{_mandir}/man5/sockd.conf.5*
122
123 %files devel
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/lib*.so
126 %attr(755,root,root) %{_libdir}/lib*.la
127 %{_includedir}/*
128
129 %files static
130 %defattr(644,root,root,755)
131 %{_libdir}/lib*.a
This page took 0.133674 seconds and 3 git commands to generate.