%global debug_package %{nil} %global srcname NoDPI Summary: Say NO to blocking Name: nodpi Version: 2.1 Release: 1%{?dist} License: GPL-3.0-or-later URL: https://github.com/GVCoder09/%{srcname} Source0: https://github.com/GVCoder09/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz Source1: nodpi.service Source2: big-blacklist.txt BuildRequires: python3-pyinstaller %{?systemd_requires: %systemd_requires} %description NoDPI is a utility designed to bypass DPI (Deep Packet Inspection). What is DPI? DPI is a technology for inspecting network packets based on their content to regulate and filter traffic. It is often used by internet service providers to censor and block access to certain web resources and protocols. The goal of this program is to "trick" DPI by modifying network packets, although in reality, this trickery is often simply a consequence of a lack of computing resources and time. This utility was developed primarily for Russian users as a simpler (but less powerful) replacement for similar tools. In most cases, it gets the job done; in particular, it allows you to use YouTube without any problems. %prep %autosetup -n %{srcname}-%{version} %build pyinstaller ./nodpi.spec %check %install install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_datadir}/%{name} install -d -m 755 %{buildroot}%{_unitdir} install -m 755 ./dist/nodpi %{buildroot}%{_bindir} install -m 644 *blacklist.txt %{buildroot}%{_datadir}/%{name} install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/%{name} install -m 644 %{SOURCE1} %{buildroot}%{_unitdir} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %doc README.md README.ru.md %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/*.txt %{_unitdir}/%{name}.service %changelog * Fri Jan 16 2026 Arkady L. Shane - 2.1-1 - First build.