]> git.pld-linux.org Git - packages/liburing.git/blobdiff - liburing.spec
up to 2.2
[packages/liburing.git] / liburing.spec
index 308ca13ed5b08a146dfb9923adbd64991bac0878..b30093dba6b8a8f607937857f0a79ca99fb145cb 100644 (file)
@@ -1,53 +1,75 @@
 Summary:       Linux-native io_uring I/O access library
+Summary(pl.UTF-8):     Biblioteka natywnego dla Linuksa dostępu we/wy io_uring
 Name:          liburing
-Version:       0.5
+Version:       2.2
 Release:       1
-License:       LGPLv2+ or MIT
+License:       LGPL v2+ or MIT
 Group:         Libraries
-Source0:       https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
-# Source0-md5: 98d9ed88aa260cc0515410f344d57319
+Source0:       https://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
+# Source0-md5: bddf7082388d5777b0cf9ca542e2b2ba
 URL:           https://git.kernel.dk/cgit/liburing/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fomit-frame-pointer
+
 %description
 Provides native async IO for the Linux kernel, in a fast and efficient
 manner, for both buffered and O_DIRECT.
 
+%description -l pl.UTF-8
+Biblioteka udostępnia w sposób szybki i wydajny natywne,
+asynchroniczne operacje we/wy dla jądra Linuksa, zarówno buforowane,
+jak i O_DIRECT.
+
 %package devel
-Summary:       Header files and develpment documentation for liburing
+Summary:       Header files and development documentation for liburing
+Summary(pl.UTF-8):     Pliki nagłówkowe i dokumentacja programistyczna do biblioteki liburing
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Development files for Linux-native io_uring I/O access library.
 
+%description devel -l pl.UTF-8
+Pliki nagłówkowe do biblioteki dostępu do natywnego dla Linuksa we/wy
+io_uring.
+
 %package static
 Summary:       Static liburing library
+Summary(pl.UTF-8):     Statyczna biblioteka liburing
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-This package provides header files to include and libraries to link
-with for the Linux-native io_uring.
+Static liburing library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka liburing.
 
 %prep
 %setup -q
 
 %build
+# not autoconf configure
 ./configure \
+       --cc="%{__cc}" \
        --prefix=%{_prefix} \
-       --libdir=/%{_libdir} \
-       --libdevdir=/%{_libdir} \
+       --libdir=%{_libdir} \
+       --libdevdir=%{_libdir} \
        --mandir=%{_mandir} \
        --includedir=%{_includedir}
  
-%{__make}
+%{__make} \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}" \
+       V=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{makeinstall} \
-       libdevdir=$RPM_BUILD_ROOT/%{_libdir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       V=1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,9 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc LICENSE README
 %attr(755,root,root) %{_libdir}/liburing.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/liburing.so.1
+%attr(755,root,root) %ghost %{_libdir}/liburing.so.2
 
 %files devel
 %defattr(644,root,root,755)
@@ -68,6 +90,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/liburing.h
 %{_pkgconfigdir}/liburing.pc
 %{_mandir}/man2/io_uring_*.2*
+%{_mandir}/man3/io_uring_*.3*
+%{_mandir}/man7/io_uring.7*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.076139 seconds and 4 git commands to generate.