Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/step?expand=0&rev=47
This commit is contained in:
Luca Beltrame 2017-04-15 13:29:11 +00:00 committed by Git OBS Bridge
parent e55e5cce70
commit 22fdcbb21c

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: step Name: step
Version: 17.03.90 Version: 17.03.90
@ -40,6 +41,7 @@ BuildRequires: libqalculate-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: xz BuildRequires: xz
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5PrintSupport)
@ -61,6 +63,10 @@ of bodies/forces in your experiment (even during simulation) and see
how this will change evolution of the experiment. With Step you can not how this will change evolution of the experiment. With Step you can not
only learn but feel how physics works ! only learn but feel how physics works !
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -73,6 +79,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name --with-qt
%kf5_find_htmldocs
%endif
%suse_update_desktop_file org.kde.%{name} X-KDE-Edu-Teaching %suse_update_desktop_file org.kde.%{name} X-KDE-Edu-Teaching
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
@ -90,4 +100,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%{_kf5_iconsdir}/hicolor/*/*/* %{_kf5_iconsdir}/hicolor/*/*/*
%dir %{_kf5_appstreamdir} %dir %{_kf5_appstreamdir}
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog