2007-01-15 23:22:39 +00:00
|
|
|
#
|
2012-02-07 13:46:08 +00:00
|
|
|
# spec file for package liboop
|
2007-01-15 23:22:39 +00:00
|
|
|
#
|
2018-02-08 08:37:46 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:22:39 +00:00
|
|
|
#
|
2009-06-18 23:01:49 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-12-31 21:33:14 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:22:39 +00:00
|
|
|
#
|
|
|
|
|
2009-06-18 23:01:49 +00:00
|
|
|
|
2018-02-08 08:37:46 +00:00
|
|
|
%define lname liboop4
|
2007-12-31 21:33:14 +00:00
|
|
|
Name: liboop
|
2018-02-08 08:37:46 +00:00
|
|
|
Version: 1.0.1
|
2012-02-07 13:46:08 +00:00
|
|
|
Release: 0
|
2007-12-31 21:33:14 +00:00
|
|
|
Summary: Low-Level Event Loop Management Library
|
2012-02-07 13:46:08 +00:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
2018-02-08 08:37:46 +00:00
|
|
|
Url: https://www.lysator.liu.se/liboop
|
2018-02-12 07:28:25 +00:00
|
|
|
Source: https://ftp.lysator.liu.se/pub/liboop/liboop-%version.tar.gz
|
|
|
|
Source1: https://ftp.lysator.liu.se/pub/liboop/liboop-%version.tar.gz.sig
|
2012-02-07 13:46:08 +00:00
|
|
|
BuildRequires: pkgconfig
|
2007-01-15 23:22:39 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Liboop is a low-level event loop management library for POSIX-based
|
|
|
|
operating systems. It supports the development of modular, multiplexed
|
2007-12-31 21:33:14 +00:00
|
|
|
applications that may respond to events from several sources. It
|
2007-01-15 23:22:39 +00:00
|
|
|
replaces the "select() loop" and allows the registration of event
|
2007-12-31 21:33:14 +00:00
|
|
|
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.
|
2007-01-15 23:22:39 +00:00
|
|
|
|
2012-02-07 13:46:08 +00:00
|
|
|
%package -n %lname
|
|
|
|
Summary: Low-Level Event Loop Management Library
|
2018-02-08 08:37:46 +00:00
|
|
|
Group: System/Libraries
|
2012-02-07 13:46:08 +00:00
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
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.
|
|
|
|
|
2007-01-15 23:22:39 +00:00
|
|
|
%package devel
|
2018-02-12 07:28:25 +00:00
|
|
|
Summary: Development Libraries and Header Files for liboop
|
2012-02-07 13:46:08 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
2007-01-15 23:22:39 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the static libraries and header files needed to
|
|
|
|
develop programs which make use of the liboop programming interface.
|
|
|
|
|
|
|
|
%prep
|
2007-12-31 21:33:14 +00:00
|
|
|
%setup -q
|
2007-01-15 23:22:39 +00:00
|
|
|
|
|
|
|
%build
|
2018-02-12 07:28:25 +00:00
|
|
|
%configure --disable-static
|
2012-02-07 13:46:08 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check %{?_smp_mflags}
|
2007-01-15 23:22:39 +00:00
|
|
|
|
|
|
|
%install
|
2018-02-12 07:28:25 +00:00
|
|
|
%make_install
|
|
|
|
find "%buildroot" -type f -name "*.la" -delete
|
2007-01-15 23:22:39 +00:00
|
|
|
|
2012-02-07 13:46:08 +00:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2007-12-31 21:33:14 +00:00
|
|
|
|
2012-02-07 13:46:08 +00:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2007-01-15 23:22:39 +00:00
|
|
|
|
2012-02-07 13:46:08 +00:00
|
|
|
%files -n %lname
|
2007-01-15 23:22:39 +00:00
|
|
|
%defattr(-,root,root)
|
2012-02-07 13:46:08 +00:00
|
|
|
%_libdir/liboop.so.4*
|
|
|
|
%doc COPYING
|
2007-01-15 23:22:39 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2018-02-12 07:28:25 +00:00
|
|
|
%_includedir/oop*
|
|
|
|
%_libdir/liboop.so
|
|
|
|
%_libdir/pkgconfig/liboop*
|
2007-01-15 23:22:39 +00:00
|
|
|
|
2007-12-31 21:33:14 +00:00
|
|
|
%changelog
|