2015-07-29 07:19:38 +00:00
|
|
|
Name: secilc
|
|
|
|
Version: 2.4
|
2015-09-01 18:43:32 +00:00
|
|
|
Release: 6%{?dist}
|
2015-07-29 07:19:38 +00:00
|
|
|
Summary: The SELinux CIL Compiler
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
|
|
|
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsepol-2.4.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: libsepol-static >= 2.4, dblatex, flex, xmlto
|
|
|
|
|
|
|
|
%description
|
|
|
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
|
|
|
described on the CIL design wiki into a kernel binary policy file.
|
|
|
|
Please see the CIL Design Wiki at:
|
|
|
|
http://github.com/SELinuxProject/cil/wiki/
|
|
|
|
for more information about the goals and features on the CIL language.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for the SELinux CIL Compiler
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
|
|
|
described on the CIL design wiki into a kernel binary policy file.
|
|
|
|
Please see the CIL Design Wiki at:
|
|
|
|
http://github.com/SELinuxProject/cil/wiki/
|
|
|
|
for more information about the goals and features on the CIL language.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libsepol-2.4
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
pushd cil
|
2015-09-01 18:43:32 +00:00
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}" LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
2015-07-29 07:19:38 +00:00
|
|
|
pushd docs
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
pushd cil
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man8
|
|
|
|
install -p secilc %{buildroot}%{_bindir}
|
|
|
|
install -m 644 -p docs/man8/secilc.8 %{buildroot}%{_mandir}/man8
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/secilc
|
|
|
|
%{_mandir}/man8/secilc.8.gz
|
|
|
|
%license cil/COPYING
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc cil/docs/html
|
|
|
|
%doc cil/docs/pdf
|
|
|
|
%license cil/COPYING
|
|
|
|
|
|
|
|
%changelog
|
2015-09-01 18:43:32 +00:00
|
|
|
* Tue Sep 01 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.4-6
|
|
|
|
- tell make where libsepol.a is to fix FTBFS on non-x86 64-bit archs - rhbz#1249522
|
|
|
|
|
2015-07-29 07:19:38 +00:00
|
|
|
* Wed Jul 29 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-5
|
|
|
|
- secilc-doc do not need the base package
|
2015-07-29 07:22:04 +00:00
|
|
|
- Fedora package review https://bugzilla.redhat.com/show_bug.cgi?id=1245270
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
* Thu Jul 23 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-4
|
|
|
|
- add license file
|
|
|
|
|
|
|
|
* Wed Jul 22 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-3
|
|
|
|
- remove unnecessary dependencies
|
|
|
|
- don't build libsepol
|
|
|
|
|
|
|
|
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-2
|
|
|
|
- make secilc-doc package noarch
|
|
|
|
|
|
|
|
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1
|
|
|
|
- initial build based on libsepol-2.4 sources
|