File liboop.spec of Package liboop

# spec file for package liboop (Version 1.0)
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:           liboop
Version:        1.0
Release:        85
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
AutoReqProv:    on
Summary:        Low-Level Event Loop Management Library
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Liboop is a low-level event loop management library for POSIX-based
operating systems. It supports the development of modular, multiplexed
applications that may respond to events from several sources. It
replaces the "select() loop" and allows the registration of event
handlers for file and network I/O, timers, and signals. Because
processes use these mechanisms for almost all external communication,
liboop can be used as the basis for almost any application.

    Dan Egnor <egnor at ofb dot net>

%package devel
Group:          Development/Libraries/C and C++
Summary:        Development Libraries and Header Files of liboop
Requires:       %{name} = %{version}

%description devel
This package contains the static libraries and header files needed to
develop programs which make use of the liboop programming interface.

    Dan Egnor <egnor at ofb dot net>

%setup -q

%configure --disable-static --with-pic
%{__make} all check

%{__make} DESTDIR=${RPM_BUILD_ROOT} install

rm -rf ${RPM_BUILD_ROOT}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files devel
%exclude %{_libdir}/

* Thu Dec 27 2007 -
- fix library-without-ldconfig-post* errors
- remove useless "la" file
* Wed Jan 25 2006 -
- converted neededforbuild to BuildRequires
* Wed Feb 09 2005 -
- Update to version 1.0.
- Split off liboop-devel sub package.