Petr Lautrbach 4511827
%global libsepolver 3.5-1
Petr Lautrbach 4511827
Petr Lautrbach 4511827
Name:           secilc
Petr Lautrbach 4511827
Version:        3.5
Petr Lautrbach 4511827
Release:        1%{?dist}
Petr Lautrbach 4511827
Summary:        The SELinux CIL Compiler
Petr Lautrbach 4511827
Petr Lautrbach 4511827
License:        BSD-2-Clause
Petr Lautrbach 4511827
URL:            https://github.com/SELinuxProject/selinux/wiki
Petr Lautrbach 4511827
Source0:        https://github.com/SELinuxProject/selinux/releases/download/3.5/secilc-3.5.tar.gz
Petr Lautrbach 4511827
# fedora-selinux/selinux: git format-patch -N 3.5 -- secilc
Petr Lautrbach 4511827
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
Petr Lautrbach 4511827
# Patch list start
Petr Lautrbach 4511827
# Patch list end
Petr Lautrbach 4511827
Requires:       libsepol >= %{libsepolver}
Petr Lautrbach 4511827
BuildRequires:  gcc
Petr Lautrbach 4511827
BuildRequires:  make
Petr Lautrbach 4511827
BuildRequires:  libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc-pdf, texlive-mdwtools
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%description
Petr Lautrbach 4511827
The SELinux CIL Compiler is a compiler that converts the CIL language as
Petr Lautrbach 4511827
described on the CIL design wiki into a kernel binary policy file.
Petr Lautrbach 4511827
Please see the CIL Design Wiki at:
Petr Lautrbach 4511827
http://github.com/SELinuxProject/cil/wiki/
Petr Lautrbach 4511827
for more information about the goals and features on the CIL language.
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%package doc
Petr Lautrbach 4511827
Summary:        Documentation for the SELinux CIL Compiler
Petr Lautrbach 4511827
BuildArch:      noarch
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%description doc
Petr Lautrbach 4511827
The SELinux CIL Compiler is a compiler that converts the CIL language as
Petr Lautrbach 4511827
described on the CIL design wiki into a kernel binary policy file.
Petr Lautrbach 4511827
Please see the CIL Design Wiki at:
Petr Lautrbach 4511827
http://github.com/SELinuxProject/cil/wiki/
Petr Lautrbach 4511827
for more information about the goals and features on the CIL language.
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%prep
Petr Lautrbach 4511827
%autosetup -p 2 -n secilc-%{version}
Petr Lautrbach 4511827
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%build
Petr Lautrbach 4511827
%set_build_flags
Petr Lautrbach 4511827
make %{?_smp_mflags} LIBSEPOL_STATIC=%{_libdir}/libsepol.a
Petr Lautrbach 4511827
pushd docs
Petr Lautrbach 4511827
make %{?_smp_mflags}
Petr Lautrbach 4511827
popd
Petr Lautrbach 4511827
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%install
Petr Lautrbach 4511827
make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install
Petr Lautrbach 4511827
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%files
Petr Lautrbach 4511827
%{_bindir}/secilc
Petr Lautrbach 4511827
%{_bindir}/secil2conf
Petr Lautrbach 4511827
%{_bindir}/secil2tree
Petr Lautrbach 4511827
%{_mandir}/man8/secilc.8.gz
Petr Lautrbach 4511827
%{_mandir}/man8/secil2conf.8.gz
Petr Lautrbach 4511827
%{_mandir}/man8/secil2tree.8.gz
Petr Lautrbach 4511827
%license LICENSE
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%files doc
Petr Lautrbach 4511827
%doc docs/html
Petr Lautrbach 4511827
%doc docs/pdf
Petr Lautrbach 4511827
%license LICENSE
Petr Lautrbach 4511827
Petr Lautrbach 4511827
%changelog
Petr Lautrbach 4511827
* Fri Feb 24 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-1
Petr Lautrbach 4511827
- SELinux userspace 3.5 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Feb 14 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc3.1
Petr Lautrbach 4511827
- SELinux userspace 3.5-rc3 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-0.rc2.1.1
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Jan 16 2023 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc2.1
Petr Lautrbach 4511827
- SELinux userspace 3.5-rc2 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Dec 27 2022 Petr Lautrbach <lautrbach@redhat.com> - 3.5-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 3.5-rc1 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Nov 22 2022 Petr Lautrbach <lautrbach@redhat.com> - 3.4-4
Petr Lautrbach 4511827
- Rebase on upstream f56a72ac9e86
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed May 25 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-2
Petr Lautrbach 4511827
- rebuilt
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu May 19 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-1
Petr Lautrbach 4511827
- SELinux userspace 3.4 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue May 10 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc3.1
Petr Lautrbach 4511827
- SELinux userspace 3.4-rc3 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Apr 22 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc2.1
Petr Lautrbach 4511827
- SELinux userspace 3.4-rc2 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Apr 13 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 3.4-rc1 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Oct 22 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-1
Petr Lautrbach 4511827
- SELinux userspace 3.3 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Oct 11 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-0.rc3.1
Petr Lautrbach 4511827
- SELinux userspace 3.3-rc3 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Sep 29 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-0.rc2.1
Petr Lautrbach 4511827
- SELinux userspace 3.3-rc2 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Aug  4 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-4.1
Petr Lautrbach 4511827
- Require libsepol version same or bigger as it was used to build this package
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Jul 29 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-3
Petr Lautrbach 4511827
- Rebase on upstream commit 32611aea6543
Petr Lautrbach 4511827
- Introduce secil2tree program
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Mar  8 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-1
Petr Lautrbach 4511827
- SELinux userspace 3.2 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.rc1.1.1
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Jan 22 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 3.2-rc1 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Nov 20 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-3
Petr Lautrbach 4511827
- Rebuilt with libsepol.so.2
Petr Lautrbach 4511827
- cil_network_labeling_statements: fixes nodecon examples
Petr Lautrbach 4511827
- cil_access_vector_rules: allowx, auditallowx and dontauditx fixes
Petr Lautrbach 4511827
- secilc/docs: document expandtypeattribute
Petr Lautrbach 4511827
- Update the cil docs to match the current behaviour.
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1
Petr Lautrbach 4511827
- SELinux userspace 3.1 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Dec  6 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-1
Petr Lautrbach 4511827
- SELinux userspace 3.0 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Nov 12 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 3.0-rc1 release candidate
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Mar 19 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-1
Petr Lautrbach 4511827
- SELinux userspace 2.9 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Mar 11 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-0.rc2.1
Petr Lautrbach 4511827
- SELinux userspace 2.9-rc2 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-0.rc1.1.1
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Jan 25 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 2.9-rc1 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri May 25 2018 Petr Lautrbach <plautrba@workstation> - 2.8-1
Petr Lautrbach 4511827
- SELinux userspace 2.8 release
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue May 15 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc3.1
Petr Lautrbach 4511827
- SELinux userspace 2.8-rc3 release candidate
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Apr 23 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc1.1
Petr Lautrbach 4511827
- SELinux userspace 2.8-rc1 release candidate
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Mar 13 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-5
Petr Lautrbach 4511827
- build: follow standard semantics for DESTDIR and PREFIX
Petr Lautrbach 4511827
- Describe multiple-decls in secilc.8.xml
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Nov 22 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-3
Petr Lautrbach 4511827
- Rebuild with libsepol-2.7-3
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Oct 20 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-2
Petr Lautrbach 4511827
- Fixed bad reference in roleattribute
Petr Lautrbach 4511827
- cil: Add ability to redeclare types[attributes]
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Aug 07 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-1
Petr Lautrbach 4511827
- Update to upstream release 2017-08-04
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Feb 15 2017 Petr Lautrbach <plautrba@redhat.com> - 2.6-1
Petr Lautrbach 4511827
- Update to upstream release 2016-10-14
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-7
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Oct 04 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-6
Petr Lautrbach 4511827
- Rebuilt with libsepol-2.5-10
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Mon Aug 01 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-5
Petr Lautrbach 4511827
- Rebuilt with libsepol-2.5-9
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Jun 23 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-4
Petr Lautrbach 4511827
- Rebuilt with libsepol-2.5-7
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed May 11 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-3
Petr Lautrbach 4511827
- Rebuilt with libsepol-2.5-6
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Fri Apr 08 2016  - 2.5-2
Petr Lautrbach 4511827
- Add documentation and test rule for portcon dccp protocol
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
Petr Lautrbach 4511827
- Update to upstream release 2016-02-23
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Sun Feb 21 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-0.1.rc1
Petr Lautrbach 4511827
- Update to upstream rc1 release 2016-01-07
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
Petr Lautrbach 4511827
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Sep 01 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.4-6
Petr Lautrbach 4511827
- tell make where libsepol.a is to fix FTBFS on non-x86 64-bit archs - rhbz#1249522
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Jul 29 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-5
Petr Lautrbach 4511827
- secilc-doc do not need the base package
Petr Lautrbach 4511827
- Fedora package review https://bugzilla.redhat.com/show_bug.cgi?id=1245270
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Thu Jul 23 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-4
Petr Lautrbach 4511827
- add license file
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Wed Jul 22 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-3
Petr Lautrbach 4511827
- remove unnecessary dependencies
Petr Lautrbach 4511827
- don't build libsepol
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-2
Petr Lautrbach 4511827
- make secilc-doc package noarch
Petr Lautrbach 4511827
Petr Lautrbach 4511827
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1
Petr Lautrbach 4511827
- initial build based on libsepol-2.4 sources