# Generated by go2rpm 1
%bcond_without check
# https://github.com/rverton/webanalyze
%global goipath github.com/rverton/webanalyze
Version: 0.3.1
%gometa
%global common_description %{expand:
Port of Wappalyzer (uncovers technologies used on websites) in Go to automate
scanning.}
%global golicenses LICENSE.txt
%global godocs README.md
Name: webanalyze
Release: 4%{?dist}
Summary: Tool to uncovers technologies used on websites
License: GPLv3
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/bobesa/go-domain-util/domainutil)
BuildRequires: golang(github.com/PuerkitoBio/goquery)
%description
%{common_description}
%gopkg
%prep
%goprep
%build
for cmd in cmd/* ; do
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/*
%gopkgfiles
%changelog
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Mar 27 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.3.1-1
- Initial package for Fedora