SHA256
1
0
forked from pool/marble

Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/marble?expand=0&rev=127
This commit is contained in:
Luca Beltrame 2017-04-15 13:29:04 +00:00 committed by Git OBS Bridge
parent 74b0901998
commit f257aa8c06

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
%define _so -27
%define _so_astro 1
@ -147,6 +148,10 @@ Provides: libastro-qt5%{_so_astro} = %{version}
%description -n libastro%{_so_astro}
The astronomy library for the satellites plugin.
%if %{with lang}
%lang_package
%endif
%prep
%setup -q -n marble-%{version}
@ -160,6 +165,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name --with-qt
%kf5_find_htmldocs
%endif
%fdupes -s %{buildroot}
%post -n libmarblewidget-qt5%{_so} -p /sbin/ldconfig
@ -232,4 +241,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%{_datadir}/plasma/plasmoids/
%{_datadir}/plasma/wallpapers/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog