added subpackages for python and perl bindings [release 3.1.1-3mamba;Thu Nov 03 2022]
This commit is contained in:
parent
ea812bc256
commit
3302a47ea5
@ -1,6 +1,6 @@
|
|||||||
Name: apparmor
|
Name: apparmor
|
||||||
Version: 3.1.1
|
Version: 3.1.1
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: Mandatory Access Control (MAC) using Linux Security Module (LSM)
|
Summary: Mandatory Access Control (MAC) using Linux Security Module (LSM)
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -38,6 +38,29 @@ Requires: pkg-config
|
|||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%package -n ruby-%{name}
|
||||||
|
Group: System/Libraries/Ruby
|
||||||
|
Summary: Ruby binding to %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n ruby-%{name}
|
||||||
|
This package contains the ruby binding to %{name}.
|
||||||
|
|
||||||
|
%package -n perl-%{name}
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Summary: Perl binding to %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n perl-%{name}
|
||||||
|
This package contains the perl binding to %{name}.
|
||||||
|
|
||||||
|
%package -n python-%{name}-py3
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Summary: Python binding to %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python-%{name}-py3
|
||||||
|
This package contains the python binding to %{name}.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
@ -51,6 +74,7 @@ autoreconf -fi
|
|||||||
%build
|
%build
|
||||||
#:<< __EOF
|
#:<< __EOF
|
||||||
cd libraries/libapparmor
|
cd libraries/libapparmor
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-perl \
|
--with-perl \
|
||||||
--with-python \
|
--with-python \
|
||||||
@ -64,7 +88,7 @@ make -C binutils
|
|||||||
make -C parser
|
make -C parser
|
||||||
make -C profiles
|
make -C profiles
|
||||||
make -C utils
|
make -C utils
|
||||||
make -C changehat/pam_apparmor
|
make -C changehat/pam_apparmor SECDIR=%{_libdir}/security
|
||||||
make -C changehat/mod_apparmor
|
make -C changehat/mod_apparmor
|
||||||
make -C utils/vim
|
make -C utils/vim
|
||||||
|
|
||||||
@ -72,12 +96,18 @@ make -C utils/vim
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
install -d -m0755 %{buildroot}%{ruby_sitearch}
|
install -d -m0755 %{buildroot}%{ruby_sitearch}
|
||||||
%makeinstall -C libraries/libapparmor
|
%makeinstall -C libraries/libapparmor
|
||||||
%makeinstall -C changehat/pam_apparmor
|
%makeinstall -C changehat/pam_apparmor \
|
||||||
|
SECDIR=%{buildroot}%{_libdir}/security
|
||||||
%makeinstall -C changehat/mod_apparmor
|
%makeinstall -C changehat/mod_apparmor
|
||||||
%makeinstall -C binutils SBINDIR=%{buildroot}%{_sbindir} USR_SBINDIR=%{buildroot}%{_bindir}
|
%makeinstall -C binutils SBINDIR=%{buildroot}%{_sbindir} \
|
||||||
%makeinstall install-systemd -C parser SBINDIR=%{buildroot}%{_sbindir} USR_SBINDIR=%{buildroot}%{_bindir} APPARMOR_BIN_PREFIX=%{buildroot}%{_prefix}/lib/apparmor
|
USR_SBINDIR=%{buildroot}%{_bindir}
|
||||||
|
%makeinstall install-systemd -C parser \
|
||||||
|
SBINDIR=%{buildroot}%{_sbindir} USR_SBINDIR=%{buildroot}%{_bindir} \
|
||||||
|
APPARMOR_BIN_PREFIX=%{buildroot}%{_prefix}/lib/apparmor
|
||||||
%makeinstall -C profiles
|
%makeinstall -C profiles
|
||||||
%makeinstall -C utils SBINDIR=%{buildroot}%{_sbindir} BINDIR=%{buildroot}%{_bindir} VIM_INSTALL_PATH=%{buildroot}%{_datadir}/vim/vimfiles/syntax
|
%makeinstall -C utils SBINDIR=%{buildroot}%{_sbindir} \
|
||||||
|
BINDIR=%{buildroot}%{_bindir} \
|
||||||
|
VIM_INSTALL_PATH=%{buildroot}%{_datadir}/vim/vimfiles/syntax
|
||||||
|
|
||||||
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
||||||
|
|
||||||
@ -127,13 +157,23 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|||||||
%{_mandir}/man8/aa-*.8*
|
%{_mandir}/man8/aa-*.8*
|
||||||
%{_mandir}/man8/apparmor_*.8*
|
%{_mandir}/man8/apparmor_*.8*
|
||||||
%{_mandir}/man8/mod_apparmor.8*
|
%{_mandir}/man8/mod_apparmor.8*
|
||||||
%doc LICENSE
|
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libapparmor.so.*
|
%{_libdir}/libapparmor.so.*
|
||||||
/lib/security/pam_apparmor.so
|
%{_libdir}/security/pam_apparmor.so
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files -n ruby-%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{ruby_sitearch}/LibAppArmor.so
|
||||||
|
|
||||||
|
%files -n perl-%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
%{perl_vendorarch}/*
|
%{perl_vendorarch}/*
|
||||||
|
|
||||||
|
%files -n python-%{name}-py3
|
||||||
|
%defattr(-,root,root)
|
||||||
%dir %{python3_sitelib}/apparmor-%{version}-py*.egg-info
|
%dir %{python3_sitelib}/apparmor-%{version}-py*.egg-info
|
||||||
%{python3_sitelib}/apparmor-%{version}-py*.egg-info/*
|
%{python3_sitelib}/apparmor-%{version}-py*.egg-info/*
|
||||||
%dir %{python3_sitearch}/LibAppArmor-%{version}-py*.egg-info
|
%dir %{python3_sitearch}/LibAppArmor-%{version}-py*.egg-info
|
||||||
@ -142,7 +182,6 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|||||||
%{python3_sitearch}/LibAppArmor/*
|
%{python3_sitearch}/LibAppArmor/*
|
||||||
%dir %{python3_sitelib}/apparmor
|
%dir %{python3_sitelib}/apparmor
|
||||||
%{python3_sitelib}/apparmor/*
|
%{python3_sitelib}/apparmor/*
|
||||||
%{ruby_sitearch}/LibAppArmor.so
|
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -157,5 +196,11 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-3mamba
|
||||||
|
- added subpackages for python and perl bindings
|
||||||
|
|
||||||
|
* Wed Nov 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-2mamba
|
||||||
|
- fix installation path of pam module
|
||||||
|
|
||||||
* Fri Sep 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
|
* Fri Sep 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user