25d70694a0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=2
65 lines
1.4 KiB
RPMSpec
65 lines
1.4 KiB
RPMSpec
Name: libqb
|
|
Version: 0.13.0
|
|
Release: 0
|
|
Summary: An IPC library for high performance servers
|
|
Group: System/Libraries
|
|
License: LGPL-2.1+
|
|
URL: http://www.libqb.org
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: autoconf automake libtool doxygen procps check-devel
|
|
|
|
%description
|
|
libqb provides high performance client server reusable features.
|
|
Initially these are IPC and poll.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make check
|
|
|
|
%install
|
|
%make_install
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING
|
|
%{_sbindir}/qb-blackbox
|
|
%{_libdir}/libqb.so.*
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING README.markdown
|
|
%{_includedir}/qb/
|
|
%{_libdir}/libqb.so
|
|
%{_libdir}/pkgconfig/libqb.pc
|
|
%{_mandir}/man3/qb*3*
|
|
%{_mandir}/man8/qb-blackbox.8.gz
|
|
|
|
%changelog
|