# Based on initial .spec file from upstream, link here # https://github.com/netblue30/firejail/blob/master/platform/rpm/firejail.spec # Originally created by Firejail authors Name: firejail Version: 0.9.66 Release: 2%{?dist} Summary: Linux namespaces sandbox program BuildRequires: gcc make python3-devel BuildRequires: libselinux-devel Requires: xdg-dbus-proxy # spec released under GPLv2+, contacted upstream whether it can be # released under MIT License: GPLv2+ URL: https://github.com/netblue30/firejail Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz %description Firejail is a SUID sandbox program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces. It includes a sandbox profile for Mozilla Firefox. %prep %autosetup -p1 %build %configure --enable-selinux %make_build %install %make_install chmod 0755 %{buildroot}%{_libdir}/%{name}/lib*.so for f in \ %{buildroot}%{_libdir}/%{name}/fj-mkdeb.py \ %{buildroot}%{_libdir}/%{name}/fjclip.py \ %{buildroot}%{_libdir}/%{name}/fjdisplay.py \ %{buildroot}%{_libdir}/%{name}/fjresize.py do sed -i "1 s/^.*$/\#\!\/usr\/bin\/python3/" "$f"; done %files %doc README RELNOTES CONTRIBUTING.md %license COPYING %{_bindir}/firecfg %{_bindir}/firemon %{_bindir}/jailcheck %{_bindir}/%{name} %{_libdir}/%{name} %{_exec_prefix}/lib/debug/%{_bindir}/ %{_datarootdir}/bash-completion/completions/ %{_datarootdir}/vim/vimfiles %{_datarootdir}/zsh/site-functions/_%{name} %{_docdir}/%{name}/COPYING %{_docdir}/%{name}/profile.template %{_docdir}/%{name}/redirect_alias-profile.template %{_docdir}/%{name}/syscalls.txt %{_mandir}/man5/%{name}-login.5.* %{_mandir}/man5/%{name}-profile.5.* %{_mandir}/man5/%{name}-users.5.* %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/%{name} %changelog * Wed Jul 21 2021 Fedora Release Engineering - 0.9.66-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 01 2021 Ondrej Dubaj - 0.9.66-1 - Rebase to version 0.9.66 * Mon Feb 08 2021 Ondrej Dubaj - 0.9.64.4-1 - Rebase to version 0.9.64.4 * Fri Jan 29 2021 Ondrej Dubaj - 0.9.64.2-1 - Rebase to version 0.9.64.2 * Tue Jan 26 2021 Fedora Release Engineering - 0.9.64-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Oct 23 2020 Ondrej Dubaj - 0.9.64-2 - Add selinux and xdg-dbus-proxy dependencies - Enable selinux * Fri Oct 23 2020 Ondrej Dubaj - 0.9.64-1 - Rebase to version 0.9.64 * Tue Aug 18 2020 Ondrej Dubaj - 0.9.62.4-1 - Rebase to version 0.9.62.4 * Wed Aug 12 2020 Ondrej Dubaj - 0.9.62.2-1 - Rebase to version 0.9.62.2 * Mon Jul 27 2020 Fedora Release Engineering - 0.9.62-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 2020 Ondrej Dubaj - 0.9.62-1 - Rebase to version 0.9.62 * Tue Jan 28 2020 Fedora Release Engineering - 0.9.56-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jul 29 2019 Ondrej Dubaj 0.9.56-9 - Resolved f31 build errors * Thu Jul 25 2019 Fedora Release Engineering - 0.9.56-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.9.56-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 22 2018 Ondrej Dubaj 0.9.56-6 - Added python3-devel to BuildRequires, modified python shebangs * Wed Nov 21 2018 Ondrej Dubaj 0.9.56-5 - Modified path to bash completion scripts * Mon Nov 19 2018 Ondrej Dubaj 0.9.56-4 - Fixed problem with bash completion scripts * Thu Nov 15 2018 Ondrej Dubaj 0.9.56-3 - Fixed .spec file according to review request comments (#1645172) * Thu Nov 8 2018 Ondrej Dubaj 0.9.56-2 - Fixed .spec file according to review request comments (#1645172) * Mon Oct 22 2018 Ondrej Dubaj 0.9.56-1 - First firejail RPM package for Fedora