]> git.pld-linux.org Git - packages/ftpproxy.git/blob - ftpproxy.spec
- tabs in preamble
[packages/ftpproxy.git] / ftpproxy.spec
1 Summary:        ftpproxy is an application level gateway for the FTP protocol
2 Summary(pl.UTF-8):      ftpproxy jest aplikacyjną bramką dla protokołu FTP
3 Name:           ftpproxy
4 Version:        1.2.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://ftp.daemons.de/download/%{name}-%{version}.tgz
9 # Source0-md5:  c2068bc452e1d7554d3bda08030aa433
10 Source1:        %{name}.inetd
11 URL:            http://ftp.daemons.de/
12 BuildRequires:  ctags
13 BuildRequires:  rpmbuild(macros) >= 1.268
14 Requires:       rc-inetd >= 0.8.1
15 Conflicts:      proxytools
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 ftp.proxy is a proxy server for a subset of the file transfer protocol
20 described in RFC 959. It forwards traffic between a client and a
21 server without looking too much if both hosts do real FTP. The FTP
22 server can be either given on the command line or supplied by the
23 client.
24
25 %description -l pl.UTF-8
26 ftp.proxy jest aplikacyjną bramką dla podzbioru protokołu FTP
27 opisanego w RFC 959. Pośredniczy w transferze pomiędzy klientem a
28 serwerem bez specjalnego patrzenia czy oba hosty są prawdziwymi
29 serwerami FTP.
30
31 %prep
32 %setup -q
33
34 %build
35 %{__make} \
36         CC="%{__cc}" \
37         CFLAGS="%{rpmcflags} -DVERSION=\\\"%{version}\\\""
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1,/etc/sysconfig/rc-inetd}
42
43 install src/ftp.proxy $RPM_BUILD_ROOT%{_sbindir}
44 install doc/ftp.proxy.1 $RPM_BUILD_ROOT%{_mandir}/man1
45
46 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpproxy
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post
52 %service -q rc-inetd reload
53
54 %postun
55 if [ "$1" = "0" ]; then
56         %service -q rc-inetd reload
57 fi
58
59 %files
60 %defattr(644,root,root,755)
61 %doc doc/rfc*.txt HISTORY INSTALL
62 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/ftpproxy
63 %attr(755,root,root) %{_sbindir}/ftp.proxy
64 %{_mandir}/man1/*
This page took 0.055664 seconds and 3 git commands to generate.