2012-06-08 10:59:30 +00:00
|
|
|
#
|
|
|
|
# spec file for package libqb
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-06-08 09:16:14 +00:00
|
|
|
Name: libqb
|
2012-06-08 10:59:30 +00:00
|
|
|
Version: 0.13.0
|
|
|
|
Release: 0
|
2012-06-08 10:25:24 +00:00
|
|
|
Summary: An IPC library for high performance servers
|
2012-06-08 09:16:14 +00:00
|
|
|
License: LGPL-2.1+
|
2012-06-08 10:59:30 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
Url: http://www.libqb.org
|
2012-06-08 09:16:14 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2012-06-08 10:25:24 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-06-08 09:16:14 +00:00
|
|
|
|
2012-06-08 10:59:30 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: check-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: procps
|
2012-06-08 09:16:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libqb provides high performance client server reusable features.
|
|
|
|
Initially these are IPC and poll.
|
|
|
|
|
|
|
|
%prep
|
2012-06-08 10:59:30 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2012-06-08 09:16:14 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
2012-06-08 10:25:24 +00:00
|
|
|
%make_install
|
2012-06-08 09:16:14 +00:00
|
|
|
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++
|
2012-06-08 10:59:30 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2012-06-08 09:16:14 +00:00
|
|
|
|
|
|
|
%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
|