File libee.spec of Package libee

# spec file for package libee
# 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

Name:           libee
Version:        0.4.1
Release:        0
Summary:        Event expression library
License:        LGPL-2.1+
Group:          Development/Libraries/C and C++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libestr-devel
BuildRequires:  libxml2-devel
BuildRequires:  pkg-config

This package compiles the event expression library used by
the rsyslog daemon.

%package -n libee0 
Summary:        Event expression library
Group:          Development/Libraries/C and C++

%description -n libee0
This package provides the event expression shared library
used by the rsyslog daemon.

%package devel
Summary:        Event expression library development files
Group:          Development/Libraries/C and C++
Requires:       libee0 = %{version}

%description devel
This package provides files required for development with libee,
the event expression library used by the rsyslog daemon.

%setup -q

%configure --disable-static --with-pic
# fails linking with >1 jobs

make check

make DESTDIR=%{buildroot} install
rm -f "%buildroot/%_libdir"/*.la

%post -n libee0 -p /sbin/ldconfig

%postun -n libee0 -p /sbin/ldconfig

%files -n libee0

%files devel

openSUSE Build Service is sponsored by