Name: libqb Version: 0.11.0 Release: 1%{?dist} Summary: An IPC library for high performance servers Group: System Environment/Libraries License: LGPLv2+ URL: http://www.libqb.org Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: 0000-test-with-output.patch BuildRequires: libtool doxygen procps check-devel automake #Requires: %description libqb provides high performance client server reusable features. Initially these are IPC and poll. %prep %setup -q %patch1 -p1 %build ./autogen.sh %configure --disable-static make %{?_smp_mflags} %check make check %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT 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 %{_libdir}/libqb.so.* %package devel Summary: Development files for %{name} Group: Development/Libraries 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* %changelog * Wed Mar 7 2012 Angus Salkeld - 0.11.0-1 - ARRAY: cleanup the pointer sizeof() - LOG: turn off __attribute__(section) for powerpc (not working) - TESTS: move the util tests into "slow-tests" (i.e. optional) - TEST: make the test_priority the same type as in the callsite - LOG: make the log arrays manually grow-able since we need to lock the calls. - RB: fix test failure on ppc - RB: change the name of the size to word_size to be more clear - TEST: add some more signal tests. - LOOP: fix deletion of signal handlers when they are pending - LOOP: signal handlers were always added as high priority. - TEST: deal with mac's limited sed - check: add debugging to the configure options and remove unused options - TEST: properly clear the filters - LOG: expose the mechanism to get a dynamic callsite. - Revert part of my COARSE grained timer commit - Remove timerfd usage and go back to timelist. - UTIL: if possible use COARSE resolution clocks - they are much faster. - ARRAY: save memory (in the bins array) and allow holes in the array - LOOP: add qb_loop_timer_is_running() - LOOP: allow stop() and run() to be called with NULL loop instance. - LOOP: fix doxygen parameter comment - LOG: add stdout target - LOOP: add a function to delete jobs - LOG: remove debug printf's - LOG: remove an old/incorrect doxygen comment. - LOG: add a hostname %H format specifier. - LOG: Add qb_log_filter_fn_set() * Tue Feb 14 2012 Angus Salkeld - 0.10.1-1 - Fix "make distcheck" add include path to AM_CPPFLAGS - Bump the version to 0.10.1 - clang: Remove unused code - TEST: make the ipc failure test closer to corosync's case. - RB: add a debug message if trying to read a message of the wrong size - IPC: split up the recv into chuncks of 2 seconds. (#788742) - Be more consistent with the internal logs. - LOOP: make it possible to pass in NULL as the default loop instance - RB: use the proper struct not the typedef in the implementation. - RB: Fix potential mem leak - Don't mix enums (QB_TRUE/TRUE) - use random() not rand() - Remove dead code - set umask before calling mkstemp() - Use safer versions of string functions (strcpy -> strlcpy) - Increase the coverity aggressiveness - TEST: make the loop ratelimit test more forgiving. * Tue Feb 07 2012 Angus Salkeld - 0.10.0-1 - LOOP: handle errors from the poll function - LOOP: make the item type applicable to jobs too. - LOOP: fix the todo calculations. - TEST: check for a single job causing a cpu spin - LOOP: prevent jobs from consuming too much cpu. - Get coverity to ignore this warning. - Change example code to use fgets instead of gets - LOG: pass the result of qb_log_thread_start() back to the user - Fix some issues found by clang - Add clang-analyzer check - Add a split timer to the stopwatch. - IPC: merge common code into new function - IPC: better handle a disconnect been called from within connection_created() - IPC: fix scary typo - IPC: fix server error handling * Mon Feb 06 2012 Angus Salkeld - 0.9.0-2 - Fix a spin in the mainloop when a timer or poll gets removed When in the job queue (#787196). * Fri Jan 27 2012 Angus Salkeld - 0.9.0-1 - Rebased to 0.9.0 * Tue Jan 10 2012 Angus Salkeld - 0.8.1-2 - fix qb_timespec_add_ms() * Thu Jan 5 2012 Angus Salkeld - 0.8.1-1 - Rebased to 0.8.1 (#771914) * Wed Nov 17 2011 Angus Salkeld - 0.7.0-1 - Rebased to 0.7.0 (#754610) * Thu Sep 1 2011 Angus Salkeld - 0.6.0-2 - LOG: fix the default syslog filter * Tue Aug 30 2011 Angus Salkeld - 0.6.0-1 - Rebased to 0.6.0 which includes (#734457): - Add a stop watch - LOG: serialize the va_list, don't snprintf - LOG: change active list into array access - atomic: fix qb_atomic_pointer macros - LOG: allow the thread priority to be set. - Fix splint warning on ubuntu 11.04 * Mon Jul 18 2011 Angus Salkeld - 0.5.1-1 - Rebased to 0.5.1 which includes: - LOOP: make the return more consistent in qb_loop_timer_expire_time_get() - LOG: add string.h to qblog.h - Add a qb_strerror_r wrapper. - don't let an invalid time stamp provoke a NULL dereference - LOG: move priority check up to prevent unnecessary format. - rename README to README.markdown * Wed Jun 8 2011 Angus Salkeld - 0.5.0-1 - Rebased to 0.5.0 which includes: - new logging API - support for sparc - coverity fixes * Tue Feb 8 2011 Angus Salkeld - 0.4.1-2 - SPEC: improve devel files section - SPEC: remove global variables * Mon Jan 31 2011 Angus Salkeld - 0.4.1-1 - SPEC: add procps to BuildRequire - SPEC: remove automake and autoconf from BuildRequire - SPEC: remove call to ./autogen.sh - SPEC: update to new upstream version 0.4.1 - LOOP: check read() return value - DOCS: add missing @param on new timeout argument - BUILD: only set -g and -O options if explicitly requested. - BUILD: Remove unneccessary check for library "dl" - BUILD: improve the release build system * Fri Jan 14 2011 Angus Salkeld - 0.4.0-2 - remove "." from Summary - Add "check-devel to BuildRequires - Add "make check" to check section - Changed a buildroot to RPM_BUILD_ROOT - Document alphatag, numcomm and dirty variables. * Sun Jan 09 2011 Angus Salkeld - 0.4.0-1 - Initial release