diff --git a/khelpcenter.spec b/khelpcenter.spec index 3dd1126..5cdb1df 100644 --- a/khelpcenter.spec +++ b/khelpcenter.spec @@ -1,12 +1,12 @@ -Name: khelpcenter -Version: 5.5.2 -Release: 1%{?dist} -Summary: Application to show KDE Application's documentation +Name: khelpcenter +Summary: Show documentation for KDE applications # Override khelpcenter subpackage from kde-runtime-15.04 (no longer built) -Epoch: 1 +Epoch: 1 +Version: 5.5.2 +Release: 2%{?dist} -License: GPLv2 or GPLv3 -URL: https://projects.kde.org/projects/kde/workspace/khelpcenter +License: GPLv2 or GPLv3 +URL: https://projects.kde.org/khelpcenter %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -14,25 +14,22 @@ URL: https://projects.kde.org/projects/kde/workspace/khelpcenter %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz - -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtscript-devel +Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz +BuildRequires: cmake +BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules -BuildRequires: kf5-rpm-macros - -BuildRequires: kf5-kconfig-devel -BuildRequires: kf5-kinit-devel >= 5.10.0-3 +# _kde4_* macros +BuildRequires: kde-filesystem BuildRequires: kf5-kcmutils-devel -BuildRequires: kf5-khtml-devel +BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kdoctools-devel - -BuildRequires: desktop-file-utils - -# _kde4_* macros -BuildRequires: kde-filesystem +BuildRequires: kf5-khtml-devel +BuildRequires: kf5-kinit-devel >= 5.10.0-3 +BuildRequires: kf5-rpm-macros +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtscript-devel Requires: kf5-filesystem @@ -46,9 +43,6 @@ Requires: kf5-filesystem %prep %setup -q -mv doc/CMakeLists.txt doc/CMakeLists.txt.en_only -grep 'add_subdirectory(en)' doc/CMakeLists.txt.en_only > doc/CMakeLists.txt - %build mkdir %{_target_platform} @@ -77,7 +71,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop %files -f khelpcenter5.lang -%doc README.htdig README.metadata COPYING +%doc README.htdig README.metadata +%license COPYING %{_bindir}/khelpcenter %{_libexecdir}/khc_indexbuilder %{_libexecdir}/khc_htdig.pl @@ -93,12 +88,24 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop %{_datadir}/dbus-1/interfaces/org.kde.khelpcenter.kcmhelpcenter.xml %{_kde4_datadir}/services/khelpcenter.desktop %{_kde4_datadir}/kde4/services/khelpcenter.desktop -%lang(en) /usr/share/doc/HTML/en/fundamentals/ -%lang(en) /usr/share/doc/HTML/en/khelpcenter/ -%lang(en) /usr/share/doc/HTML/en/onlinehelp/ +%lang(ca) %{_kf5_docdir}/HTML/ca/fundamentals/ +%lang(ca) %{_kf5_docdir}/HTML/ca/glossary/ +%lang(ca) %{_kf5_docdir}/HTML/ca/khelpcenter/ +%lang(ca) %{_kf5_docdir}/HTML/ca/onlinehelp/ +%lang(en) %{_kf5_docdir}/HTML/en/fundamentals/ +%lang(en) %{_kf5_docdir}/HTML/en/khelpcenter/ +%lang(en) %{_kf5_docdir}/HTML/en/onlinehelp/ +%lang(it) %{_kf5_docdir}/HTML/it/khelpcenter/ +%lang(nl) %{_kf5_docdir}/HTML/nl/khelpcenter/ +%lang(pt_BR) %{_kf5_docdir}/HTML/pt_BR/khelpcenter/ +%lang(sv) %{_kf5_docdir}/HTML/sv/khelpcenter/ +%lang(uk) %{_kf5_docdir}/HTML/uk/khelpcenter/ %changelog +* Wed Jan 06 2016 Rex Dieter - 1:5.5.2-2 +- .spec cosmetics, (re)enable all HTML docs + * Thu Dec 31 2015 Rex Dieter - 1:5.5.2-1 - 5.5.2