2021-04-19 13:31:16 +00:00
committed by Git OBS Bridge
parent c10126b7d9
commit 49a2b54340
6 changed files with 41 additions and 35 deletions

View File

@@ -21,13 +21,18 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: step
Version: 21.03.90
Version: 21.04.0
Release: 0
Summary: An interactive physics simulator
License: GPL-2.0-or-later
Group: Productivity/Scientific/Physics
URL: https://edu.kde.org
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
URL: https://apps.kde.org/step
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
BuildRequires: libqt5-linguist-devel
%endif
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gsl-devel
@@ -48,11 +53,6 @@ BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Xml)
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
%if %{with lang}
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
BuildRequires: libqt5-linguist-devel
%endif
Recommends: %{name}-lang
%description
@@ -65,7 +65,7 @@ experiment may be changed, even during simulation.
%lang_package
%prep
%setup -q
%autosetup -p1
%build
%ifarch ppc ppc64
@@ -87,20 +87,16 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%license COPYING*
%doc AUTHORS ChangeLog README
%doc %lang(en) %{_kf5_htmldir}/en/step/
%{_kf5_knsrcfilesdir}/step.knsrc
%dir %{_kf5_appstreamdir}
%dir %{_kf5_configkcfgdir}
%dir %{_kf5_kxmlguidir}/step/
%dir %{_kf5_sharedir}/mime/
%dir %{_kf5_sharedir}/mime/packages
%{_kf5_applicationsdir}/org.kde.step.desktop
%{_kf5_appsdir}/step/
%{_kf5_appstreamdir}/org.kde.step.appdata.xml
%{_kf5_bindir}/step
%{_kf5_configkcfgdir}/step.kcfg
%{_kf5_iconsdir}/hicolor/*/*/*
%{_kf5_sharedir}/mime/packages/org.kde.step.xml
%{_kf5_knsrcfilesdir}/step.knsrc
%dir %{_kf5_kxmlguidir}/step/
%{_kf5_kxmlguidir}/step/stepui.rc
%{_kf5_sharedir}/mime/packages/org.kde.step.xml
%if %{with lang}
%files lang -f %{name}.lang