Группа :: Система/Библиотеки
Пакет: libkqueue
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%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
…
Полный changelog можно просмотреть здесь
%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
…
Полный changelog можно просмотреть здесь