.spec cosmetics, (re)enable all HTML docs

epel9
Rex Dieter 9 years ago
parent 8a43d3ed8a
commit adf7bfacf5

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

Loading…
Cancel
Save