firewalld/firewalld.spec

116 lines
3.4 KiB
RPMSpec

Name: firewalld
Version: 2.1.0
Release: 1mamba
Summary: Stateful zone based firewall daemon with D-Bus interface
Group: Network/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/firewalld/firewalld
Source: https://github.com/firewalld/firewalld.git/v%{version}/firewalld-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-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 %{_prefix}/lib/firewalld/xmlschema
%{_prefix}/lib/firewalld/xmlschema/*
%dir %{python3_sitelib}/firewall
%{python3_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
* Sun Jan 07 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Thu Oct 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
- update to 2.0.1
* Sat Aug 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- package created using the webbuild interface