]> git.pld-linux.org Git - packages/cfingerd.git/blob - cfingerd.spec
4a21cf38317a748e70316c85a190673f0de3e037
[packages/cfingerd.git] / cfingerd.spec
1 Summary:        Highly configurable and secure finger daemon with IPv6 support
2 Summary(pl):    Niezwykle konfigurowalny i bezpieczny demon fingerd ze wspraciem dla IPv6
3 Name:           cfingerd
4 Version:        1.4.3
5 Release:        2
6 Group:          Networking/Daemons
7 Group(pl):      Sieciowe/Serwery
8 Copyright:      GPL
9 Vendor:         Martin Schulze <joey@infodrom.north.de>
10 URL:            http://www.infodrom.north.de/cfingerd/
11 Source0:        ftp://ftp.infodrom.north.de/pub/people/joey/cfingerd/%{name}-%{version}.tar.gz
12 Source1:        %{name}.logrotate
13 Source2:        %{name}.inetd
14 Patch0:         http://www.misiek.eu.org/ipv6/cfingerd-1.4.3-ipv6-12121999.patch.gz
15 Patch1:         %{name}-config.patch
16 Requires:       inetdaemon
17 Requires:       rc-inetd
18 Provides:       fingerd
19 Obsoletes:      cfingerd-nobody
20 Obsoletes:      cfingerd-noroot
21 Obsoletes:      ffingetd
22 Obsoletes:      finger-server
23 Obsoletes:      bsd-fingerd
24 BuildRoot:      /tmp/%{name}-%{version}-root
25
26 %description
27 * CFINGERD is a free finger daemon replacement for standard finger daemons
28   such as GNU Finger, MIT Finger, or KFINGERD.  CFINGERD is highly
29   becoming a respected standard as the finger daemon to use. 
30
31 %description -l pl
32 * CFINGERD jest darmowym serwerem us³ugi finger zastêpuj±cym inne demony
33   fingera takie jak GNU Finger, MIT Finger, lub KFINGERD. CFINGERD staje
34   siê respektowanym standardem dla demonów us³ugi finger.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 ./Configure
43 make all CFLAGS="$RPM_OPT_FLAGS"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 install -d $RPM_BUILD_ROOT/etc/{%{name}/scripts,logrotate.d,sysconfig/rc-inetd} \
49         $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{1,5,8}}
50
51 install -s src/cfingerd userlist/userlist $RPM_BUILD_ROOT%{_sbindir}/
52 install cfingerd.conf userlist/userlist.conf $RPM_BUILD_ROOT/etc/%{name}/
53
54 install scripts/* $RPM_BUILD_ROOT/etc/%{name}/scripts/
55
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
57 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/%{name}
58
59 install userlist/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
60 install docs/*.5 $RPM_BUILD_ROOT%{_mandir}/man5/
61 install docs/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/
62
63 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
64         CHANGES CREDITS FAQ README README.noroot RECOMMEND TODO
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.gz
72 %attr(755,root,root) %dir /etc/%{name}
73 %attr(755,root,root) %dir /etc/%{name}/scripts
74 %attr(755,root,root) /etc/%{name}/scripts/*
75 %attr(755,root,root) %{_sbindir}/*
76 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}/cfingerd.conf
77 %config(noreplace) %verify(not size mtime md5) /etc/%{name}/userlist.conf
78 /etc/%{name}/*.txt
79 %attr(640,root,root) /etc/logrotate.d/%{name}
80 %attr(640,root,root) /etc/sysconfig/rc-inetd/%{name}
81 %{_mandir}/man[158]/*
This page took 0.076676 seconds and 3 git commands to generate.