From 4d9395f27bcceeec0d00f12e48f005910f726eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Wed, 21 Jan 2015 14:11:32 +0100 Subject: [PATCH] Import package - Plasma 5.1.95 (Plasma 5.2 beta) --- .gitignore | 1 + khotkeys.spec | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 116 insertions(+) create mode 100644 khotkeys.spec diff --git a/.gitignore b/.gitignore index e69de29..d1cddf0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/khotkeys-5.1.95.tar.xz diff --git a/khotkeys.spec b/khotkeys.spec new file mode 100644 index 0000000..616f50c --- /dev/null +++ b/khotkeys.spec @@ -0,0 +1,114 @@ +Name: khotkeys +Version: 5.1.95 +Release: 1.beta%{?dist} +Summary: Application to configure hotkeys in KDE + +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/workspace/khotkeys + +%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-qtx11extras-devel + +BuildRequires: kf5-rpm-macros +BuildRequires: extra-cmake-modules + +BuildRequires: kf5-kglobalaccel-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-kxmlgui-devel +BuildRequires: kf5-kdelibs4support-devel +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-kcmutils-devel +BuildRequires: kf5-plasma-devel +BuildRequires: kf5-kdoctools-devel + +BuildRequires: plasma-workspace-devel + +BuildRequires: libX11-devel + +Requires: kf5-filesystem + +# TODO: Remove When khotkeys has been split from kde-workspace +Conflicts: kde-workspace < 5.0.0-1 + +%description +An advanced editor component which is used in numerous KDE applications +requiring a text editing component. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q -n %{name}-%{version} + +%build + +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 khotkeys5 --with-qt --with-kde --all-name + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f khotkeys5.lang +%doc COPYING +%{_kf5_libdir}/libkhotkeysprivate.so.* +%{_kf5_qtplugindir}/kcm_hotkeys.so +%{_kf5_qtplugindir}/kded_khotkeys.so +%{_kf5_datadir}/kservices5/kded/*.desktop +%{_kf5_datadir}/kservices5/khotkeys.desktop +%{_datadir}/khotkeys +%{_datadir}/dbus-1/interfaces/*.xml +%{_datadir}/doc/HTML/en/kcontrol/khotkeys + +%files devel +%{_libdir}/cmake/KHotKeysDBusInterface + +%changelog +* Mon Jan 12 2015 Daniel Vrátil - 5.1.95-1.beta +- Plasma 5.1.95 Beta + +* Wed Dec 17 2014 Daniel Vrátil - 5.1.2-2 +- Plasma 5.1.2 + +* Fri Nov 07 2014 Daniel Vrátil - 5.1.1-1 +- Plasma 5.1.1 + +* Tue Oct 14 2014 Daniel Vrátil - 5.1.0.1-1 +- Plasma 5.1.0.1 + +* Thu Oct 09 2014 Daniel Vrátil - 5.1.0-1 +- Plasma 5.1.0 + +* Tue Sep 16 2014 Daniel Vrátil - 5.0.2-1 +- Plasma 5.0.2 + +* Sun Aug 10 2014 Daniel Vrátil - 5.0.1-1 +- Plasma 5.0.1 + +* Thu Jul 17 2014 Daniel Vrátil - 5.0.0-1 +- Plasma 5.0.0 + +* Wed May 14 2014 Daniel Vrátil - 4.90.1-1.20140514gite1c386a +- Intial snapshot diff --git a/sources b/sources index e69de29..31ff80c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1f03a3276a586cb85858663cb773e8ab khotkeys-5.1.95.tar.xz