A new user interface for you! Read more...

File ssllabs-scan.spec of Package ssllabs-scan

#
# spec file for package ssllabs-spec 
#
# Copyright (c) 2015 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/
#


# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

# Don't try to build a debug package, breaks Fedora
%define debug_package %{nil}

Name:           ssllabs-scan
Version:        1.4.0
Release:        0
Summary:        Command-line client for the SSL Labs APIs
License:        Apache-2
Group:          Security
Url:            https://github.com/ssllabs/ssllabs-scan/
Source0:        %name-%version.tar.gz 
BuildRequires:  go
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This tool is a command-line client for the SSL Labs APIs, designed for
automated and/or bulk testing.

%prep
%setup -q -n %name-%version

%build
go build ssllabs-scan.go

%install
mkdir -p %{buildroot}/usr/bin
cp ssllabs-scan %{buildroot}/usr/bin

%files
%defattr(-,root,root,-)
%{_bindir}/ssllabs-scan
%doc AUTHORS LICENSE README.md ssllabs-api-docs.md TODO

%changelog