]> git.pld-linux.org Git - packages/xinetd.git/blob - xinetd.spec
- fix in install -d
[packages/xinetd.git] / xinetd.spec
1 # $Revision: 1.7 $
2 Summary:        Secure replacement for inetd
3 Summary(pl):    Bezpieczny odpowiednik inetd
4 Name:           xinetd
5 Version:        2.1.8.8p3
6 Release:        1
7 Group:          Daemons
8 Group(pl):      Serwery
9 License:        GPL
10 Source0:        http://www.xinetd.org/%{name}-%{version}.tar.gz
11 URL:            http://www.xinetd.org/
12 BuildRequires:  libwrap-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Obsoletes:      inetdaemon
15 Obsoletes:      inetd
16 Obsoletes:      netkit-base
17
18 %define         _sysconfdir     /etc
19
20 %description
21 xinetd is a secure and enhances replacement for inetd. Some features
22 include built-in, libwrap based access control, resource control and
23 native IPv6 support.
24
25 %description -l pl
26 xinetd jest bezpieczniejszym i rozbudowanym odpowiednikiem inetd.
27 Niektóre funkcje to wbudowana kontrola dostêpu (oparta o libwrap),
28 kontrola zu¿ycia zasobów i wbudowana obs³uga IPv6.
29
30 %prep
31 %setup -q
32
33 %build
34 LDFLAGS="-s"; export LDFLAGS
35 %configure  \
36         --with-libwrap \
37         --with-inet6 \
38         --with-loadavg
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT/%{_sbindir} \
44         $RPM_BUILD_ROOT/%{_mandir}/man{5,8} \
45         $RPM_BUILD_DIR/%{_sysconfdir}
46
47 install xinetd/xinetd $RPM_BUILD_ROOT/%{_sbindir}
48 install xinetd/itox $RPM_BUILD_ROOT/%{_sbindir}
49 install xinetd/xinetd.conf.man $RPM_BUILD_ROOT/%{_mandir}/man5/xinetd.conf.5
50 install xinetd/xinetd.log.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.log.8
51 install xinetd/xinetd.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.8
52 install xinetd/itox.8 $RPM_BUILD_ROOT/%{_mandir}/man8/itox.8
53
54 strip $RPM_BUILD_ROOT/%{_sbindir}/*
55
56 cp xinetd/sample.conf .
57 cp xinetd/xconv.pl .
58 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{5,8}/* README CHANGELOG sample.conf \
59         xconv.pl
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %attr(755,root,root) %{_sbindir}/*
68 %{_mandir}/man[158]/*
This page took 0.094577 seconds and 4 git commands to generate.