Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 7e7e81a88fdb2336436a7167a8e90c09 > files > 3

serialoverip-1.0-1mdk.src.rpm

%define name	serialoverip
%define version 1.0
%define release 1mdk

Summary:	Tool for transport of asynchronous serial devices over UDP/IP.
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Networking/Other
URL:		http://sourceforge.net/projects/serialoverip
Source0:	%{name}-%{version}.tar.bz2
Patch0:		serialoverip-1.0-gcc3x.diff.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
Serial Over IP is a tool for the transport of serial interfaces
over UDP/IP. It is useful for connecting distant equipment that
run via a serial interfaces to a local computer. It requires two
computers that are running Linux and are connected via IP. 

%prep

%setup -q 
%patch0 -p0

%build

gcc %{optflags} -o serialoverip serialoverip.c

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

install -d %{buildroot}%{_bindir}
install -m0755 serialoverip %{buildroot}%{_bindir}/

%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README
%{_bindir}/serialoverip

%changelog
* Tue Nov 16 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0-1mdk
- initial mandrake package