forked from pool/konqueror
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/konqueror?expand=0&rev=20
This commit is contained in:
parent
24283c40f9
commit
4398919b59
@ -16,6 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: konqueror
|
||||
Version: 17.03.90
|
||||
Release: 0
|
||||
@ -100,6 +102,10 @@ Provides: libkonq-devel = %{version}
|
||||
%description devel
|
||||
Development package for the konqueror libraries.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/css|${CMAKE_CURRENT_SOURCE_DIR}/css ${CMAKE_BINARY_DIR}|g' settings/konqhtml/CMakeLists.txt
|
||||
@ -110,6 +116,10 @@ sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/css|${CMAKE_CURRENT_SOURCE_DIR}/css ${CMAK
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
|
||||
find %{buildroot} -type f -name '*filenamesearch*' -exec rm -fv {} ';'
|
||||
# Needed by various other scripts, but disabled in git
|
||||
@ -163,7 +173,7 @@ sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/css|${CMAKE_CURRENT_SOURCE_DIR}/css ${CMAK
|
||||
%{_kf5_applicationsdir}/konqbrowser.desktop
|
||||
%{_kf5_configdir}/autostart/konqy_preload.desktop
|
||||
%{_kf5_iconsdir}/hicolor/*/*/konqueror.*
|
||||
%{_kf5_htmldir}/
|
||||
%{_kf5_htmldir}/en
|
||||
%dir %{_kf5_sharedir}/khtml
|
||||
%dir %{_kf5_sharedir}/khtml/kpartplugins
|
||||
%dir %{_kf5_sharedir}/kwebkitpart
|
||||
@ -242,4 +252,9 @@ sed -i 's|${CMAKE_CURRENT_SOURCE_DIR}/css|${CMAKE_CURRENT_SOURCE_DIR}/css ${CMAK
|
||||
%{_kf5_libdir}/libKF5Konq.so
|
||||
%{_kf5_includedir}/
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user