[packages/liburing] - pl, optflags

qboosh qboosh at pld-linux.org
Fri Apr 17 06:19:39 CEST 2020


commit 4f2447ea09a13cb3e29daff2a6af79e972e5bf05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 17 06:19:45 2020 +0200

    - pl, optflags

 liburing.spec | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)
---
diff --git a/liburing.spec b/liburing.spec
index 308ca13..1c4ca0a 100644
--- a/liburing.spec
+++ b/liburing.spec
@@ -1,53 +1,73 @@
 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
 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
 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}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{makeinstall} \
-	libdevdir=$RPM_BUILD_ROOT/%{_libdir}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liburing.git/commitdiff/4f2447ea09a13cb3e29daff2a6af79e972e5bf05



More information about the pld-cvs-commit mailing list