File trinity.spec of Package trinity

#
# spec file for package trinity
#
# 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:           trinity
Version:        20150905
Release:        0
Summary:        A Linux System call fuzz tester
License:        GPL-2.0
Group:          Development/Tools/Other
Url:            http://codemonkey.org.uk/projects/trinity/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls
at random, with random arguments.  Not an original idea, and one that has been
done many times before on Linux, and on other operating systems.  Where
Trinity differs is that the arguments it passes are not purely random.

%prep
%setup -q

%build
./configure.sh
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot}/usr install

%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/trinity

%changelog
openSUSE Build Service is sponsored by