Blob Blame History Raw
Name:           webtech
Version:        1.2.6
Release:        1%{?dist}
Summary:        A tool to identify technologies used on websites

License:        GPLv3+
URL:            https://github.com/ShielderSec/webtech
Source0:        https://github.com/ShielderSec/webtech/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools

Requires:       %{py3_dist requests}

%description
WebTech is a Python software that can identify web technologies by visiting
a given website, parsing a single response file or replaying a request 
described in a text file. This way you can have reproducible results and
minimize the requests you need to make to a target website.

%prep
%autosetup -n %{name}-%{version}
sed -i -e '/^#!\//, 1d' webtech/*.py

%build
%py3_build

%install
%py3_install

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{python3_sitelib}/%{name}-*.egg-info/
%{python3_sitelib}/%{name}/

%changelog
* Sun Apr 28 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.6-1
- Update to latest upstream relase 1.2.6 

* Thu Apr 11 2019 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.5-1
- Initial package