Blame 6tunnel.spec

Bernhard M. Wiedemann 2ccf8c
#
Bernhard M. Wiedemann 2ccf8c
# spec file for package 6tunnel
Bernhard M. Wiedemann 2ccf8c
#
Bernhard M. Wiedemann 796eb4
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
Bernhard M. Wiedemann 2ccf8c
# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
Bernhard M. Wiedemann 2ccf8c
#
Bernhard M. Wiedemann 2ccf8c
# All modifications and additions to the file contributed by third parties
Bernhard M. Wiedemann 2ccf8c
# remain the property of their copyright owners, unless otherwise agreed
Bernhard M. Wiedemann 2ccf8c
# upon. The license for this file, and modifications and additions to the
Bernhard M. Wiedemann 2ccf8c
# file, is the same license as for the pristine package itself (unless the
Bernhard M. Wiedemann 2ccf8c
# license for the pristine package is not an Open Source License, in which
Bernhard M. Wiedemann 2ccf8c
# case the license is the MIT License). An "Open Source License" is a
Bernhard M. Wiedemann 2ccf8c
# license that conforms to the Open Source Definition (Version 1.9)
Bernhard M. Wiedemann 2ccf8c
# published by the Open Source Initiative.
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 796eb4
# Please submit bugfixes or comments via https://bugs.opensuse.org/
Bernhard M. Wiedemann 2ccf8c
#
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
Name:           6tunnel
Bernhard M. Wiedemann 796eb4
Version:        0.13
Bernhard M. Wiedemann 2ccf8c
Release:        0
Bernhard M. Wiedemann 2ccf8c
Summary:        TCP proxy for non-IPv6 applications
Bernhard M. Wiedemann 2ccf8c
License:        GPL-2.0-or-later
Bernhard M. Wiedemann 2ccf8c
Group:          Productivity/Networking/System
Bernhard M. Wiedemann 2ccf8c
URL:            https://github.com/wojtekka/6tunnel
Bernhard M. Wiedemann 2ccf8c
#Git-Clone:     https://github.com/wojtekka/6tunnel.git
Bernhard M. Wiedemann 2ccf8c
Source:         https://github.com/wojtekka/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Bernhard M. Wiedemann 2ccf8c
BuildRequires:  autoconf
Bernhard M. Wiedemann 2ccf8c
BuildRequires:  automake
Bernhard M. Wiedemann 796eb4
BuildRequires:  python2
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
%description
Bernhard M. Wiedemann 2ccf8c
6tunnel allows using services provided by IPv6 hosts with IPv4-only
Bernhard M. Wiedemann 2ccf8c
applications and vice versa. It can bind to any of the system's IPv4
Bernhard M. Wiedemann 2ccf8c
or IPv6 addresses and forward all data to IPv4 or IPv6 hosts.
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
It can be used, for example, as an IPv6-capable IRC proxy.
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
%prep
Bernhard M. Wiedemann 2ccf8c
%setup -q
Bernhard M. Wiedemann 796eb4
sed -i 's|#!/usr/bin/env python|#!/usr/bin/python2|' test.py
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
%build
Bernhard M. Wiedemann 2ccf8c
autoreconf -fi
Bernhard M. Wiedemann 2ccf8c
%configure
Bernhard M. Wiedemann 2ccf8c
make %{?_smp_mflags}
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
%install
Bernhard M. Wiedemann 2ccf8c
%make_install
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 796eb4
%check
Bernhard M. Wiedemann 796eb4
make %{?_smp_mflags} check
Bernhard M. Wiedemann 796eb4
Bernhard M. Wiedemann 2ccf8c
%files
Bernhard M. Wiedemann 2ccf8c
%license COPYING
Bernhard M. Wiedemann 2ccf8c
%doc ChangeLog README.md
Bernhard M. Wiedemann 2ccf8c
%{_bindir}/6tunnel
Bernhard M. Wiedemann 2ccf8c
%{_mandir}/man1/6tunnel.1%{?ext_man}
Bernhard M. Wiedemann 2ccf8c
Bernhard M. Wiedemann 2ccf8c
%changelog