Compare commits

...

6 Commits

109
step.spec
View File

@ -1,5 +1,5 @@
Name: step
Version: 23.08.2
Version: 24.05.0
Release: 1mamba
Summary: Interactive Physical Simulator
Group: Graphical Desktop/Applications/Educational
@ -7,37 +7,34 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://apps.kde.org/education/step/
Source: http://download.kde.org/stable/release-service/%{version}/src/step-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/step-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libattica5-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libgsl-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknewstuff-devel
BuildRequires: libkplotting-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqalculate-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libkf6-attica-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kcompletion-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-kcrash-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kiconthemes-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kjobwidgets-devel
BuildRequires: libkf6-knewstuff-devel
BuildRequires: libkf6-kplotting-devel
BuildRequires: libkf6-kservice-devel
BuildRequires: libkf6-ktextwidgets-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-kxmlgui-devel
BuildRequires: libkf6-solid-devel
BuildRequires: libkf6-sonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: libqalculate-devel >= 3.20.1-1mamba
BuildRequires: libeigen2-devel
@ -73,56 +70,78 @@ Features:
%setup -q
%build
%cmake_kde5 -d build
%make
%cmake_kf6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%cmake_install
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%posttrans
/sbin/ldconfig
update-desktop-database -q &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
fi
exit 0
%files -f %{name}5_qt.lang
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde5_bindir}/%{name}
%{_kde5_datadir}/%{name}
%{_kde5_kcfgdir}/%{name}.kcfg
%{_kde5_icondir}/hicolor/*/apps/%{name}.png
%{_kde5_icondir}/hicolor/*/actions/*.png
%{_kde5_datadir}/metainfo/org.kde.step.appdata.xml
%{_kf6_bindir}/%{name}
%{_kf6_datadir}/%{name}
%{_kf6_kcfgdir}/%{name}.kcfg
%{_datadir}/applications/org.kde.step.desktop
%{_kf6_datadir}/metainfo/org.kde.step.appdata.xml
%{_datadir}/mime/packages/org.kde.step.xml
#%{_datadir}/kxmlgui5/step/stepui.rc
%{_kde5_xdgappsdir}/org.kde.%{name}.desktop
%{_datadir}/applications/org.kde.%{name}.desktop
%{_datadir}/knsrcfiles/step.knsrc
%lang(nn) %{_datadir}/locale/nn/LC_SCRIPTS/step/step.js
%{_kf6_icondir}/hicolor/*/apps/%{name}.png
%{_kf6_icondir}/hicolor/*/actions/*.png
%doc AUTHORS LICENSES
#COPYING COPYING.DOC
#ChangeLog README TODO
%changelog
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 24.05.0-1mamba
- automatic version update by autodist
* Wed May 22 2024 Automatic Build System <autodist@openmamba.org> 24.04.90-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 24.02.2-1mamba
- automatic version update by autodist
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Tue Mar 05 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist
* Fri Dec 08 2023 Automatic Build System <autodist@mambasoft.it> 23.08.4-1mamba
- automatic version update by autodist
* Fri Nov 10 2023 Automatic Build System <autodist@mambasoft.it> 23.08.3-1mamba
- automatic version update by autodist
* Fri Oct 13 2023 Automatic Build System <autodist@mambasoft.it> 23.08.2-1mamba
- automatic version update by autodist