]> git.pld-linux.org Git - packages/dip.git/blobdiff - dip.spec
- additional patches for package dip
[packages/dip.git] / dip.spec
index 345a01d49b48e8c087fd1872d822b840a57ebed8..b33a2a3553e595a2d037518d824d2b47e945be72 100644 (file)
--- a/dip.spec
+++ b/dip.spec
@@ -1,59 +1,69 @@
-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
-BuildRoot: /var/tmp/dip-root
+Summary:       Handles the connections needed for dialup IP links
+Summary(pl):   Obs³uga po³±czeñ wdzwanianych
+Name:          dip
+Version:       3.3.7o
+Release:       14
+License:       GPL
+Group:         Applications/Communications
+Source0:       ftp://sunsite.unc.edu/pub/Linux/system/network/serial/%{name}337o-uri.tgz
+Patch0:                %{name}-3.3.7o-misc.patch
+Patch1:                %{name}-3.3.7o-suffix.patch
+Patch2:                %{name}-3.3.7o-fsstnd.patch
+Patch3:                %{name}-3.3.7o-glibc.patch
+Patch4:                %{name}-3.3.7o-sparc.patch
+Patch5:                %{name}-3.3.7o-andor.patch
+Patch6:                %{name}-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.
+
 %prep
 %setup -q
 %patch -p1
 %patch1 -p1
 %patch2 -p1
 %patch4 -p0
-%patch5 -p1 -b .andor
-%patch3 -p1 -b .glibc
-%patch6 -p1 -b .arm
+%patch5 -p1
+%patch3 -p1
+%patch6 -p1
 
 %build
-make depend
+%{__make} depend
 (cd skey; make clean; make linux)
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
 
 %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 dip $RPM_BUILD_ROOT%{_sbindir}
+ln -sf dip $RPM_BUILD_ROOT%{_sbindir}/diplogin
 
-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 dip.8 $RPM_BUILD_ROOT%{_mandir}/man8
+echo ".so dip.8" > $RPM_BUILD_ROOT%{_mandir}/man8/diplogin.8
 
 %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/*
This page took 0.078608 seconds and 4 git commands to generate.