From ab96648264392878241114d24183a61cf1681878 Mon Sep 17 00:00:00 2001 From: kloczek Date: Thu, 18 May 2000 18:08:16 +0000 Subject: [PATCH] - spec adapterized. Changed files: dip.spec -> 1.5 --- dip.spec | 74 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/dip.spec b/dip.spec index 753708b..50c0e12 100644 --- a/dip.spec +++ b/dip.spec @@ -1,38 +1,38 @@ -Summary: Handles the connections needed for dialup IP links. -Name: dip -Version: 3.3.7o -Release: 14 -Copyright: GPL -Group: Applications/Communications -Source: ftp://sunsite.unc.edu/pub/Linux/system/network/serial/dip337o-uri.tgz -Patch: dip-3.3.7o-misc.patch -Patch1: dip-3.3.7o-suffix.patch -Patch2: dip-3.3.7o-fsstnd.patch -Patch3: dip-3.3.7o-glibc.patch -Patch4: dip-3.3.7o-sparc.patch -Patch5: dip-3.3.7o-andor.patch -Patch6: dip-arm.patch +Summary: Handles the connections needed for dialup IP links +Name: dip +Version: 3.3.7o +Release: 14 +License: GPL +Group: Applications/Communications +Group(pl): Aplikacje/Komunikacja +Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/serial/%{name}337o-uri.tgz +Patch0: dip-3.3.7o-misc.patch +Patch1: dip-3.3.7o-suffix.patch +Patch2: dip-3.3.7o-fsstnd.patch +Patch3: dip-3.3.7o-glibc.patch +Patch4: dip-3.3.7o-sparc.patch +Patch5: dip-3.3.7o-andor.patch +Patch6: dip-arm.patch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Dip is a modem dialer. Dip handles the connections needed for dialup -IP links like SLIP or PPP. Dip can handle both incoming and outgoing -connections, using password security for incoming connections. Dip is +Dip is a modem dialer. Dip handles the connections needed for dialup +IP links like SLIP or PPP. Dip can handle both incoming and outgoing +connections, using password security for incoming connections. Dip is useful for setting up PPP and SLIP connections, but isn't required for -either. Netcfg uses dip for setting up SLIP connections. +either. Netcfg uses dip for setting up SLIP connections. Install dip if you need a utility which will handle dialup IP connections. %description -l pl -Dip jest narzêdziem do dzwonienia za pomoc± modemu. Obs³uguje po³±czenia -IP takie jak SLIP czy PPP. Dip obs³uguje zarówno po³±czenia przychodz±ce -jak i wychodz±ce, przy czym bezpieczeñstwo po³±czeñ przychodz±cych -opiera siê na has³ach. Mo¿na wykorzystaæ dip do ustawienia po³±czeñ PPP -i SLIP, ale nie jest do tego niezbêdny. Netcfg u¿ywa dip do ustawienia -po³±czeñ SLIP. -Nale¿y zainstalowaæ dip je¶li potzrbuje siê narzêdzia do obs³ugi modemowych -po³±czeñ IP. +Dip jest narzêdziem do dzwonienia za pomoc± modemu. Obs³uguje +po³±czenia IP takie jak SLIP czy PPP. Dip obs³uguje zarówno po³±czenia +przychodz±ce jak i wychodz±ce, przy czym bezpieczeñstwo po³±czeñ +przychodz±cych opiera siê na has³ach. Mo¿na wykorzystaæ dip do +ustawienia po³±czeñ PPP i SLIP, ale nie jest do tego niezbêdny. Netcfg +u¿ywa dip do ustawienia po³±czeñ SLIP. Nale¿y zainstalowaæ dip je¶li +potzrbuje siê narzêdzia do obs³ugi modemowych po³±czeñ IP. %prep %setup -q @@ -51,19 +51,21 @@ make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/usr/{sbin,man/man8} +install -d $RPM_BUILD_ROOT%{_prefix}/{sbin,man/man8} -install -c -s dip $RPM_BUILD_ROOT/usr/sbin -ln -sf dip $RPM_BUILD_ROOT/usr/sbin/diplogin -install -c -m 0444 dip.8 $RPM_BUILD_ROOT/usr/man/man8 -ln -sf dip.8 $RPM_BUILD_ROOT/usr/man/man8/diplogin.8 +install -c -s dip $RPM_BUILD_ROOT%{_sbindir} +ln -sf dip $RPM_BUILD_ROOT%{_sbindir}/diplogin + +install dip.8 $RPM_BUILD_ROOT%{_mandir}/man8 +echo ".so dip.8" > $RPM_BUILD_ROOT%{_mandir}/man8/diplogin.8 + +gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) -%attr(0755,root,uucp) /usr/sbin/dip -/usr/sbin/diplogin -/usr/man/man8/dip.8 -/usr/man/man8/diplogin.8 +%defattr(644,root,root,755) +%attr(0755,root,uucp) %{_sbindir}/dip +%attr(755,root,root) %{_sbindir}/diplogin +%{_mandir}/man8/* -- 2.44.0