commit
26c6459900
@ -1,21 +1,27 @@
|
|||||||
Name: ima-evm-utils
|
Name: ima-evm-utils
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 6
|
Release: 8
|
||||||
Summary: IMA/EVM control utilities
|
Summary: IMA/EVM control utilities
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://linux-ima.sourceforge.net/
|
URL: http://linux-ima.sourceforge.net/
|
||||||
Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
|
Source0: http://sourceforge.net/projects/linux-ima/files/ima-evm-utils/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git ima-evm-utils libimaevm0
|
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git
|
||||||
Requires: libimaevm1
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ima-evm-utils package provides the evmctl utility that can be used for producing
|
ima-evm-utils package provides the evmctl utility that can be used for producing
|
||||||
and verifying digital signatures, which are used by Linux kernel integrity subsystem.
|
and verifying digital signatures, which are used by Linux kernel integrity subsystem.
|
||||||
It can be also used to import keys into the kernel keyring.
|
It can be also used to import keys into the kernel keyring.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: shared library for IMA/EVM
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
This package provides shared library for IMA/EVM.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes:%{name}-static < %{version}-%{release}
|
Obsoletes:%{name}-static < %{version}-%{release}
|
||||||
@ -25,16 +31,6 @@ This package provides the header files for %{name}
|
|||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%package -n libimaevm0
|
|
||||||
Summary: provide libimaevm0
|
|
||||||
%description -n libimaevm0
|
|
||||||
This package provides old libimaevm.so
|
|
||||||
|
|
||||||
%package -n libimaevm1
|
|
||||||
Summary: provide libimaevm1
|
|
||||||
%description -n libimaevm1
|
|
||||||
This package provides libimaevm.so
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
@ -47,7 +43,6 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%make_install
|
%make_install
|
||||||
cp -a %{_libdir}/libimaevm.so.* %{buildroot}%{_libdir}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -56,9 +51,9 @@ make check
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -66,6 +61,10 @@ make check
|
|||||||
%license COPYING AUTHORS
|
%license COPYING AUTHORS
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_docdir}/%{name}/*.sh
|
%{_docdir}/%{name}/*.sh
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
@ -73,16 +72,16 @@ make check
|
|||||||
%{_libdir}/libimaevm.a
|
%{_libdir}/libimaevm.a
|
||||||
%{_libdir}/libimaevm.la
|
%{_libdir}/libimaevm.la
|
||||||
|
|
||||||
%files -n libimaevm0
|
|
||||||
%{_libdir}/*.so.0*
|
|
||||||
|
|
||||||
%files -n libimaevm1
|
|
||||||
%{_libdir}/*.so.1*
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc %{_mandir}/*/*
|
%doc %{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-8
|
||||||
|
- add %{name}-libs
|
||||||
|
|
||||||
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-7
|
||||||
|
- delete libimaevm0
|
||||||
|
|
||||||
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-6
|
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.2.1-6
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user