|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: khelpcenter
|
|
|
|
Name: khelpcenter
|
|
|
|
Version: 5.3.1
|
|
|
|
Version: 5.3.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Application to show KDE Application's documentation
|
|
|
|
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
|
|
|
@ -23,7 +23,7 @@ BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
BuildRequires: kf5-kinit-devel
|
|
|
|
BuildRequires: kf5-kinit-devel >= 5.10.0-3
|
|
|
|
BuildRequires: kf5-kcmutils-devel
|
|
|
|
BuildRequires: kf5-kcmutils-devel
|
|
|
|
BuildRequires: kf5-khtml-devel
|
|
|
|
BuildRequires: kf5-khtml-devel
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
@ -36,26 +36,32 @@ BuildRequires: kde-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# libkdeinit5_*
|
|
|
|
|
|
|
|
%{?kf5_kinit_requires}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mv doc/CMakeLists.txt doc/CMakeLists.txt.en_only
|
|
|
|
|
|
|
|
grep 'add_subdirectory(en)' doc/CMakeLists.txt.en_only > doc/CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
sed -i "s/add_subdirectory( doc )/#add_subdirectory( doc )/" CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
%build
|
|
|
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang khelpcenter5 --with-qt --with-kde --all-name
|
|
|
|
%find_lang khelpcenter5 --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
|
|
# Provide khelpcenter service for KDE 3 and KDE 4 applications
|
|
|
|
# Provide khelpcenter service for KDE 3 and KDE 4 applications
|
|
|
|
mkdir -p %{buildroot}/%{_kde4_datadir}/services
|
|
|
|
mkdir -p %{buildroot}/%{_kde4_datadir}/services
|
|
|
@ -69,6 +75,7 @@ cp %{buildroot}/%{_datadir}/kservices5/khelpcenter.desktop \
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop
|
|
|
|
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 COPYING
|
|
|
|
%{_bindir}/khelpcenter
|
|
|
|
%{_bindir}/khelpcenter
|
|
|
@ -78,7 +85,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop
|
|
|
|
%{_libexecdir}/khc_mansearch.pl
|
|
|
|
%{_libexecdir}/khc_mansearch.pl
|
|
|
|
%{_libexecdir}/khc_docbookdig.pl
|
|
|
|
%{_libexecdir}/khc_docbookdig.pl
|
|
|
|
%{_kf5_libdir}/libkdeinit5_khelpcenter.so
|
|
|
|
%{_kf5_libdir}/libkdeinit5_khelpcenter.so
|
|
|
|
%{_kf5_datadir}/khelpcenter
|
|
|
|
%{_kf5_datadir}/khelpcenter/
|
|
|
|
%{_kf5_datadir}/kxmlgui5/khelpcenter/khelpcenterui.rc
|
|
|
|
%{_kf5_datadir}/kxmlgui5/khelpcenter/khelpcenterui.rc
|
|
|
|
%{_datadir}/applications/org.kde.Help.desktop
|
|
|
|
%{_datadir}/applications/org.kde.Help.desktop
|
|
|
|
%{_datadir}/config.kcfg/khelpcenter.kcfg
|
|
|
|
%{_datadir}/config.kcfg/khelpcenter.kcfg
|
|
|
@ -86,8 +93,17 @@ 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(en) /usr/share/doc/HTML/en/khelpcenter/
|
|
|
|
|
|
|
|
%lang(en) /usr/share/doc/HTML/en/onlinehelp/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jun 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 1:5.3.1-3
|
|
|
|
|
|
|
|
- (re)enable en-only HTML docs (others provided by kde-l10n)
|
|
|
|
|
|
|
|
- +%%{?kf5_kinit_requires},
|
|
|
|
|
|
|
|
- .spec cosmetics
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 29 2015 Daniel Vrátil <dvratil@redhat.com> - 1:5.3.1-2
|
|
|
|
* Fri May 29 2015 Daniel Vrátil <dvratil@redhat.com> - 1:5.3.1-2
|
|
|
|
- bump Epoch to override khelpcenter subpackage from kde-runtime-15.04
|
|
|
|
- bump Epoch to override khelpcenter subpackage from kde-runtime-15.04
|
|
|
|
|
|
|
|
|
|
|
|