Version: 2.9.0 Release: 8%{?dist} Source0: mozillavpn-2.9.0.tar.gz Name: mozillavpn Summary: Mozilla VPN License: MPLv2.0 URL: https://vpn.mozilla.org Packager: Cimbali Requires: libQt6Core6 >= 6.0 Requires: libQt6NetworkAuth6 >= 6.0 Requires: libQt6QuickControls2-6 >= 6.0 Requires: libQt6Svg6 >= 6.0 Requires: libQt6Core5Compat6 >= 6.0 Requires: qt6-qt5compat-imports >= 6.0 Requires: wireguard-tools BuildRequires: golang >= 1.13 BuildRequires: python3 >= 3.6 BuildRequires: polkit-devel BuildRequires: python3-PyYAML BuildRequires: python3-lxml BuildRequires: cargo BuildRequires: qt6-base-devel >= 6.0 BuildRequires: qt6-base-common-devel >= 6.0 BuildRequires: qt6-networkauth-devel >= 6.0 BuildRequires: qt6-declarative-devel >= 6.0 BuildRequires: qt6-svg-devel >= 6.0 BuildRequires: qt6-tools-devel >= 6.0 BuildRequires: qt6-websockets-devel >= 6.0 BuildRequires: qt6-qt5compat-devel >= 6.0 BuildRequires: qt6-tools-linguist >= 6.0 BuildRequires: systemd BuildRequires: systemd-rpm-macros %description A fast, secure and easy to use VPN. Built by the makers of Firefox. Read more on https://vpn.mozilla.org This RPM is not packaged by Mozilla. %prep %autosetup %undefine _lto_cflags %build %define _vpath_srcdir . %cmake -DWEBEXT_INSTALL_LIBDIR:PATH=%{_libdir} -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} -DCMAKE_INSTALL_DATADIR:PATH=%{_datadir} %cmake_build %install %cmake_install install -d %{buildroot}%{_datadir}/%{name} install LICENSE.md %{buildroot}%{_datadir}/%{name}/ %files %license %{_datadir}/%{name}/LICENSE.md %{_sysconfdir}/chromium/native-messaging-hosts/mozillavpn.json %{_sysconfdir}/opt/chrome/native-messaging-hosts/mozillavpn.json %{_sysconfdir}/xdg/autostart/mozillavpn-startup.desktop %{_unitdir}/mozillavpn.service %{_bindir}/mozillavpn %{_libdir}/mozillavpn/mozillavpnnp %{_libdir}/mozilla/native-messaging-hosts/mozillavpn.json %{_datadir}/applications/mozillavpn.desktop %{_datadir}/dbus-1/system-services/org.mozilla.vpn.dbus.service %{_datadir}/dbus-1/system.d/org.mozilla.vpn.conf %{_datadir}/icons/hicolor/128x128/apps/mozillavpn.png %{_datadir}/icons/hicolor/16x16/apps/mozillavpn.png %{_datadir}/icons/hicolor/32x32/apps/mozillavpn.png %{_datadir}/icons/hicolor/48x48/apps/mozillavpn.png %{_datadir}/icons/hicolor/64x64/apps/mozillavpn.png %{_datadir}/polkit-1/actions/org.mozilla.vpn.policy %doc %{_datadir}/mozillavpn