package init
This commit is contained in:
parent
566377adf3
commit
726599d5df
BIN
libqb-1.0.3.tar.xz
Normal file
BIN
libqb-1.0.3.tar.xz
Normal file
Binary file not shown.
73
libqb.spec
Normal file
73
libqb.spec
Normal file
@ -0,0 +1,73 @@
|
||||
Name: libqb
|
||||
Version: 1.0.3
|
||||
Release: 6
|
||||
Summary: High performance servers IPC library
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/ClusterLabs/libqb
|
||||
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/libqb-%{version}.tar.xz
|
||||
BuildRequires: autoconf automake libtool doxygen procps check-devel gcc
|
||||
|
||||
%description
|
||||
The high-performance, reusable features of libqb are provided for client-server
|
||||
architecture, such as logging, tracing, inter-process communication (IPC),
|
||||
and polling.
|
||||
|
||||
%prep
|
||||
%autosetup -n libqb-%{version} -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
%make_build V=1
|
||||
|
||||
%if 0%{?with_check}
|
||||
|
||||
%check
|
||||
make VERBOSE=1 check \
|
||||
&& make -C tests/functional/log_internal VERBOSE=1 check
|
||||
%endif
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libqb
|
||||
Requires: libqb = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The libqb-devel package contains libraries and header files for
|
||||
developing applications that use libqb.
|
||||
|
||||
%package help
|
||||
Summary: help documents for libqb package
|
||||
Buildarch: noarch
|
||||
%description help
|
||||
help documents for libqb package
|
||||
|
||||
%files
|
||||
%doc README.markdown COPYING
|
||||
%{_sbindir}/qb-blackbox
|
||||
%{_libdir}/libqb.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/qb/
|
||||
%{_libdir}/libqb.so
|
||||
%{_libdir}/pkgconfig/libqb.pc
|
||||
|
||||
%files help
|
||||
%{_mandir}/man8/qb-blackbox.8*
|
||||
%{_mandir}/man3/qb*3*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 27 2020 wangerfeng <wangerfeng5@huawei.com> - 1.0.3-6
|
||||
- Package init
|
||||
4
libqb.yaml
Normal file
4
libqb.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: ClusterLabs/libqb
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user