]> git.pld-linux.org Git - packages/frox.git/blame - frox.spec
- use %useradd/%groupadd macros
[packages/frox.git] / frox.spec
CommitLineData
eed9da4b
AA
1#
2# Conditional build:
3%bcond_with kernel22
4#
a5ed2771 5Summary: Transparent FTP proxy
8708d53c 6Summary(pl): Przezroczyste proxy FTP
a5ed2771 7Name: frox
76e521d2 8Version: 0.7.15
eed9da4b
AA
9%if %{with kernel22}
10Release: 1@2.2
11%else
12Release: 1
13%endif
a5ed2771 14License: GPL
15Group: Networking/Daemons
6abb7011 16Source0: http://frox.sourceforge.net/download/%{name}-%{version}.tar.bz2
76e521d2 17# Source0-md5: fae2d10d6ac742f298dc5fb47a0e306f
a5ed2771 18Source1: %{name}.init
99ab78a8
JK
19Source2: %{name}.sysconfig
20Patch0: %{name}-config.patch
7a7fc3b4 21URL: http://frox.sourceforge.net/
23363bc5 22BuildRequires: autoconf
23BuildRequires: automake
e085e62c 24BuildRequires: rpmbuild(macros) >= 1.202
3405bd7e 25PreReq: rc-scripts
a17adda6 26Requires(pre): /bin/id
4e6a99fb 27Requires(pre): /usr/bin/getgid
a17adda6 28Requires(pre): /usr/sbin/groupadd
4e6a99fb 29Requires(pre): /usr/sbin/groupmod
a17adda6 30Requires(pre): /usr/sbin/useradd
4e6a99fb 31Requires(pre): /usr/sbin/usermod
a17adda6 32Requires(postun): /usr/sbin/groupdel
4e6a99fb 33Requires(postun): /usr/sbin/userdel
3405bd7e 34Requires(post,preun): /sbin/chkconfig
4e6a99fb 35Provides: group(frox)
36Provides: user(frox)
a5ed2771 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
328e9005 40Frox is transparent FTP proxy. It also has support for non-transparent
7a7fc3b4 41connections, caching of anonymous ftp, and active --> passive
42conversion of data connections.
43
48340651 44%description -l pl
8708d53c
MG
45