2015-07-29 07:19:38 +00:00
|
|
|
Name: secilc
|
2016-02-21 12:54:22 +00:00
|
|
|
Version: 2.5
|
2016-06-23 11:57:09 +00:00
|
|
|
Release: 4%{?dist}
|
2015-07-29 07:19:38 +00:00
|
|
|
Summary: The SELinux CIL Compiler
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
2016-02-23 21:52:48 +00:00
|
|
|
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/secilc-2.5.tar.gz
|
2016-04-08 19:52:40 +00:00
|
|
|
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
|
|
|
|
# run:
|
|
|
|
# $ VERSION=2.5 ./make-fedora-selinux-patch.sh secilc
|
|
|
|
# HEAD https://github.com/fedora-selinux/selinux/commit/4bfb84c7ff7b33cf06b9a6b2317d24054b9db562
|
|
|
|
Patch1: secilc-fedora.patch
|
2015-07-29 07:19:38 +00:00
|
|
|
|
2016-06-23 11:57:09 +00:00
|
|
|
BuildRequires: libsepol-static >= 2.5-7, dblatex, flex, xmlto, pandoc
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%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
|
2016-02-23 21:52:48 +00:00
|
|
|
%setup -q -n secilc-2.5
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
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
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2016-02-21 12:54:22 +00:00
|
|
|
make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/secilc
|
|
|
|
%{_mandir}/man8/secilc.8.gz
|
2016-02-21 12:54:22 +00:00
|
|
|
%license COPYING
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%files doc
|
2016-02-21 12:54:22 +00:00
|
|
|
%doc docs/html
|
|
|
|
%doc docs/pdf
|
|
|
|
%license COPYING
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-06-23 11:57:09 +00:00
|
|
|
* Thu Jun 23 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-4
|
|
|
|
- Rebuilt with libsepol-2.5-7
|
|
|
|
|
2016-05-11 09:17:54 +00:00
|
|
|
* Wed May 11 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-3
|
|
|
|
- Rebuilt with libsepol-2.5-6
|
|
|
|
|
2016-04-08 19:52:40 +00:00
|
|
|
* Fri Apr 08 2016 - 2.5-2
|
|
|
|
- Add documentation and test rule for portcon dccp protocol
|
|
|
|
|
2016-02-23 21:52:48 +00:00
|
|
|
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
|
|
|
|
- Update to upstream release 2016-02-23
|
|
|
|
|
2016-02-21 12:54:22 +00:00
|
|
|
* Sun Feb 21 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-0.1.rc1
|
|
|
|
- Update to upstream rc1 release 2016-01-07
|
|
|
|
|
2016-02-04 23:49:36 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
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
|