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