[packages/liburing] - initial

arekm arekm at pld-linux.org
Wed Mar 25 18:12:55 CET 2020


commit 3931b938b8ef059d87dbbac13b4b2f42b33e474e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Mar 25 18:12:38 2020 +0100

    - initial

 liburing.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)
---
diff --git a/liburing.spec b/liburing.spec
new file mode 100644
index 0000000..308ca13
--- /dev/null
+++ b/liburing.spec
@@ -0,0 +1,74 @@
+Summary:	Linux-native io_uring I/O access library
+Name:		liburing
+Version:	0.5
+Release:	1
+License:	LGPLv2+ or MIT
+Group:		Libraries
+Source0:	https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
+# Source0-md5:	98d9ed88aa260cc0515410f344d57319
+URL:		https://git.kernel.dk/cgit/liburing/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides native async IO for the Linux kernel, in a fast and efficient
+manner, for both buffered and O_DIRECT.
+
+%package devel
+Summary:	Header files and develpment documentation for liburing
+Group:		Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Development files for Linux-native io_uring I/O access library.
+
+%package static
+Summary:	Static liburing library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+This package provides header files to include and libraries to link
+with for the Linux-native io_uring.
+
+%prep
+%setup -q
+
+%build
+./configure \
+	--prefix=%{_prefix} \
+	--libdir=/%{_libdir} \
+	--libdevdir=/%{_libdir} \
+	--mandir=%{_mandir} \
+	--includedir=%{_includedir}
+ 
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{makeinstall} \
+	libdevdir=$RPM_BUILD_ROOT/%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/liburing.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/liburing.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/liburing.so
+%{_includedir}/liburing
+%{_includedir}/liburing.h
+%{_pkgconfigdir}/liburing.pc
+%{_mandir}/man2/io_uring_*.2*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liburing.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liburing.git/commitdiff/3931b938b8ef059d87dbbac13b4b2f42b33e474e



More information about the pld-cvs-commit mailing list