diff --git a/README.md b/README.md index 10643dc..8755a4b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # khelpcenter +KDE Frameworks 5 help center. + diff --git a/khelpcenter.spec b/khelpcenter.spec new file mode 100644 index 0000000..26bf118 --- /dev/null +++ b/khelpcenter.spec @@ -0,0 +1,109 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: khelpcenter +Version: 20.04.0 +Release: 1mamba +Summary: KDE Frameworks 5 help center +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/release-service/%{version}/src/khelpcenter-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdoctools-devel +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libgrantlee-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: libkdbusaddons-devel +BuildRequires: libkhtml-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libkjs-devel +BuildRequires: libkparts-devel +BuildRequires: libkservice-devel +BuildRequires: libktextwidgets-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libqt5-devel +BuildRequires: libsonnet-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxapian-devel +BuildRequires: libxml2-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +KDE Frameworks 5 help center. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}5_qt.lang +%defattr(-,root,root) +%{_bindir}/khelpcenter +%{_libdir}/libkdeinit5_khelpcenter.so +%{_libexecdir}/khc_mansearch.pl +%{_libexecdir}/khc_xapianindexer +%{_libexecdir}/khc_xapiansearch +%{_datadir}/applications/org.kde.Help.desktop +%{_datadir}/config.kcfg/khelpcenter.kcfg +%{_datadir}/kde4/services/khelpcenter.desktop +%dir %{_datadir}/khelpcenter +%{_datadir}/khelpcenter/glossary.xslt +%dir %{_datadir}/khelpcenter/plugins +%dir %{_datadir}/khelpcenter/plugins/Applications +%{_datadir}/khelpcenter/plugins/Applications/.directory +%dir %{_datadir}/khelpcenter/plugins/Manpages +%{_datadir}/khelpcenter/plugins/Manpages/.directory +%{_datadir}/khelpcenter/plugins/Manpages/*.desktop +%dir %{_datadir}/khelpcenter/plugins/Scrollkeeper +%{_datadir}/khelpcenter/plugins/Scrollkeeper/.directory +%{_datadir}/khelpcenter/plugins/*.desktop +%dir %{_datadir}/khelpcenter/searchhandlers +%{_datadir}/khelpcenter/searchhandlers/*.desktop +%{_datadir}/khelpcenter/table-of-contents.xslt +%dir %{_datadir}/khelpcenter/templates +%{_datadir}/khelpcenter/templates/*.html +%{_datadir}/kservices5/khelpcenter.desktop +%dir %{_datadir}/kxmlgui5/khelpcenter +%{_datadir}/kxmlgui5/khelpcenter/khelpcenterui.rc +%{_datadir}/metainfo/org.kde.Help.appdata.xml +%{_datadir}/qlogging-categories5/khelpcenter.categories +%doc COPYING + +%changelog +* Thu Apr 30 2020 Silvan Calarco 20.04.0-1mamba +- package created using the webbuild interface