libhbaapi/libhbaapi.spec

59 lines
1.2 KiB
RPMSpec
Raw Normal View History

2020-09-03 14:41:22 +08:00
Name: libhbaapi
2021-01-21 16:08:12 +08:00
Version: 3.11
Release: 1
2020-09-03 14:41:22 +08:00
Summary: SNIA HBAAPI library
License: SNIA
URL: https://github.com/cleech/libHBAAPI
2021-01-21 16:08:12 +08:00
Source0: https://github.com/cleech/libHBAAPI/archive/v%{version}.tar.gz
2020-02-19 09:43:02 +08:00
BuildRequires: automake libtool
Patch0: libhbaapi-2.2.9-dl-linking.patch
Patch1: libhbaapi-2.2.9-portspeed.patch
%description
SNIA HBAAPI library
%package devel
Summary: Header files for libsodium
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Header files for libsodium
%prep
2020-09-03 14:41:22 +08:00
%autosetup -n libHBAAPI-%{version} -p1
2020-02-19 09:43:02 +08:00
%build
./bootstrap.sh
%configure --disable-static
%make_build
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license COPYING
%config(noreplace) %{_sysconfdir}/hba.conf
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
2021-01-21 16:08:12 +08:00
* Thu Jan 21 2021 lirui <lirui130@huawei.com> - 3.11-1
- update to 3.11
2020-09-03 14:41:22 +08:00
* Thu Sep 3 2020 zhangtao <zhangtao221@huawei.com> - 2.2.9-2
- modify source0 Url
2020-02-19 09:43:02 +08:00
* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.2.9-1
- Package init