%define majver %(echo %version | cut -d. -f1-2) Name: khtml Version: 5.51.0 Release: 1mamba Summary: KDE Frameworks 5 HTML rendering engine Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{majver}/portingAids/khtml-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libgcc BuildRequires: libgif-devel BuildRequires: libjpeg-devel BuildRequires: libkarchive-devel BuildRequires: libkauth-devel BuildRequires: libkbookmarks-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkglobalaccel-devel BuildRequires: libki18n-devel BuildRequires: libkiconthemes-devel BuildRequires: libkio-devel BuildRequires: libkjobwidgets-devel BuildRequires: libkjs-devel BuildRequires: libknotifications-devel BuildRequires: libkparts-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libkwallet-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel BuildRequires: libphonon-qt5-devel BuildRequires: libpng-devel BuildRequires: libqt5-devel BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KHTML is a web rendering engine, based on the KParts technology and using KJS for JavaScript support. ## remove the devel blocks if this package does not provide library and development stuff %package -n lib%{name} Group: System/Libraries Summary: KDE Frameworks 5 HTML rendering engine %description -n lib%{name} KHTML is a web rendering engine, based on the KParts technology and using KJS for JavaScript support. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang khtml5 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files -n lib%{name} -f khtml5.lang %defattr(-,root,root) %{_sysconfdir}/xdg/khtml.categories %{_sysconfdir}/xdg/khtmlrc %{_kde5_libdir}/libKF5KHtml.so.* %{_libdir}/qt5/plugins/kf5/parts/khtmladaptorpart.so %{_libdir}/qt5/plugins/kf5/parts/khtmlimagepart.so %{_libdir}/qt5/plugins/kf5/parts/khtmlpart.so %{_libdir}/qt5/plugins/kf5/parts/kjavaappletviewer.so %{_libdir}/qt5/plugins/kf5/parts/kmultipart.so %{_kde5_datadir}/kf5/khtml/css/html4.css %{_kde5_datadir}/kf5/khtml/css/presentational.css %{_kde5_datadir}/kf5/khtml/css/quirks.css %{_kde5_datadir}/kf5/khtml/error.html %{_kde5_datadir}/kf5/kjava/kjava.jar %{_kde5_datadir}/kf5/kjava/kjava.policy %{_kde5_datadir}/kf5/kjava/pluginsinfo #%{_datadir}/kxmlgui5/khtml/khtml.rc #%{_datadir}/kxmlgui5/khtml/khtml_browser.rc %{_datadir}/kservices5/khtml.desktop %{_datadir}/kservices5/khtmladaptorpart.desktop %{_datadir}/kservices5/khtmlimage.desktop %{_datadir}/kservices5/kjavaappletviewer.desktop %{_datadir}/kservices5/kmultipart.desktop %doc COPYING.LIB %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_kde5_includedir}/KHtml %{_kde5_includedir}/KHtml/* %{_kde5_includedir}/khtml_version.h %{_kde5_libdir}/cmake/KF5KHtml/KF5KHtml*.cmake %{_kde5_libdir}/libKF5KHtml.so %{_kde5_mkspecsdir}/qt_KHtml.pri %changelog * Mon Oct 22 2018 Automatic Build System 5.51.0-1mamba - automatic version update by autodist * Tue Sep 11 2018 Automatic Build System 5.50.0-1mamba - automatic version update by autodist * Wed Aug 22 2018 Automatic Build System 5.49.0-1mamba - automatic version update by autodist * Tue Jul 17 2018 Automatic Build System 5.48.0-1mamba - automatic version update by autodist * Tue Jun 19 2018 Automatic Build System 5.47.0-1mamba - automatic version update by autodist * Fri May 18 2018 Automatic Build System 5.46.0-1mamba - automatic version update by autodist * Fri Apr 20 2018 Automatic Build System 5.45.0-1mamba - automatic version update by autodist * Sun Mar 18 2018 Automatic Build System 5.44.0-1mamba - automatic version update by autodist * Wed Mar 07 2018 Automatic Build System 5.43.0-1mamba - automatic version update by autodist * Mon Jan 22 2018 Automatic Build System 5.42.0-1mamba - automatic version update by autodist * Tue Jan 02 2018 Automatic Build System 5.41.0-1mamba - automatic version update by autodist * Tue Nov 14 2017 Automatic Build System 5.40.0-1mamba - automatic version update by autodist * Mon Oct 23 2017 Automatic Build System 5.39.0-1mamba - automatic version update by autodist * Thu Sep 14 2017 Automatic Build System 5.38.0-1mamba - automatic version update by autodist * Fri Aug 25 2017 Automatic Build System 5.37.0-1mamba - automatic version update by autodist * Tue Aug 08 2017 Automatic Build System 5.36.0-1mamba - automatic version update by autodist * Wed Jan 25 2017 Automatic Build System 5.30.0-1mamba - automatic version update by autodist * Tue Dec 27 2016 Automatic Build System 5.29.0-1mamba - automatic version update by autodist * Sat Oct 15 2016 Automatic Build System 5.27.0-1mamba - automatic version update by autodist * Mon Oct 10 2016 Automatic Build System 5.26.0-1mamba - automatic version update by autodist * Thu Aug 25 2016 Automatic Build System 5.25.0-1mamba - automatic version update by autodist * Sun Jul 31 2016 Automatic Build System 5.24.0-1mamba - automatic version update by autodist * Sun Jun 26 2016 Silvan Calarco 5.23.0-1mamba - automatic version update by autodist * Sun May 29 2016 Automatic Build System 5.22.0-1mamba - automatic version update by autodist * Sun Apr 24 2016 Automatic Build System 5.21.0-1mamba - automatic version update by autodist * Mon Apr 04 2016 Automatic Build System 5.20.0-1mamba - automatic version update by autodist * Sat Feb 27 2016 Automatic Build System 5.19.0-1mamba - automatic version update by autodist * Mon Jan 18 2016 Automatic Build System 5.18.0-1mamba - automatic version update by autodist * Sun Dec 27 2015 Automatic Build System 5.17.0-1mamba - automatic version update by autodist * Wed Dec 09 2015 Automatic Build System 5.16.0-1mamba - automatic version update by autodist * Fri Nov 13 2015 Automatic Build System 5.15.0-1mamba - automatic version update by autodist * Mon Oct 12 2015 Automatic Build System 5.14.0-1mamba - automatic version update by autodist * Mon Aug 17 2015 Automatic Build System 5.12.0-1mamba - automatic version update by autodist * Thu Jul 09 2015 Automatic Build System 5.11.0-1mamba - automatic version update by autodist * Sat May 23 2015 Automatic Build System 5.10.0-1mamba - automatic version update by autodist * Sun May 10 2015 Silvan Calarco 5.9.0-1mamba - package created using the webbuild interface