libwd: Adding and packing the pkgconfig file
This commit is contained in:
parent
fc12aa189d
commit
c10cb741b8
@ -1,7 +1,7 @@
|
|||||||
Name: libwd
|
Name: libwd
|
||||||
Summary: User Space Accelerator Development Kit
|
Summary: User Space Accelerator Development Kit
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: 1
|
Release: 2
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Vendor: Huawei Corporation
|
Vendor: Huawei Corporation
|
||||||
@ -68,6 +68,11 @@ cp v1/wd_dh.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
|||||||
cp v1/wd_digest.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
cp v1/wd_digest.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
||||||
cp v1/wd_rsa.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
cp v1/wd_rsa.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
||||||
cp v1/wd_bmm.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
cp v1/wd_bmm.h ${RPM_BUILD_ROOT}/usr/include/uadk/v1
|
||||||
|
mkdir -p ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig
|
||||||
|
cp lib/libwd.pc ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig
|
||||||
|
cp lib/libwd_crypto.pc ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig
|
||||||
|
cp lib/libwd_comp.pc ${RPM_BUILD_ROOT}/usr/lib64/pkgconfig
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -117,6 +122,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%exclude /usr/lib64/libhisi_sec.so.2
|
%exclude /usr/lib64/libhisi_sec.so.2
|
||||||
%exclude /usr/lib64/libhisi_hpre.so.2
|
%exclude /usr/lib64/libhisi_hpre.so.2
|
||||||
%exclude /usr/lib64/libhisi_zip.so.2
|
%exclude /usr/lib64/libhisi_zip.so.2
|
||||||
|
/usr/lib64/pkgconfig/libwd.pc
|
||||||
|
/usr/lib64/pkgconfig/libwd_crypto.pc
|
||||||
|
/usr/lib64/pkgconfig/libwd_comp.pc
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ "$1" = "2" ] ; then #2: update
|
if [ "$1" = "2" ] ; then #2: update
|
||||||
@ -172,6 +180,9 @@ fi
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 7 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-2
|
||||||
|
- libwd: update the source code to 2.5.0
|
||||||
|
|
||||||
* Mon Aug 7 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-1
|
* Mon Aug 7 2023 JiangShui Yang <yangjiangshui@h-partners.com> 2.5.0-1
|
||||||
- libwd: update the source code to 2.5.0
|
- libwd: update the source code to 2.5.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user