# Force out of source build %undefine __cmake_in_source_build Name: manafirewall Version: 0.0.2 Release: 1%{?dist} Summary: ManaTools FirewallD configuration tool License: GPLv2+ URL: https://github.com/manatools/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: cmake >= 3.4.0 BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: git-core BuildRequires: pkgconfig BuildRequires: python3-devel >= 3.4.0 BuildRequires: python3-yaml BuildRequires: python3-yui BuildRequires: python3-manatools >= 0.0.3 Requires: hicolor-icon-theme Requires: python3-yaml Requires: python3-yui Requires: python3-manatools >= 0.0.3 Requires: python3-firewall Requires: firewalld # Ensure base TUI deps are installed Requires: libyui-ncurses Requires: libyui-mga-ncurses Provides: %{name}-gui = %{version}-%{release} Recommends: (libyui-mga-qt if qt5-qtbase-gui) Recommends: (libyui-mga-gtk if gtk3) %description %{name} is the graphical configuration tool for firewalld based on python manatools and libYui (Suse widget abstraction library), to be run using Qt 5, GTK+ 3, or ncurses interfaces. %prep %autosetup -S git_am %build %cmake -DCHECK_RUNTIME_DEPENDENCIES=ON %cmake_build %install %cmake_install %find_lang %{name} %check # Validate desktop-files. %{_bindir}/desktop-file-validate \ %{buildroot}%{_datadir}/applications/*.desktop # Validate metainfo-files. appstream-util validate-relax --nonet \ %{buildroot}%{_datadir}/metainfo/*.metainfo.xml %files -f %{name}.lang %doc README.md TODO.md %license AUTHORS LICENSE %{_bindir}/%{name} %{python3_sitelib}/%{name}/ %{_datadir}/applications/*%{name}*.desktop %{_datadir}/icons/hicolor/*/apps/%{name}* %{_metainfodir}/*%{name}.metainfo.xml %changelog * Sat Mar 13 2021 Neal Gompa - 0.0.2-1 - Update to 0.0.2 - Drop fix included in this release - Fix license tag * Sun Mar 07 2021 Neal Gompa - 0.0.1-4 - Adapt to Fedora - Backport fix to install metainfo file * Sun Sep 13 2020 Angelo Naselli 0.0.1-3.mga8 + Revision: 1625884 - Added firewalld dependencies * Sun Sep 13 2020 Angelo Naselli 0.0.1-2.mga8 + Revision: 1625766 - manafirewall description * Sun Sep 13 2020 Angelo Naselli 0.0.1-1.mga8 + Revision: 1625677 - python manatools dependency - imported package manafirewall