]> git.pld-linux.org Git - packages/xinetd.git/blob - xinetd.spec
- fixes
[packages/xinetd.git] / xinetd.spec
1 # $Revision: 1.5 $
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
23 and native IPv6 support.
24
25 %description -l pl
26 xinetd jest bezpieczniejszym i rozbudowanym odpowiednikiem inetd. Niektóre
27 funkcje to wbudowana kontrola dostêpu (oparta o libwrap), kontrola zu¿ycia
28 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
44 mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
45 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5
46 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
47 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
48 install -m 755 xinetd/xinetd $RPM_BUILD_ROOT/%{_sbindir}
49 install -m 755 xinetd/itox $RPM_BUILD_ROOT/%{_sbindir}
50 install -m 644 xinetd/xinetd.conf.man $RPM_BUILD_ROOT/%{_mandir}/man5/xinetd.conf.5
51 install -m 644 xinetd/xinetd.log.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.log.8
52 install -m 644 xinetd/xinetd.man $RPM_BUILD_ROOT/%{_mandir}/man8/xinetd.8
53 install -m 644 xinetd/itox.8 $RPM_BUILD_ROOT/%{_mandir}/man8/itox.8
54
55 strip $RPM_BUILD_ROOT/%{_sbindir}/*
56
57 cp xinetd/sample.conf .
58 cp xinetd/xconv.pl .
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man{5,8}/* README CHANGELOG sample.conf \
60         xconv.pl
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc *.gz
68 %attr(755,root,root) %{_sbindir}/*
69 %{_mandir}/man[158]/*
This page took 0.036078 seconds and 4 git commands to generate.