File ip6nat.spec of Package ip6nat
#
# spec file for package ip6nat
#
# Copyright (c) 2015 SUSE LINUX 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: ip6nat
Version: 0.6
Release: 0
Summary: IPv6 NAT via ip6tables QUEUE target
License: GPL-2.0
Group: Productivity/Networking/Diagnostic
Url: http://users.suse.com/~krahmer/ip6nat/
Source: http://users.suse.com/~krahmer/ip6nat/%{name}-%{version}.tgz
Patch0: install.patch
Patch1: fixtype.patch
Patch2: pkgconfig.patch
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libnetfilter_queue)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
IPv6 NAT via ip6tables QUEUE target
especially for transparent proxying
%prep
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
make
%install
make install PREFIX=%{buildroot}/usr
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%changelog