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