Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/parley?expand=0&rev=49
This commit is contained in:
Luca Beltrame 2017-04-15 13:29:07 +00:00 committed by Git OBS Bridge
parent 060ef72936
commit f0efd22ade

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: parley Name: parley
Version: 17.03.90 Version: 17.03.90
@ -62,6 +63,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Parley is a vocabulary trainer for KDE. Parley is a vocabulary trainer for KDE.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q %setup -q
@ -71,6 +76,10 @@ Parley is a vocabulary trainer for KDE.
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
chmod a+x %{buildroot}%{_kf5_appsdir}/parley/plugins/*.py chmod a+x %{buildroot}%{_kf5_appsdir}/parley/plugins/*.py
%files %files
@ -85,4 +94,9 @@ Parley is a vocabulary trainer for KDE.
%{_kf5_iconsdir}/*/*/*/* %{_kf5_iconsdir}/*/*/*/*
%{_kf5_sharedir}/parley/ %{_kf5_sharedir}/parley/
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog %changelog