File slirp.spec of Package slirp
#
# spec file for package slirp
#
# Copyright (c) 2013 Mateusz Viste
#
# 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: slirp
Version: 1.0.17
Release: 1%{?dist}
Summary: Slirp emulates a PPP or SLIP connection over a normal terminal
Url: http://slirp.sourceforge.net/
Group: Productivity/Networking/Other
License: GPL-2.0+
Source0: slirp-1.0.17.tar.gz
BuildRequires: gcc
%description
Slirp emulates a PPP or SLIP connection over a normal terminal. This is an actual PPP or SLIP link, firewalled for people's protection. It makes a quick way to connect your Palm Pilot over the Internet via your Unix or Linux box!!! You don't need to mess around with your /etc/inetd.conf or your /etc/ppp/options on your system.
%prep
%setup
cd src
rm -f config.cache
./configure
%build
cd src
make
%check
%install
cd src
install -D slirp %buildroot/%{_bindir}/slirp
cd ..
cd man
install -D slirp.1.gz %buildroot/%_mandir/man1/slirp.1.gz
%files
%attr(644, root, root) %doc docs/slirp.doc ChangeLog README
%attr(644, root, root) %doc %_mandir/man1/slirp.1.gz
%attr(755, root, root) %{_bindir}/slirp
%changelog