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