Name: hblock Version: 3.4.4 Release: 1 Summary: Adblocker that creates a hosts file from multiple sources License: MIT URL: https://github.com/hectorm/hblock Source0: https://github.com/hectorm/%{name}/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: systemd Requires: systemd Requires: bash Requires: (curl or wget) %description hBlock is a POSIX-compliant shell script that gets a list of domains that serve ads, tracking scripts and malware from multiple sources and creates a hosts file, among other formats, that prevents your system from connecting to them. %prep %autosetup %install %make_install prefix="%{_prefix}" bindir="%{_bindir}" mandir="%{_mandir}" unitdir="%{_unitdir}" %post %systemd_post %{name}.timer %preun %systemd_preun %{name}.timer %files %{_bindir}/%{name} %{_unitdir}/%{name}.timer %{_unitdir}/%{name}.service %{_mandir}/man1/%{name}.1* %license LICENSE.md %doc README.md %changelog %autochangelog