]>
Commit | Line | Data |
---|---|---|
9e671305 ER |
1 | # TODO |
2 | # - checking for lynx... yes | |
3 | # - checking for xmltoman... no | |
4 | # - configure: WARNING: *** Not rebuilding man pages as xmltoman is not found *** | |
5 | Summary: bidilink - Bidirectional stream linker | |
6 | Name: bidilink | |
7 | Version: 0.1 | |
8 | Release: 0.1 | |
9 | License: GPL v2+ | |
10 | Group: Applications/File | |
11 | URL: http://0pointer.de/lennart/projects/bidilink/ | |
12 | Source0: http://0pointer.de/lennart/projects/bidilink/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: f7e077061323415f73eed53da0694c4a | |
14 | BuildRequires: lynx | |
15 | #BuildRequires: xmltoman | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | bidilink is a general purpose Unix tool for linking two bidirectional | |
20 | data streams together. It extends the standard Unix "filter" paradigma | |
21 | to bidrectional streams. | |
22 | ||
23 | It has the following stream drivers: | |
24 | - std: - STDIN, STDOUT of the process | |
25 | - exec:PROGRAM - fork() off a process and use its STDIN and STDOUT | |
26 | - tty:TTYDEVICE - Open a TTY device (like a serial port) as client | |
27 | - pty:[PTYNAME] - Allocate a pseudo TTY device as master | |
28 | - tcp-client:HOSTNAME:PORT - Connect to another or the local host via | |
29 | TCP/IP | |
30 | - tcp-server:[IPADDRESS:]PORT - Listen on a local port and wait for an | |
31 | incoming connection | |
32 | - unix-client:SOCKNAME - Connect to a local Unix domain socket | |
33 | - unix-server:SOCKNAME - Listen on a local Unix domain socket | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README | |
53 | %attr(755,root,root) %{_bindir}/bidilink | |
54 | %{_mandir}/man1/bidilink.1* |