2012-08-31 16:31:27 +00:00
|
|
|
#
|
|
|
|
# spec file for package ivykis
|
|
|
|
#
|
2025-06-05 23:56:22 +02:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2012-08-31 16:31:27 +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.
|
|
|
|
|
2021-05-11 21:28:10 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-08-31 16:31:27 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define lname libivykis0
|
2021-05-11 21:28:10 +00:00
|
|
|
Name: ivykis
|
2025-06-05 23:56:22 +02:00
|
|
|
Version: 0.43.2
|
2012-08-31 16:31:27 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: An event dispatching library
|
2021-05-11 21:28:10 +00:00
|
|
|
License: LGPL-2.1-only
|
2012-08-31 16:31:27 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-05-11 21:28:10 +00:00
|
|
|
URL: https://sourceforge.net/projects/libivykis/
|
2024-02-08 15:06:53 +00:00
|
|
|
Source: https://downloads.sf.net/libivykis/%name-%version.tar.gz
|
|
|
|
BuildRequires: c_compiler
|
|
|
|
BuildRequires: pkg-config
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%description
|
2024-02-08 15:06:53 +00:00
|
|
|
libivykis is a wrapper over various OS'es implementation of I/O
|
|
|
|
readiness notification facilities (such as poll(2), kqueue(2)) and
|
|
|
|
can be used for writing portable network servers.
|
2012-08-31 16:31:27 +00:00
|
|
|
|
2024-02-08 15:06:53 +00:00
|
|
|
%package -n %lname
|
2012-08-31 16:31:27 +00:00
|
|
|
Summary: An event dispatching library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2024-02-08 15:06:53 +00:00
|
|
|
%description -n %lname
|
|
|
|
libivykis is a wrapper over various OS'es implementation of I/O
|
|
|
|
readiness notification facilities (such as poll(2), kqueue(2)) and
|
|
|
|
can be used for writing portable network servers.
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libivykis, an event dispatching library
|
|
|
|
Group: Development/Libraries/C and C++
|
2024-02-08 15:06:53 +00:00
|
|
|
Requires: %lname = %version
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%description devel
|
2024-02-08 15:06:53 +00:00
|
|
|
libivykis is a wrapper over various OS'es implementation of I/O
|
|
|
|
readiness notification facilities (such as poll(2), kqueue(2)) and
|
|
|
|
can be used for writing portable network servers.
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
This package contains the header files and development symlinks.
|
|
|
|
|
|
|
|
%prep
|
2024-02-08 15:06:53 +00:00
|
|
|
%autosetup -p1
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%build
|
2024-02-08 15:06:53 +00:00
|
|
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
|
|
|
%configure --disable-static --includedir="%_includedir/%name"
|
2021-05-11 21:28:10 +00:00
|
|
|
%make_build
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%install
|
2021-05-11 21:29:17 +00:00
|
|
|
%make_install
|
2024-02-08 15:06:53 +00:00
|
|
|
find %buildroot -type f -name "*.la" -delete -print
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%check
|
2021-05-11 21:29:17 +00:00
|
|
|
%make_build check
|
2012-08-31 16:31:27 +00:00
|
|
|
|
2024-02-08 15:06:53 +00:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2012-08-31 16:31:27 +00:00
|
|
|
|
2024-02-08 15:06:53 +00:00
|
|
|
%files -n %lname
|
|
|
|
%_libdir/libivykis.so.0*
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%files devel
|
2024-02-08 15:06:53 +00:00
|
|
|
%_includedir/%name/
|
|
|
|
%_libdir/libivykis.so
|
|
|
|
%_libdir/pkgconfig/ivykis.pc
|
|
|
|
%_mandir/man3/iv*.3*
|
|
|
|
%_mandir/man3/IV*.3*
|
2012-08-31 16:31:27 +00:00
|
|
|
|
|
|
|
%changelog
|