]> git.pld-linux.org Git - SPECS.git/blob - tcputils.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tcputils.spec
1 Summary:        A collection of programs to faciliate TCP programming in shell-scripts
2 Summary(pl.UTF-8):      Zestaw programów ułatawiających programowanie TCP w skryptach powłoki
3 Name:           tcputils
4 Version:        0.6.2
5 Release:        1
6 License:        Public Domain
7 Group:          Applications/Networking
8 Source0:        ftp://ftp.lysator.liu.se/pub/unix/tcputils/%{name}-%{version}.tar.gz
9 # Source0-md5:  daf5844e3b3f09b0171c426ac4c0419c
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 tcputils is a collection of programs to facilitate TCP programming in
14 shell-scripts. There is also a small library which makes it somewhat
15 easier to create TCP/IP sockets.
16
17 The programs included in this release are:
18 - mini-inetd - small TCP/IP connection dispatcher
19 - tcpbug - TCP/IP connection bugging device
20 - tcpconnect - general TCP/IP client
21 - tcplisten - general TCP/IP server
22 - getpeername - get name of connected TCP/IP peer
23
24 %description -l pl.UTF-8
25 tcputils to zestaw programów ułatwiających programowanie TCP w
26 skryptach powłoki. Dodatkowo dołączona jest mała biblioteka nieco
27 ułatwiająca tworzenie gniazd TCP/IP.
28
29 Programy załączone w tej wersji to:
30 - mini-inetd - mały program do przekazywania połączeń TCP/IP
31 - tcpbug - narzędzie do śledzenia połączeń TCP/IP
32 - tcpconnect - ogólny klient TCP/IP
33 - tcplisten - ogólny serwer TCP/IP
34 - getpeername - uzyskiwanie nazwy drugiej strony połączenia TCP/IP
35
36 %prep
37 %setup -q
38
39 %build
40 %{__make} \
41         CC="%{__cc}" \
42         COPT="%{rpmcflags}" \
43         NETLIBS=
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
48
49 %{__make} install \
50         bindir=$RPM_BUILD_ROOT%{_bindir} \
51         mandir=$RPM_BUILD_ROOT%{_mandir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README
59 %attr(755,root,root) %{_bindir}/*
60 %{_mandir}/man1/*
This page took 0.340089 seconds and 3 git commands to generate.