Package libkqueue: Specfile
%define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict Name: libkqueue Version: 2.0.1 Release: alt6 Summary: Portable implementation of the kqueue() and kevent() system calls License: MIT / BSD Group: System/Libraries Url: https://sourceforge.net/projects/libkqueue/ Source: %name-%version.tar Patch1: %name-%version-alt-gcc6.patch Patch2: %name-%version-alt-parallel-build.patch Patch3: %name-%version-alt-fix-print.patch Patch4: %name-%version-alt-printf-buffer.patch Patch5: %name-%version-alt-build-flags.patch %description A user space implementation of the kqueue(2) kernel event notification mechanism. libkqueue acts as a translator between the kevent structure and the native kernel facilities. %package devel Summary: Development files of libkqueue Group: Development/C Requires: %name = %EVR %description devel A user space implementation of the kqueue(2) kernel event notification mechanism. libkqueue acts as a translator between the kevent structure and the native kernel facilities. This package contains development files of libkqueue. %prep %setup %patch1 -p2 %patch2 -p2 %patch3 -p2 %patch4 -p2 %patch5 -p2 %build %add_optflags -D_FILE_OFFSET_BITS=64 %ifarch %e2k %add_optflags -D_GNU_SOURCE= %endif %add_optflags %optflags_shared %configure --disable-static %make_build %install %makeinstall_std %files %_libdir/*.so.* %files devel %_includedir/* %_libdir/*.so %_pkgconfigdir/* %_man2dir/* %changelog * Wed Oct 06 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.1-alt6 - Fixed build with gcc-11. * Tue Sep 14 2021 Ilya Kurdyukov <ilyakurdyukov@altlinux.org> 2.0.1-alt5 - Fixed build for Elbrus. * Wed Dec 26 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.1-alt4 - Fixed build with new toolchain. * Tue Oct 16 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.1-alt3 - Fixed parallel build. * Fri Jul 28 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.1-alt2 - Fixed build with new toolchain * Wed Feb 05 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.1-alt1 - Initial build for Sisyphus |