khelpcenter/khelpcenter.spec

125 lines
4.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: khelpcenter
Version: 20.08.1
Release: 1mamba
Summary: KDE Frameworks 5 help center
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 Sep 03 2020 Automatic Build System <autodist@mambasoft.it> 20.08.1-1mamba
- automatic version update by autodist
* Sat Aug 15 2020 Automatic Build System <autodist@mambasoft.it> 20.08.0-1mamba
- automatic version update by autodist
* Fri Jul 10 2020 Automatic Build System <autodist@mambasoft.it> 20.04.3-1mamba
- automatic version update by autodist
* Fri Jun 12 2020 Automatic Build System <autodist@mambasoft.it> 20.04.2-1mamba
- automatic version update by autodist
* Fri May 15 2020 Automatic Build System <autodist@mambasoft.it> 20.04.1-1mamba
- automatic version update by autodist
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20.04.0-1mamba
- package created using the webbuild interface