1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Name: ucspi-unix
Summary: UNIX-domain socket client-server command-line tools
Version: 0.36
Release: 1
Copyright: GPL
Group: Utilities/System
Source: http://em.ca/~bruceg/ucspi-unix/%{version}/ucspi-unix-%{version}.tar.gz
BuildRoot: %{_tmppath}/ucspi-unix-root
URL: http://em.ca/~bruceg/ucspi-unix/
Packager: Bruce Guenter <bruceg@em.ca>
BuildRequires: bglibs
%description
unixclient and unixserver are command-line tools for building UNIX
domain client-server applications. unixclient connects to a UNIX domain
socket and runs a program of your choice. unixserver creates a UNIX
domain socket, waits for incoming connections and, for each connection,
runs a program of your choice.
unixclient and unixserver conform to UCSPI, the UNIX Client-Server
Program Interface, using UNIX domain sockets. UCSPI tools are available
for several different networks.
%prep
%setup
%build
echo %{_bindir} >conf-bin
echo %{_mandir} >conf-man
make programs
%install
rm -fr %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}
echo %{buildroot}%{_bindir} >conf-bin
echo %{buildroot}%{_mandir} >conf-man
make installer instcheck
./installer
./instcheck
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING NEWS PROTOCOL README TODO VERSION
%{_bindir}/*
%{_mandir}/*/*
|