]> git.pld-linux.org Git - packages/dante.git/blob - dante.spec
s/BSD-type/BSD-like License
[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-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 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Dante is a free implementation of the proxy protocols socks version 4,
16 socks version 5 (rfc1928) and msproxy. It can be used as a firewall
17 between networks. It is being developed by Inferno Nettverk A/S, a
18 Norwegian consulting company. Commercial support is available.
19
20 This package contains the dynamic libraries required to "socksify"
21 existing applications to become socks clients.
22
23 %description -l pl
24 Dante jest darmow± implementacj± protoko³ów proxy: socks w wersji 4,
25 socks w wersji 5 (rfc1928) oraz msproxy. Mo¿e byæ u¿ywany jako zapora
26 pomiêdzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk
27 A/S - Norwesk± firmê konsultingow±. Komercyjne wsparcie jest dostêpne.
28
29 Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania"
30 istniej±cych aplikacji tak by dzia³a³y one jako klienci socks.
31
32 %package server
33 Summary:        A free Socks v4/v5 server implementation
34 Summary(pl):    Implementacja serwera Socks v4/5
35 Group:          Networking/Daemons
36 Requires:       %{name} = %{version}
37 Prereq:         /sbin/chkconfig
38
39 %description server
40 This package contains the socks proxy daemon and its documentation.
41 The sockd is the server part of the Dante socks proxy package and
42 allows socks clients to connect through it to the network.
43
44 %description server -l pl
45 Ten pakiet zawiera serwer proxy socks oraz jego dokumentacjê. Serwer
46 sockd jest czê¶ci± pakietu proxy Dante. Za po¶rednictwem serwera
47 klienci mog± ³±czyæ siê z serwerami w sieci.
48
49 %package devel
50 Summary:        development libraries for socks
51 Summary(pl):    Biblioteki developerskie dla socks
52 Group:          Networking/Daemons
53 Requires:       %{name} = %{version}
54
55 %description devel
56 Additional libraries required to compile programs that use socks.
57
58 %description devel -l pl
59 Dodatkowe biblioteki wymagane do rozwoju programów korzystaj±cych z
60 socks.
61
62 %package static
63 Summary:        Static libraries for socks
64 Summary(pl):    Statyczne biblioteki socks
65 Group:          Networking/Daemons
66 Requires:       %{name}-devel = %{version}
67
68 %description static
69 Static libraries for socks.
70
71 %description static -l pl
72 Statyczne biblioteki socks.
73
74 %prep
75 %setup -q
76
77 %build
78 %configure2_13
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
84
85 %{__make} install DESTDIR=$RPM_BUILD_ROOT
86
87 %{__install} example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
88
89 %{__install} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
90
91 gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO
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 *.gz
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.579814 seconds and 3 git commands to generate.