diff options
author | Arkadiusz MiĹkiewicz | 1999-08-18 13:29:57 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | c4ce85aabe2198d5061dc0f3557731e3736b67fe (patch) | |
tree | e820bb27c060c50b4297baf20d3dde23fac2adb6 | |
download | cfingerd-c4ce85aabe2198d5061dc0f3557731e3736b67fe.zip cfingerd-c4ce85aabe2198d5061dc0f3557731e3736b67fe.tar.gz |
new spec
Changed files:
cfingerd.spec -> 1.1
Notes
Notes:
- new spec
-rw-r--r-- | cfingerd.spec | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/cfingerd.spec b/cfingerd.spec new file mode 100644 index 0000000..1720c99 --- /dev/null +++ b/cfingerd.spec @@ -0,0 +1,75 @@ +Summary: highly configurable and secure finger daemon with IPv6 support +Summary(pl): niezwykle konfigurowalny i bezpieczny demon fingerd ze wspraciem dla IPv6 +Name: cfingerd +Version: 1.4.0 +Release: 1 +Group: Networking/Daemons +Group(pl): Sieciowe/Demony +Copyright: GPL +Vendor: Martin Schulze <joey@infodrom.north.de> +URL: http://www.infodrom.north.de/cfingerd/ +Source0: ftp://ftp.infodrom.north.de/pub/people/joey/cfingerd/%{name}-%{version}.tar.gz +Source1: cfingerd.logrotate +Patch0: cfingerd-ipv6.patch +Patch1: cfingerd-config.patch +Provides: fingerd +Obsoletes: cfingerd-nobody +Obsoletes: cfingerd-noroot +BuildRoot: /tmp/%{name}-%{version}-root + +%description +* CFINGERD is a free finger daemon replacement for standard finger daemons + such as GNU Finger, MIT Finger, or KFINGERD. CFINGERD is highly + becoming a respected standard as the finger daemon to use. + +%description -l pl +* CFINGERD jest darmowym serwerem usługi finger zastępującym inne demony + fingera takie jak GNU Finger, MIT Finger, lub KFINGERD. CFINGERD staje + się respektowanym standardem dla demonów usługi finger. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +./Configure +make do_cfingerd +make do_userlist + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/etc/{%{name}/scripts,logrotate.d} +install -d $RPM_BUILD_ROOT%{_sbindir} +install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5,8} + +install -s src/cfingerd $RPM_BUILD_ROOT%{_sbindir}/ +install -s userlist/userlist $RPM_BUILD_ROOT%{_sbindir}/ +install texts/*.txt $RPM_BUILD_ROOT/etc/%{name}/ +install scripts/* $RPM_BUILD_ROOT/etc/%{name}/scripts/ +install cfingerd.conf $RPM_BUILD_ROOT/etc/%{name}/ +install userlist/userlist.conf $RPM_BUILD_ROOT/etc/%{name}/ +install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} +install userlist/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/ +install docs/*.5 $RPM_BUILD_ROOT%{_mandir}/man5/ +install docs/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/ + +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ + CHANGES CREDITS FAQ README README.noroot RECOMMEND TODO + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc {CHANGES,CREDITS,FAQ,README,README.noroot,RECOMMEND,TODO}.gz +%attr(755,root,root) %dir /etc/%{name} +%attr(755,root,root) %dir /etc/%{name}/scripts +%attr(755,root,root) /etc/%{name}/scripts/* +%attr(644,root,root) /etc/%{name}/*.txt +%attr(644,root,root) /etc/logrotate.d/%{name} +%attr(755,root,root) %{_sbindir}/* +%attr(644,root,root) %{_mandir}/man[158]/* +%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}/cfingerd.conf +%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/%{name}/userlist.conf |