File snet-tools.spec of Package snet-tools

#
# spec file for package snet-tools
#
# 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/
#

Name:		snet-tools
Version:	0.1+
Release:	0
Summary:	SNET/TBD
License:	GPL
Group:		Productivity/Networking/Security
URL:		http://www.synack.fr/project/snet/snet.html
Source:		%name-%version.tar.xz
BuildRoot:	%_tmppath/%name-%version-build
BuildRequires:	pkgconfig(libsnet), xz

%description

%prep
%setup -qn %name

%build
if [ ! -e configure ]; then
	./autogen.sh;
fi;
%configure
make %{?_smp_mflags};

%install
%make_install

%files
%defattr(-,root,root)
%_sbindir/snet
openSUSE Build Service is sponsored by