]> git.pld-linux.org Git - packages/bidilink.git/commitdiff
- new, based on aldlinux spec master
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Feb 2010 01:01:03 +0000 (01:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bidilink.spec -> 1.1

bidilink.spec [new file with mode: 0644]

diff --git a/bidilink.spec b/bidilink.spec
new file mode 100644 (file)
index 0000000..3d3dab8
--- /dev/null
@@ -0,0 +1,54 @@
+# TODO
+# - checking for lynx... yes
+# - checking for xmltoman... no
+# - configure: WARNING: *** Not rebuilding man pages as xmltoman is not found ***
+Summary:       bidilink - Bidirectional stream linker
+Name:          bidilink
+Version:       0.1
+Release:       0.1
+License:       GPL v2+
+Group:         Applications/File
+URL:           http://0pointer.de/lennart/projects/bidilink/
+Source0:       http://0pointer.de/lennart/projects/bidilink/%{name}-%{version}.tar.gz
+# Source0-md5: f7e077061323415f73eed53da0694c4a
+BuildRequires: lynx
+#BuildRequires:        xmltoman
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+bidilink is a general purpose Unix tool for linking two bidirectional
+data streams together. It extends the standard Unix "filter" paradigma
+to bidrectional streams.
+
+It has the following stream drivers:
+- std: - STDIN, STDOUT of the process
+- exec:PROGRAM - fork() off a process and use its STDIN and STDOUT
+- tty:TTYDEVICE - Open a TTY device (like a serial port) as client
+- pty:[PTYNAME] - Allocate a pseudo TTY device as master
+- tcp-client:HOSTNAME:PORT - Connect to another or the local host via
+  TCP/IP
+- tcp-server:[IPADDRESS:]PORT - Listen on a local port and wait for an
+  incoming connection
+- unix-client:SOCKNAME - Connect to a local Unix domain socket
+- unix-server:SOCKNAME - Listen on a local Unix domain socket
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/bidilink
+%{_mandir}/man1/bidilink.1*
This page took 0.086203 seconds and 4 git commands to generate.