]> git.pld-linux.org Git - packages/nc.git/commitdiff
- release 7,
authorkloczek <kloczek@pld-linux.org>
Thu, 17 Feb 2000 19:19:54 +0000 (19:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- spec adapterized,
- added man page for nc.

Changed files:
    nc.spec -> 1.8

nc.spec

diff --git a/nc.spec b/nc.spec
index 3742f61c89198308b033099e61c982811e4685fd..7907d5f6c87078b1bbe00186e6bcdce88e1b9a36 100644 (file)
--- a/nc.spec
+++ b/nc.spec
@@ -2,35 +2,36 @@ Summary:      Versatile network test and debugging tool
 Summary(pl):   Proste narzêdzie do testowania sieci
 Name:          nc
 Version:       1.10
-Release:       4
+Release:       7
 Copyright:     None, see README
 Group:         Networking/Admin
+Group(pl):     Sieciowe/Administacyjne
 Icon:          netcat.xpm
-Source:                ftp://ftp.avian.org/src/hacks/nc110.tgz
+Source0:               ftp://ftp.avian.org/src/hacks/%{name}110.tgz
+Source1:       http://www.openbsd.org/src/usr.bin/nc.1
 Patch:         nc-arm.patch
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description 
-Netcat is a simple Unix utility which reads and writes data across
-network connections, using TCP or UDP protocol.  It is designed to be
-a reliable "back-end" tool that can be used directly or easily driven
-by other programs and scripts.  At the same time, it is a feature-rich
-network debugging and exploration tool, since it can create almost any
-kind of connection you would need and has several interesting built-in
-capabilities.  Netcat, or "nc" as the actual program is named, should
-have been supplied long ago as another one of those cryptic but
-standard Unix tools.
+Netcat is a simple Unix utility which reads and writes data across network
+connections, using TCP or UDP protocol. It is designed to be a reliable
+"back-end" tool that can be used directly or easily driven by other programs
+and scripts. At the same time, it is a feature-rich network debugging and
+exploration tool, since it can create almost any kind of connection you
+would need and has several interesting built-in capabilities. Netcat, or
+"nc" as the actual program is named, should have been supplied long ago as
+another one of those cryptic but standard Unix tools.
 
 %description -l pl
 Netcat to proste uniksowe narzêdzie, które odbiera i wysy³a dane poprzez
 po³±czenia sieciowe protoko³ami TCP lub UDP. Jest zaprojektowane jako
-wiarygodny "back-end", który mo¿e byæ u¿ywany bezpo¶rednio albo
-sterowany przez inne programy i skrypty. Jednocze¶nie mo¿e pomóc w
-wykrywaniu usterek w sieci albo poznawaniu jej od ¶rodka, poniewa¿ mo¿e
-stworzyæ prawie dowolny rodzaj po³±czenia, jaki mo¿e byæ potrzebny, i ma
-wbudowanych kilka ciekawych funkcji. Netcat - albo "nc", jak siê nazywa
-w³a¶ciwy program, powinien by³ byæ dostarczany ju¿ dawno temu jako
-kolejne tajemnicze, ale standardowe uniksowe narzêdzie.
+wiarygodny "back-end", który mo¿e byæ u¿ywany bezpo¶rednio albo sterowany
+przez inne programy i skrypty. Jednocze¶nie mo¿e pomóc w wykrywaniu usterek
+w sieci albo poznawaniu jej od ¶rodka, poniewa¿ mo¿e stworzyæ prawie
+dowolny rodzaj po³±czenia, jaki mo¿e byæ potrzebny, i ma wbudowanych kilka
+ciekawych funkcji. Netcat - albo "nc", jak siê nazywa w³a¶ciwy program,
+powinien by³ byæ dostarczany ju¿ dawno temu jako kolejne tajemnicze, ale
+standardowe uniksowe narzêdzie.
 
 %prep
 %setup -c -n nc -q
@@ -40,19 +41,21 @@ kolejne tajemnicze, ale standardowe uniksowe narz
 # 'make linux' works too, but builds a static binary. 
 make generic DFLAGS=-DTELNET CFLAGS="$RPM_OPT_FLAGS"
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-install -s nc $RPM_BUILD_ROOT%{_bindir}/nc
+install nc $RPM_BUILD_ROOT%{_bindir}/nc
+install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
 
-gzip -9nf README Changelog data/*
+gzip -9nf README Changelog data/* \
+       $RPM_BUILD_ROOT%{_mandir}/man1/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.gz Changelog.gz scripts data
+%doc *.gz scripts data
 %attr(755,root,root) %{_bindir}/nc
+%{_mandir}/man1/*
This page took 0.088893 seconds and 4 git commands to generate.