[khelpcenter] Import package - Plasma 5.1.95 (Plasma 5.2 beta)

Daniel Vrátil dvratil at fedoraproject.org
Fri Jan 16 10:37:39 UTC 2015


commit 1295c3e1132152dcd081074c4cbbd761b393e987
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Fri Jan 16 11:37:58 2015 +0100

    Import package - Plasma 5.1.95 (Plasma 5.2 beta)

 .gitignore       |    1 +
 khelpcenter.spec |  127 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 129 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d1b31d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/khelpcenter-5.1.95.tar.xz
diff --git a/khelpcenter.spec b/khelpcenter.spec
new file mode 100644
index 0000000..47beae0
--- /dev/null
+++ b/khelpcenter.spec
@@ -0,0 +1,127 @@
+Name:           khelpcenter
+Version:        5.1.95
+Release:        2.beta%{?dist}
+Summary:        Application to show KDE Application's documentation
+
+License:        GPLv2 or GPLv3
+URL:            https://projects.kde.org/projects/kde/workspace/khelpcenter
+
+%global revision %(echo %{version} | cut -d. -f3)
+%if %{revision} >= 50
+%global stable unstable
+%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
+
+BuildRequires:  extra-cmake-modules
+BuildRequires:  kf5-rpm-macros
+
+BuildRequires:  kf5-kconfig-devel
+BuildRequires:  kf5-kinit-devel
+BuildRequires:  kf5-kcmutils-devel
+BuildRequires:  kf5-khtml-devel
+BuildRequires:  kf5-kdelibs4support-devel
+BuildRequires:  kf5-kdoctools-devel
+
+BuildRequires:  desktop-file-utils
+
+# _kde4_* macros
+BuildRequires:  kde-filesystem
+
+Requires:       kf5-filesystem
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+sed -i "s/add_subdirectory( doc )/#add_subdirectory( doc )/" CMakeLists.txt
+
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+%find_lang khelpcenter5 --with-qt --with-kde --all-name
+
+# Provide khelpcenter service for KDE 3 and KDE 4 applications
+mkdir -p %{buildroot}/%{_kde4_datadir}/services
+cp %{buildroot}/%{_datadir}/kservices5/khelpcenter.desktop \
+   %{buildroot}/%{_kde4_datadir}/services
+mkdir -p %{buildroot}/%{_kde4_datadir}/kde4/services
+cp %{buildroot}/%{_datadir}/kservices5/khelpcenter.desktop \
+   %{buildroot}/%{_kde4_datadir}/kde4/services
+
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.Help.desktop
+
+%files -f khelpcenter5.lang
+%doc README.htdig README.metadata COPYING
+%{_bindir}/khelpcenter
+%{_libexecdir}/khc_indexbuilder
+%{_libexecdir}/khc_htdig.pl
+%{_libexecdir}/khc_htsearch.pl
+%{_libexecdir}/khc_mansearch.pl
+%{_libexecdir}/khc_docbookdig.pl
+%{_kf5_libdir}/libkdeinit5_khelpcenter.so
+%{_kf5_datadir}/khelpcenter
+%{_kf5_datadir}/kxmlgui5/khelpcenter/khelpcenterui.rc
+%{_datadir}/applications/org.kde.Help.desktop
+%{_datadir}/config.kcfg/khelpcenter.kcfg
+%{_datadir}/kservices5/khelpcenter.desktop
+%{_datadir}/dbus-1/interfaces/org.kde.khelpcenter.kcmhelpcenter.xml
+%{_kde4_datadir}/services/khelpcenter.desktop
+%{_kde4_datadir}/kde4/services/khelpcenter.desktop
+
+%changelog
+* Tue Jan 13 2015 Daniel Vrátil <dvratil at redhat.com> - 5.1.95-2.beta
+- Updated tarball
+
+* Mon Jan 12 2015 Daniel Vrátil <dvratil at redhat.com> - 5.1.95-1.beta
+- Plasma 5.1.95 Beta
+
+* Tue Jan 06 2015 Daniel Vrátil <dvratil at redhat.com> - 5.1.2-3
+- better URL
+- remove unnecessary scriptlets
+- validate desktop files
+- ship service files for KDE 3 and KDE 4
+- fix license
+
+* Wed Dec 17 2014 Daniel Vrátil <dvratil at redhat.com> - 5.1.2-2
+- Plasma 5.1.2
+
+* Fri Nov 07 2014 Daniel Vrátil <dvratil at redhat.com> - 5.1.1-1
+- Plasma 5.1.1
+
+* Tue Oct 14 2014 Daniel Vrátil <dvratil at redhat.com> - 5.1.0.1-1
+- Plasma 5.1.0.1
+
+* Thu Oct 09 2014 Daniel Vrátil <dvratil at redhat.com> - 5.1.0-1
+- Plasma 5.1.0
+
+* Tue Sep 16 2014 Daniel Vrátil <dvratil at redhat.com> - 5.0.2-1
+- Plasma 5.0.2
+
+* Sun Aug 10 2014 Daniel Vrátil <dvratil at redhat.com> - 5.0.1-1
+- Plasma 5.0.1
+
+* Wed Aug 06 2014 Daniel Vrátil <dvratil at redhat.com> - 5.0.0-2
+- No longer obsoletes kde-runtime-khelpcenter
+
+* Wed Jul 16 2014 Daniel Vrátil <dvratil at redhat.com> - 5.0.0-1
+- Plasma 5.0.0
+
+* Wed May 14 2014 Daniel Vrátil <dvratil at redhat.com> - 4.90.1-1.20140514git6bfae0d
+- Intial snapshot
diff --git a/sources b/sources
index e69de29..7cf3b66 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e2d3695d46555e1412cddc4bc8087c59  khelpcenter-5.1.95.tar.xz


More information about the scm-commits mailing list