X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=efingerd.spec;h=c5dcd4681606c1ddef02b956dc311aea8d5a9331;hb=refs%2Fheads%2Fmaster;hp=1757057d1f82aaad4dbcf463984bbbbd3036d73c;hpb=1546c9ee5ab001e69527ad67205f3a9573d044ff;p=packages%2Fefingerd.git diff --git a/efingerd.spec b/efingerd.spec index 1757057..c5dcd46 100644 --- a/efingerd.spec +++ b/efingerd.spec @@ -1,73 +1,73 @@ Summary: Nice finger daemon -Summary(pl): Sympatyczny serwer finger +Summary(pl.UTF-8): Sympatyczny serwer finger Name: efingerd -Version: 1.6.1 -Release: 1 +Version: 1.6.2 +Release: 2 License: GPL Group: Networking/Daemons Source0: http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz +# Source0-md5: 9ed962d02c7716c747fd29b4fabbd06b Source1: %{name}.inetd Patch0: %{name}-DESTDIR.patch +Patch1: %{name}-fortune_path.patch URL: http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd.html +BuildRequires: libident-devel +BuildRequires: rpmbuild(macros) >= 1.268 Requires: inetdaemon -Prereq: rc-inetd >= 0.8.1 +Requires: rc-inetd >= 0.8.1 Provides: fingerd -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -BuildRequires: libident-devel Obsoletes: bsd-fingerd -Obsoletes: finger-server Obsoletes: cfingerd Obsoletes: ffingerd +Obsoletes: finger-server +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Another finger daemon for unix capable of fine-tuning your output. +Another finger daemon for Unix capable of fine-tuning your output. efingerd is a finger daemon, which executes programs and displays their output. This gives you complete control over what to display and to who, and an extreme configurability. -%description -l pl -Jeszcze jeden fingerd dla unixa umo¿liwiaj±cy dok³adne sterowanie -wyj¶ciem. efingerd jest demonem finger który mo¿e uruchamiaæ programy -i wy¶wietlaæ ich wyj¶cie. Daje tobie kompletn± kontrolê nad tym co -jest wy¶wietlane oraz komu i jest extremalnie configurowalny. +%description -l pl.UTF-8 +Efingerd jest kolejnym uniksowym demonem finger, który poprzez swoje +możliwości konfiguracji pozwala na pełną kontrolę tego, komu i w jaki +sposób są prezentowane odpowiedzi na zapytania finger - pokazując +wynik zewnętrznych programów. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build -%{__make} CFLAGS="%{rpmcflags}" +%{__make} \ + CFLAGS="%{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd -%{__make} install install-doc DESTDIR=$RPM_BUILD_ROOT +%{__make} install install-doc \ + DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/fingerd -gzip -9nf README CHANGES examples-{unusual,win95,standard}/* +%clean +rm -rf $RPM_BUILD_ROOT %post -if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd reload 1>&2 -else - echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2 -fi +%service -q rc-inetd reload %postun -if [ -f /var/lock/subsys/rc-inetd ]; then - /etc/rc.d/init.d/rc-inetd reload +if [ "$1" = 0 ]; then + %service -q rc-inetd reload fi -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) -%doc *.gz examples-{unusual,win95,standard} +%doc README CHANGES examples-{unusual,win95,standard} %attr(755,root,root) %{_sbindir}/* -%attr(640,root,root) /etc/sysconfig/rc-inetd/fingerd +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/fingerd %dir %{_sysconfdir}/efingerd -%attr(755,root,root) %{_sysconfdir}/efingerd/* +%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/* %{_mandir}/man8/*