diff --git a/README.md b/README.md index 184a393..92d8eff 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # firewalld +Stateful zone based firewall daemon with D-Bus interface. diff --git a/firewalld.spec b/firewalld.spec new file mode 100644 index 0000000..b52209a --- /dev/null +++ b/firewalld.spec @@ -0,0 +1,104 @@ +Name: firewalld +Version: 2.0.0 +Release: 1mamba +Summary: Stateful zone based firewall daemon with D-Bus interface +Group: System/ +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: Network/Security +Source: https://github.com/firewalld/firewalld.git/v%{version}/firewalld-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython310-devel +## AUTOBUILDREQ-END + +%description +Stateful zone based firewall daemon with D-Bus interface. + +#% debug_package + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%systemd_post firewalld +: + +%preun +%systemd_preun firewalld +: + +%postun +%systemd_postun_with_restart firewalld +: + +%files -f %{name}.lang +%defattr(-,root,root) +%dir %{_sysconfdir}/firewall +%config(noreplace) %{_sysconfdir}/firewall/applet.conf +%dir %{_sysconfdir}/firewalld +%config(noreplace) %{_sysconfdir}/firewalld/firewalld.conf +%config(noreplace) %{_sysconfdir}/firewalld/lockdown-whitelist.xml +%{_sysconfdir}/logrotate.d/firewalld +%{_sysconfdir}/modprobe.d/firewalld-sysctls.conf +%config(noreplace) %{_sysconfdir}/sysconfig/firewalld +%{_sysconfdir}/xdg/autostart/firewall-applet.desktop +%{_bindir}/firewall-applet +%{_bindir}/firewall-cmd +%{_bindir}/firewall-config +%{_bindir}/firewall-offline-cmd +%{_sbindir}/firewalld +%{_unitdir}/firewalld.service +%{_datadir}/applications/firewall-config.desktop +%{_datadir}/metainfo/firewall-config.appdata.xml +%{_datadir}/bash-completion/completions/firewall-cmd +%{_datadir}/dbus-1/system.d/FirewallD.conf +%dir %{_prefix}/lib/firewalld +%dir %{_prefix}/lib/firewalld/helpers +%{_prefix}/lib/firewalld/helpers/*.xml +%dir %{_prefix}/lib/firewalld/icmptypes +%{_prefix}/lib/firewalld/icmptypes/*.xml +%dir %{_prefix}/lib/firewalld/ipsets +%{_prefix}/lib/firewalld/ipsets/README.md +%dir %{_prefix}/lib/firewalld/policies +%{_prefix}/lib/firewalld/policies/*.xml +%dir %{_prefix}/lib/firewalld/services +%{_prefix}/lib/firewalld/services/*.xml +%dir %{_prefix}/lib/firewalld/zones +%{_prefix}/lib/firewalld/zones/*.xml +%dir %{python310_sitelib}/firewall +%{python310_sitelib}/firewall/* +%dir %{_datadir}/firewalld +%{_datadir}/firewalld/* +%{_datadir}/glib-2.0/schemas/org.fedoraproject.FirewallConfig.gschema.xml +%{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.policy +%{_datadir}/polkit-1/actions/org.fedoraproject.FirewallD1.*.choice +%{_datadir}/zsh/site-functions/_firewalld +%{_datadir}/icons/hicolor/*/apps/firewall-*.png +%{_datadir}/icons/hicolor/scalable/apps/firewall*.svg +%{_mandir}/man1/firewall-applet.1* +%{_mandir}/man1/firewall-cmd.1* +%{_mandir}/man1/firewall-config.1* +%{_mandir}/man1/firewall-offline-cmd.1* +%{_mandir}/man1/firewalld.1* +%{_mandir}/man5/firewalld.*5* +%doc COPYING + +%changelog +* Sat Aug 12 2023 Silvan Calarco 2.0.0-1mamba +- package created using the webbuild interface