File inputpipe.spec of Package inputpipe
#
# spec file for package inputpipe
#
# Copyright (c) 2011 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/
#
# norootforbuild
Name: inputpipe
Version: 0.5
Release: 0
Summary: Client/Server for making any Linux Input Device Network-Transparent
# svn: http://svn.navi.cx/misc/tags/inputpipe-0.5
Source: inputpipe-%{version}+1.tar.bz2
Patch1: inputpipe-trunk-backports.patch
Patch2: inputpipe-optflags.patch
Patch4: inputpipe-fixes.patch
Url: http://svn.navi.cx/misc/trunk/inputpipe/
Group: Productivity/Networking/Other
License: GPL-2.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc glibc-devel make
%description
Inputpipe is a client/server application for making any Linux input
device network-transparent. An inputpipe client runs on a computer with
some arbitrary input devices, forwarding information and status from
those devices to an inputpipe server. The server creates local input
devices that are for all practical purposes identical copies of the
devices being forwarded.
Authors:
--------
Micah Dowty <micah@navi.cx>
%prep
%setup -q
%patch1 -p1
%patch2
%patch4
%build
%__make %{?jobs:-j%{jobs}} \
OPTFLAGS="%{optflags} -fno-strict-aliasing" \
CC="%__cc" \
INSTDIR="%{_bindir}"
%install
%__install -d "%{buildroot}%{_bindir}"
%makeinstall INSTDIR="%{buildroot}%{_bindir}"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc COPYING README
%doc conf/*.sample
%{_bindir}/inputpipe-client
%{_bindir}/inputpipe-server
%changelog