]> git.pld-linux.org Git - packages/efingerd.git/blob - efingerd.spec
- fixes path to fortune - from Michal Kochanowicz
[packages/efingerd.git] / efingerd.spec
1 Summary:        Nice finger daemon
2 Summary(pl):    Sympatyczny serwer finger
3 Name:           efingerd
4 Version:        1.6.2
5 Release:        1
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz
9 # Source0-md5:  9ed962d02c7716c747fd29b4fabbd06b
10 Source1:        %{name}.inetd
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd.html
13 PreReq:         rc-inetd >= 0.8.1
14 Requires:       inetdaemon
15 Provides:       fingerd
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 BuildRequires:  libident-devel
18 Obsoletes:      bsd-fingerd
19 Obsoletes:      finger-server
20 Obsoletes:      cfingerd
21 Obsoletes:      ffingerd
22
23 %description
24 Another finger daemon for unix capable of fine-tuning your output.
25 efingerd is a finger daemon, which executes programs and displays
26 their output. This gives you complete control over what to display and
27 to who, and an extreme configurability.
28
29 %description -l pl
30 Efingerd jest kolejnym uniksowym demonem finger, który
31 poprzez swoje mo¿liwo¶ci konfiguracji pozwala na pe³n±
32 kontrolê tego, komu i w jaki sposób s± prezentowane odpowiedzi
33 na zapytania finger - pokazuj±c wynik zewnêtrznych programów.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %{__make} \
41         CFLAGS="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd
46
47 %{__make} install install-doc \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 if [ -f /var/lock/subsys/rc-inetd ]; then
57         /etc/rc.d/init.d/rc-inetd reload 1>&2
58 else
59         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
60 fi
61
62 %postun
63 if [ -f /var/lock/subsys/rc-inetd ]; then
64         /etc/rc.d/init.d/rc-inetd reload
65 fi
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README CHANGES examples-{unusual,win95,standard}
70 %attr(755,root,root) %{_sbindir}/*
71 %attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd
72 %dir %{_sysconfdir}/efingerd
73 %attr(755,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/efingerd/*
74 %{_mandir}/man8/*
This page took 0.071539 seconds and 3 git commands to generate.