# Packager: Paul Pfeister (GitHub @ppfeister) Name: sherlock-project Version: 0.14.4 Release: %autorelease Summary: Hunt down social media accounts by username across social networks #TODO Update URL and Source to upstream License: MIT URL: https://github.com/ppfeister/sherlock Source: %{url}/archive/feature/pyproj.tar.gz # Switch to new Source URL after adoption of tagged releases # Fedora compatibility (upstream dependency change planned) Patch0: https://raw.githubusercontent.com/ppfeister/pkg/master/sherlock/0001-Remove-tor.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: help2man %global _description %{expand: Hunt down social media accounts by username across 400+ social networks and websites. New targets are tested and implemented regularly. } %description %{_description} #TODO Update autosetup to upstream %prep %autosetup -p1 -n sherlock-feature-pyproj sed -i '/torrequest/d' 'pyproject.toml' # Pending upstream changes with Patch0 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L sherlock sed -r -i '1{/^#!/d}' '%{buildroot}%{python3_sitelib}/sherlock/__main__.py' sed -r -i '1{/^#!/d}' '%{buildroot}%{python3_sitelib}/sherlock/sherlock.py' install -d '%{buildroot}%{_mandir}/man1' PYTHONPATH='%{buildroot}%{python3_sitelib}' help2man \ --no-info \ --version-string='%{version}' \ --name='%{summary}' \ --output='%{buildroot}%{_mandir}/man1/sherlock.1' \ '%{buildroot}%{_bindir}/sherlock' %check %{py3_test_envvars} %{python3} -m unittest tests.all --verbose %files -f %{pyproject_files} %license LICENSE %doc docs/README.md %{_bindir}/sherlock %{_mandir}/man1/sherlock.1* %changelog * Tue May 14 2024 Paul Pfeister 0.14.4-1 - Initial package.