[packages/qpl] - new

qboosh qboosh at pld-linux.org
Tue May 12 19:01:08 CEST 2026


commit 916a6708afc68863c481ae8ce571f63a068fc49d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 12 19:00:46 2026 +0200

    - new

 qpl.spec | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 126 insertions(+)
---
diff --git a/qpl.spec b/qpl.spec
new file mode 100644
index 0000000..733b81e
--- /dev/null
+++ b/qpl.spec
@@ -0,0 +1,126 @@
+#
+# Conditional build:
+%bcond_without	apidocs		# API documentation
+#
+Summary:	Intel Query Processing Library (Intel QPL)
+Summary(pl.UTF-8):	Biblioteka przetwarzania zapytań Intel QPL
+Name:		qpl
+Version:	1.9.0
+Release:	1
+License:	MIT
+Group:		Libraries
+#Source0Download: https://github.com/intel/qpl/releases
+Source0:	https://github.com/intel/qpl/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	3fb524babeb3bc50c7161d569214daf2
+URL:		https://intel.github.io/qpl/
+BuildRequires:	cmake >= 3.16.3
+BuildRequires:	libstdc++-devel >= 6:8.2
+BuildRequires:	nasm >= 2.15.0
+BuildRequires:	rpm-build >= 4.6
+BuildRequires:	rpmbuild(macros) >= 1.605
+%if %{with apidocs}
+BuildRequires:	doxygen
+BuildRequires:	python3-breathe >= 4.36.0
+BuildRequires:	python3-sphinx_book_theme >= 1.1.4
+BuildRequires:	sphinx-pdg >= 8.2.3
+%endif
+# library dlopened, accel-config script called from configuration script
+Requires:	accel-config%{?_isa} >= 4.0
+ExclusiveArch:	%{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Intel Query Processing Library (Intel QPL) is an open-source
+library to provide high-performance query processing operations on
+Intel CPUs. Intel QPL is aimed to support capabilities of the new
+Intel In-Memory Analytics Accelerator (Intel IAA) available on Next
+Generation Intel Xeon Scalable processors, codenamed Sapphire Rapids
+processor, such as very high throughput compression and decompression
+combined with primitive analytic functions, as well as to provide
+highly-optimized SW fallback on other Intel CPUs. Intel QPL primarily
+targets applications such as big-data and in-memory analytic
+databases.
+
+%description -l pl.UTF-8
+Biblioteka przetwarzania zapytań Intel QPL (Intel Query Processing
+Library) to mająca otwarte źródła biblioteka zapewniająca wysoko
+wydajne operacje przetwarzania zapytań na procesorach Intela. Celem
+jest obsługa możliwości nowego akceleratora analityki w pamięci Intel
+IAA (Intel In-Memory Analytics Accelerator), dostępnego w procesorach
+Intel Xeon Scalable nowej generacji, o nazwie kodowej Sapphire Rapids,
+takie jak bardzo szybka kompresja i dekompresja połączona z funkcjami
+prymitywów analitycznych, a także dostarczająca zoptymalizowane
+zamienniki programowe, działające na innych procesorach Intela. Intel
+QPL jest przeznaczony głównie do analitycznych baz danych big-data
+oraz in-memory.
+
+%package devel
+Summary:	Header files for Intel QPL library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Intel QPL
+Group:		Development/Libraries
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Header files for Intel QPL library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Intel QPL.
+
+%package apidocs
+Summary:	API documentation for Intel QPL library
+Summary(pl.UTF-8):	Dokumentacja API biblioteki Intel QPL
+Group:		Documentation
+BuildArch:	noarch
+
+%description apidocs
+API documentation for Intel QPL library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Intel QPL.
+
+%prep
+%setup -q
+
+%build
+%cmake -B build \
+	-DCMAKE_INSTALL_LIBDIR=%{_lib} \
+	-DQPL_BUILD_TESTS=OFF \
+	-DQPL_LIBRARY_TYPE=SHARED
+
+%{__make} -C build
+
+%if %{with apidocs}
+bash doc/_get_docs.sh
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md SECURITY.md
+%{_libdir}/libqpl.so.*.*.*
+%ghost %{_libdir}/libqpl.so.1
+%{_datadir}/QPL
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libqpl.so
+%{_includedir}/qpl
+%{_pkgconfigdir}/qpl.pc
+%{_libdir}/cmake/QPL
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/build/html/{_images,_static,documentation,*.html,*.js}
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qpl.git/commitdiff/916a6708afc68863c481ae8ce571f63a068fc49d



More information about the pld-cvs-commit mailing list