]>
Commit | Line | Data |
---|---|---|
f4263bbc | 1 | Summary: Nice finger daemon |
4c291527 | 2 | Summary(pl.UTF-8): Sympatyczny serwer finger |
f4263bbc | 3 | Name: efingerd |
67a1fd4d | 4 | Version: 1.6.2 |
ca9592e2 | 5 | Release: 2 |
f4263bbc | 6 | License: GPL |
7 | Group: Networking/Daemons | |
f4263bbc | 8 | Source0: http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz |
1dfc1b13 | 9 | # Source0-md5: 9ed962d02c7716c747fd29b4fabbd06b |
f4263bbc | 10 | Source1: %{name}.inetd |
11 | Patch0: %{name}-DESTDIR.patch | |
ca9592e2 | 12 | Patch1: %{name}-fortune_path.patch |
f4263bbc | 13 | URL: http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd.html |
b463cb1b ER |
14 | BuildRequires: libident-devel |
15 | BuildRequires: rpmbuild(macros) >= 1.268 | |
f4263bbc | 16 | Requires: inetdaemon |
c915bedc | 17 | Requires: rc-inetd >= 0.8.1 |
f4263bbc | 18 | Provides: fingerd |
f4263bbc | 19 | Obsoletes: bsd-fingerd |
f4263bbc | 20 | Obsoletes: cfingerd |
21 | Obsoletes: ffingerd | |
b463cb1b | 22 | Obsoletes: finger-server |
c915bedc | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f4263bbc | 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 | ||
f6df409b JR |
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. | |
f4263bbc | 36 | |
37 | %prep | |
38 | %setup -q | |
39 | %patch0 -p1 | |
ca9592e2 | 40 | %patch1 -p1 |
f4263bbc | 41 | |
42 | %build | |
1440e5b1 JB |
43 | %{__make} \ |
44 | CFLAGS="%{rpmcflags}" | |
f4263bbc | 45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
a4d2cdae | 48 | install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd |
f4263bbc | 49 | |
1440e5b1 JB |
50 | %{__make} install install-doc \ |
51 | DESTDIR=$RPM_BUILD_ROOT | |
f4263bbc | 52 | |
f4263bbc | 53 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd |
54 | ||
1440e5b1 JB |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
f4263bbc | 58 | %post |
b463cb1b | 59 | %service -q rc-inetd reload |
f4263bbc | 60 | |
61 | %postun | |
b463cb1b ER |
62 | if [ "$1" = 0 ]; then |
63 | %service -q rc-inetd reload | |
e2bdee44 | 64 | fi |
f4263bbc | 65 | |
f4263bbc | 66 | %files |
67 | %defattr(644,root,root,755) | |
1bb034eb | 68 | %doc README CHANGES examples-{unusual,win95,standard} |
f4263bbc | 69 | %attr(755,root,root) %{_sbindir}/* |
c915bedc | 70 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/fingerd |
f4263bbc | 71 | %dir %{_sysconfdir}/efingerd |
c915bedc | 72 | %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/* |
f4263bbc | 73 | %{_mandir}/man8/* |