File udpcast.spec of Package udpcast

#
# spec file for package udpcast
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           udpcast
Version:        20120424
Release:        0
Summary:        File Transfer Tool via UDP Multicast
License:        GPL-2.0 and BSD-2-Clause
Group:          Productivity/Networking/Other
Source:         http://udpcast.linux.lu/download/udpcast-%{version}.tar.gz
Url:            http://udpcast.linux.lu/
Patch0:         udpcast-20120424-fd_set.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  libtool
BuildRequires:  make

%description
UDPCast allows to send data simultaneously to many destinations on a
local net. This can for instance be used to install entire classrooms of
PCs at once. The advantage over using other methods (nfs, ftp, whatever)
is that udpcast uses Ethernet's multicast abilities: it won't take longer
to install 15 machines than it would to install 2. The tool comes with a
busybox bootdisk for easy loading of the tool. However, udpcast can also
be started from the command line of an already installed system, and can be
used for other purposes than just system installation.

%prep
%setup -q
%patch0 -p1

%build
%configure
%__make %{?jobs:-j%{jobs}}

%install
%makeinstall
%__rm -rf "%{buildroot}%{_includedir}"

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc Changelog.txt cmd.html COPYING 
%{_sbindir}/udp-receiver
%{_sbindir}/udp-sender
%doc %{_mandir}/man1/udp-receiver.1*
%doc %{_mandir}/man1/udp-sender.1*

%changelog
openSUSE Build Service is sponsored by