[packages/kf6-threadweaver] - updated to 5.249.0; rel 0.1
witekfl
witekfl at pld-linux.org
Sun Feb 4 15:36:44 CET 2024
commit 9c9079150bb7af534c8a033caef305e2c99d6633
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Feb 4 14:53:29 2024 +0100
- updated to 5.249.0; rel 0.1
kf6-threadweaver.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
---
diff --git a/kf6-threadweaver.spec b/kf6-threadweaver.spec
new file mode 100644
index 0000000..d7cc362
--- /dev/null
+++ b/kf6-threadweaver.spec
@@ -0,0 +1,92 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeframever 5.249.0
+%define qtver 5.15.2
+%define kfname threadweaver
+
+Summary: Helper for multithreaded programming
+Name: kf6-%{kfname}
+Version: 5.249.0
+Release: 0.1
+License: LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 9b4e710a774efb96847a8e33d129e4d3
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Test-devel >= %{qtver}
+BuildRequires: cmake >= 3.16
+BuildRequires: kf6-extra-cmake-modules >= %{version}
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: zlib-devel
+Requires: kf6-dirs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt6dir %{_libdir}/qt6
+
+%description
+ThreadWeaver is a helper for multithreaded programming. It uses a
+job-based interface to queue tasks and execute them in an efficient
+way.
+
+You simply divide the workload into jobs, state the dependencies
+between the jobs and ThreadWeaver will work out the most efficient way
+of dividing the work between threads within a set of resource limits.
+
+See the information on [use cases](@ref usecases) and [why
+multithreading can help](@ref multithreading), as well as the usage
+section below, for more detailed information.
+
+%package devel
+Summary: Header files for %{kfname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%if %{with tests}
+%ninja_build -C build test
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKF6ThreadWeaver.so.6
+%attr(755,root,root) %{_libdir}/libKF6ThreadWeaver.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/ThreadWeaver
+%{_libdir}/cmake/KF6ThreadWeaver
+%{_libdir}/libKF6ThreadWeaver.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-threadweaver.git/commitdiff/9c9079150bb7af534c8a033caef305e2c99d6633
More information about the pld-cvs-commit
mailing list