1 Summary: Linux-native io_uring I/O access library
2 Summary(pl.UTF-8): Biblioteka natywnego dla Linuksa dostępu we/wy io_uring
6 License: LGPL v2+ or MIT
8 Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
9 # Source0-md5: 98d9ed88aa260cc0515410f344d57319
10 URL: https://git.kernel.dk/cgit/liburing/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define specflags -fomit-frame-pointer
16 Provides native async IO for the Linux kernel, in a fast and efficient
17 manner, for both buffered and O_DIRECT.
19 %description -l pl.UTF-8
20 Biblioteka udostępnia w sposób szybki i wydajny natywne,
21 asynchroniczne operacje we/wy dla jądra Linuksa, zarówno buforowane,
25 Summary: Header files and development documentation for liburing
26 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programistyczna do biblioteki liburing
27 Group: Development/Libraries
28 Requires: %{name} = %{version}-%{release}
31 Development files for Linux-native io_uring I/O access library.
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe do biblioteki dostępu do natywnego dla Linuksa we/wy
38 Summary: Static liburing library
39 Summary(pl.UTF-8): Statyczna biblioteka liburing
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static liburing library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka liburing.
53 # not autoconf configure
58 --libdevdir=%{_libdir} \
60 --includedir=%{_includedir}
63 CFLAGS="%{rpmcflags}" \
64 LDFLAGS="%{rpmldflags}"
67 rm -rf $RPM_BUILD_ROOT
70 DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/liburing.so.*.*
82 %attr(755,root,root) %ghost %{_libdir}/liburing.so.1
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/liburing.so
87 %{_includedir}/liburing
88 %{_includedir}/liburing.h
89 %{_pkgconfigdir}/liburing.pc
90 %{_mandir}/man2/io_uring_*.2*
93 %defattr(644,root,root,755)