Make a merry car great again

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/krdc?expand=0&rev=52
This commit is contained in:
Luca Beltrame 2017-04-15 13:28:38 +00:00 committed by Git OBS Bridge
parent f31897f166
commit 4485ea7c90

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
Name: krdc
Version: 17.03.90
@ -61,6 +62,10 @@ Requires: krdc = %{version}
%description devel
Development libraries and headers needed to build software using krdc
%if %{with lang}
%lang_package
%endif
%prep
%setup -q
@ -73,6 +78,10 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
for i in 128 16 22 32 48 64
do
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps
@ -108,4 +117,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%{_includedir}/krdccore_export.h
%{_libdir}/libkrdccore.so
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog