ucspi-unix/ucspi-unix.spec

63 lines
2.0 KiB
RPMSpec

Name: ucspi-unix
Version: 1.0
Release: 1mamba
Summary: UNIX-domain socket client-server command-line tools
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://untroubled.org/ucspi-unix/
Source: http://untroubled.org/ucspi-unix/ucspi-unix-%{version}.tar.gz
Patch0: ucspi-unix-0.36-fixbuild.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: libbg-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 -q
#%patch0 -p1
%build
echo %{_bindir} >conf-bin
echo %{_mandir} >conf-man
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#rm -fr %{buildroot}
#mkdir -p %{buildroot}%{_bindir}
#mkdir -p %{buildroot}%{_mandir}
%makeinstall prefix=%{buildroot} mandir=%{_mandir} bindir=%{_bindir}
#./installer
#./instcheck
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/unixcat
%{_bindir}/unixclient
%{_bindir}/unixserver
%{_mandir}/man1/unixclient.1*
%{_mandir}/man1/unixserver.1*
%doc COPYING NEWS README TODO
%changelog
* Tue Dec 12 2017 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic update by autodist
* Sun Aug 11 2013 Automatic Build System <autodist@mambasoft.it> 0.36-2mamba
- automatic rebuild by autodist
* Tue Sep 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.36-1mamba
- package created by autospec