]> git.pld-linux.org Git - packages/delegate.git/blob - delegate.spec
- new, almost raw
[packages/delegate.git] / delegate.spec
1 # TODO:
2 # - path, files, configs, fixes etc (see http://cvs.openpkg.org/fileview?f=openpkg-src/delegate/delegate.spec&v=1.141)
3 Summary:        A multi-purpose application level gateway, or a proxy server
4 Name:           delegate
5 Version:        9.9.2
6 Release:        0.1
7 License:        Freely distributable via publicly accessible on-line media
8 Group:          Networking/Daemons
9 Source0:        ftp://ftp.delegate.org/pub/DeleGate/%{name}%{version}.tar.gz
10 # Source0-md5:  903d76beaaa1125d828829b52339086a
11 URL:            http://www.delegate.org/
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  openssl-devel
14 BuildRequires:  pam-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 DeleGate is a multi-purpose application level gateway, or a proxy
20 server which runs on multiple platforms (Unix, Windows, MacOS X and
21 OS/2). DeleGate mediates communication of various protocols (HTTP,
22 FTP, NNTP, SMTP, POP, IMAP, LDAP, Telnet, SOCKS, DNS, etc.), applying
23 cache and conversion for mediated data, controlling access from
24 clients and routing toward servers. It translates protocols between
25 clients and servers, applying SSL(TLS) to arbitrary protocols,
26 converting between IPv4 and IPv6, merging several servers into a
27 single server view with aliasing and filtering. Born as a tiny proxy
28 for Gopher in March 1994, it has steadily grown into a general purpose
29 proxy server. Besides being a proxy, DeleGate can be used as a simple
30 origin server for some protocols (HTTP, FTP and NNTP).
31
32 %prep
33 %setup -q -n %{name}%{version}
34
35 cat << 'EOF' > src/DELEGATE_CONF
36 ADMIN = root@localhost
37 CC = %{__cc}
38 CXX = %{__cxx}
39 CFLAGS = %{rpmcflags} %{rpmcppflags}
40 EOF
41
42 %build
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 install -d $RPM_BUILD_ROOT%{_sbindir}
49
50 install src/delegated $RPM_BUILD_ROOT%{_sbindir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc CHANGES COPYRIGHT *.html *.txt doc/*.*
This page took 0.07669 seconds and 3 git commands to generate.