]> git.pld-linux.org Git - packages/dante.git/blame - dante.spec
- added headers to devel,
[packages/dante.git] / dante.spec
CommitLineData
9d07af49 1Summary: A free Socks v4/v5 client implementation
2Name: dante
3Version: 1.1.9
4Release: 1
5License: BSD-type
6Group: Networking/Daemons
57d52427 7Group(de): Netzwerkwesen/Server
8Group(pl): Sieciowe/Serwery
9d07af49 9Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz
10Source1: sockd.init
57d52427 11URL: http://www.inet.no/dante/
12BuildRequires: libwrap-devel
9d07af49 13Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
9d07af49 15%description
16Dante is a free implementation of the proxy protocols socks version 4,
17socks version 5 (rfc1928) and msproxy. It can be used as a firewall
18between networks. It is being developed by Inferno Nettverk A/S, a
19Norwegian consulting company. Commercial support is available.
20
21This package contains the dynamic libraries required to "socksify"
22existing applications to become socks clients.
23
24%package server
25Summary: A free Socks v4/v5 server implementation
26Group: Networking/Daemons
57d52427 27Group(de): Netzwerkwesen/Server
28Group(pl): Sieciowe/Serwery
29Requires: %{name} = %{version}
9d07af49 30
31%description server
32This package contains the socks proxy daemon and its documentation.
33The sockd is the server part of the Dante socks proxy package and
34allows socks clients to connect through it to the network.
35
36%package devel
37Summary: development libraries for socks
38Group: Networking/Daemons
57d52427 39Group(de): Netzwerkwesen/Server
40Group(pl): Sieciowe/Serwery
41Requires: %{name} = %{version}
9d07af49 42
43%description devel
44Additional libraries required to compile programs that use socks.
45
57d52427 46%package static
47Summary: static libraries for socks
48Group: Networking/Daemons
49Group(de): Netzwerkwesen/Server
50Group(pl): Sieciowe/Serwery
51Requires: %{name}-devel = %{version}
52
53%description static
54Static libraries for socks.
9d07af49 55
57d52427 56%prep
9d07af49 57%setup -q
58
59%build
57d52427 60%configure
9d07af49 61%{__make}
62
63%install
64rm -rf $RPM_BUILD_ROOT
57d52427 65%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
9d07af49 66
57d52427 67%{__make} install DESTDIR=$RPM_BUILD_ROOT
9d07af49 68
57d52427 69%{__install} example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
9d07af49 70
57d52427 71%{__install} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
9d07af49 72
57d52427 73gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO
9d07af49 74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
57d52427 78%post -p /sbin/ldconfig
9d07af49 79%postun -p /sbin/ldconfig
80
81%post server
82/sbin/chkconfig --add sockd
83
84%postun server
85if [ $1 = 0 ]; then
57d52427 86 /sbin/chkconfig --del sockd
9d07af49 87fi
88
89%files
90%defattr(644,root,root,755)
57d52427 91%doc *.gz
92%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf
93%attr(755,root,root) %{_libdir}/lib*.so.*.*
9d07af49 94%attr(755,root,root) %{_bindir}/socksify
95%{_mandir}/man5/socks.conf.5*
9d07af49 96
97%files server
98%defattr(644,root,root,755)
57d52427 99%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf
100%attr(754,root,root) /etc/rc.d/init.d/sockd
9d07af49 101%attr(755,root,root) %{_sbindir}/sockd
102%{_mandir}/man8/sockd.8*
103%{_mandir}/man5/sockd.conf.5*
104
9d07af49 105%files devel
106%defattr(644,root,root,755)
57d52427 107%attr(755,root,root) %{_libdir}/lib*.so
108%attr(755,root,root) %{_libdir}/lib*.la
109%{_includedir}/*
110
111%files static
112%defattr(644,root,root,755)
113%{_libdir}/lib*.a
This page took 0.042164 seconds and 4 git commands to generate.