[packages/ka6-step] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:34:03 CET 2024


commit 9d1af82f556ad0b4aa6614055cd355ceb4e6552c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:33:55 2024 +0100

    - updated to 24.02.0

 ka6-step.spec | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 113 insertions(+)
---
diff --git a/ka6-step.spec b/ka6-step.spec
new file mode 100644
index 0000000..ebfd74c
--- /dev/null
+++ b/ka6-step.spec
@@ -0,0 +1,113 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.02.0
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		step
+Summary:	step
+Name:		ka6-%{kaname}
+Version:	24.02.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Applications
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	2cf2bc32468d09808be7a7aa2d776cd5
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= 5.11.1
+BuildRequires:	Qt6OpenGL-devel
+BuildRequires:	Qt6Svg-devel
+BuildRequires:	Qt6Test-devel
+BuildRequires:	Qt6Widgets-devel >= 5.11.1
+BuildRequires:	Qt6Xml-devel
+BuildRequires:	cmake >= 3.20
+BuildRequires:	eigen3 >= 3.2.2
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kcrash-devel >= %{kframever}
+BuildRequires:	kf6-kiconthemes-devel >= %{kframever}
+BuildRequires:	kf6-knewstuff-devel >= %{kframever}
+BuildRequires:	kf6-kplotting-devel >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	python3
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	shared-mime-info
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Step is an interactive physical simulator. It allows you to explore
+the physical world through simulations.
+
+Features
+
+- Classical mechanical simulation in two dimensions
+- Particles, springs with damping, gravitational and coulomb forces
+- Rigid bodies
+- Collision detection (currently only discrete) and handling
+- Soft (deformable) bodies simulated as user-editable
+  particles-springs system, sound waves
+- Molecular dynamics (currently using Lennard-Jones potential): gas
+  and liquid, condensation and evaporation, calculation of macroscopic
+  quantities and their variances
+- Units conversion and expression calculation: you can enter something
+  like "(2 days + 3 hours) * 80 km/h" and it will be accepted as
+  distance value (requires libqalculate)
+- Errors calculation and propagation: you can enter values like "1.3 ±
+  0.2" for any property and errors for all dependent properties will be
+  calculated using statistical formulas
+- Solver error estimation: errors introduced by the solver is
+  calculated and added to user-entered errors
+- Several different solvers: up to 8th order, explicit and implicit,
+  with or without adaptive timestep (most of the solvers require the GSL
+  library)
+- Controller tool to easily control properties during simulation (even
+  with custom keyboard shortcuts)
+- Tools to visualize results: graph, meter, tracer
+- Context information for all objects, integrated wikipedia browser
+- Collection of example experiments, more can be downloaded with
+  KNewStuff
+- Integrated tutorials
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DQT_MAJOR_VERSION=6
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/step
+%{_desktopdir}/org.kde.step.desktop
+%{_datadir}/config.kcfg/step.kcfg
+%{_iconsdir}/hicolor/*x*/apps/step.png
+%{_iconsdir}/hicolor/*x*/actions/*.png
+%{_datadir}/metainfo/org.kde.step.appdata.xml
+%{_datadir}/step
+%{_datadir}/mime/packages/org.kde.step.xml
+%{_datadir}/knsrcfiles/step.knsrc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-step.git/commitdiff/9d1af82f556ad0b4aa6614055cd355ceb4e6552c



More information about the pld-cvs-commit mailing list