Initial import of secilc package
This commit is contained in:
parent
85cfac20fe
commit
e0f9185b96
|
@ -0,0 +1 @@
|
|||
/libsepol-2.4.tar.gz
|
|
@ -0,0 +1,78 @@
|
|||
Name: secilc
|
||||
Version: 2.4
|
||||
Release: 5%{?dist}
|
||||
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
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
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
|
||||
* Wed Jul 29 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-5
|
||||
- secilc-doc do not need the base package
|
||||
|
||||
* 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
|
Loading…
Reference in New Issue