commit
26c6459900
@ -1,21 +1,27 @@
|
||||
Name: ima-evm-utils
|
||||
Version: 1.2.1
|
||||
Release: 6
|
||||
Release: 8
|
||||
Summary: IMA/EVM control utilities
|
||||
License: GPLv2
|
||||
URL: http://linux-ima.sourceforge.net/
|
||||
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
|
||||
Requires: libimaevm1
|
||||
BuildRequires: autoconf automake libtool m4 asciidoc libxslt openssl-devel keyutils-libs-devel git
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description
|
||||
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.
|
||||
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
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Summary: Development files for %{name}
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Obsoletes:%{name}-static < %{version}-%{release}
|
||||
@ -25,16 +31,6 @@ This package provides the header files for %{name}
|
||||
|
||||
%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
|
||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||
|
||||
@ -47,7 +43,6 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%make_install
|
||||
cp -a %{_libdir}/libimaevm.so.* %{buildroot}%{_libdir}
|
||||
|
||||
%check
|
||||
make check
|
||||
@ -56,9 +51,9 @@ make check
|
||||
|
||||
%preun
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -66,6 +61,10 @@ make check
|
||||
%license COPYING AUTHORS
|
||||
%{_bindir}/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_docdir}/%{name}/*.sh
|
||||
%{_includedir}/*.h
|
||||
@ -73,16 +72,16 @@ make check
|
||||
%{_libdir}/libimaevm.a
|
||||
%{_libdir}/libimaevm.la
|
||||
|
||||
%files -n libimaevm0
|
||||
%{_libdir}/*.so.0*
|
||||
|
||||
%files -n libimaevm1
|
||||
%{_libdir}/*.so.1*
|
||||
|
||||
%files help
|
||||
%doc %{_mandir}/*/*
|
||||
|
||||
%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
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user