From c4c4b72c9c99a07d6293472db147ec5fa1340891 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:50:50 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.12.0-1mamba;Sun Aug 16 2015] --- README.md | 5 +++ krunner.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 krunner.spec diff --git a/README.md b/README.md index c35dc8f..0551b26 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # krunner +The Plasma workspace provides an application called KRunner which, among other things, allows one to type into a text area which causes various actions and information that match the text appear as the text is being typed. +One application for this is the universal runner you can launch with ALT-F2. +This functionality is provided via plugins loaded at runtime called "Runners". +These plugins can be used by any application using the Plasma library. + diff --git a/krunner.spec b/krunner.spec new file mode 100644 index 0000000..b659577 --- /dev/null +++ b/krunner.spec @@ -0,0 +1,105 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: krunner +Version: 5.12.0 +Release: 1mamba +Summary: KDE Frameworks 5 - Framework for Plasma runners +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: http://download.kde.org/stable/frameworks/%{majver}/portingAids/krunner-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkpackage-devel +BuildRequires: libkservice-devel +BuildRequires: libplasma-framework-devel +BuildRequires: libqt5-devel +BuildRequires: libsolid-devel +BuildRequires: libstdc++6-devel +BuildRequires: libthreadweaver-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The Plasma workspace provides an application called KRunner which, among other things, allows one to type into a text area which causes various actions and information that match the text appear as the text is being typed. +One application for this is the universal runner you can launch with ALT-F2. +This functionality is provided via plugins loaded at runtime called "Runners". +These plugins can be used by any application using the Plasma library. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake_kde5 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} +/sbin/ldconfig +exit 0 + +%postun -n lib%{name} +/sbin/ldconfig +exit 0 + +%files -n lib%{name} -f %{name}5_qt.lang +%defattr(-,root,root) +%{_kde5_libdir}/libKF5Runner.so.* +%{_libdir}/qt5/qml/org/kde/runnermodel/librunnermodelplugin.so +%{_libdir}/qt5/qml/org/kde/runnermodel/qmldir +%{_kde5_servicetypesdir}/plasma-runner.desktop +%doc COPYING.LIB + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_kde5_includedir}/KRunner +%dir %{_kde5_includedir}/KRunner/KRunner +%{_kde5_includedir}/KRunner/KRunner/* +%dir %{_kde5_includedir}/KRunner/krunner +%{_kde5_includedir}/KRunner/krunner/* +%{_kde5_includedir}/krunner_version.h +%dir %{_kde5_libdir}/cmake/KF5Runner +%{_kde5_libdir}/cmake/KF5Runner/*.cmake +%{_kde5_libdir}/libKF5Runner.so +%{_kde5_mkspecsdir}/qt_KRunner.pri + +%changelog +* Sun Aug 16 2015 Silvan Calarco 5.12.0-1mamba +- package created using the webbuild interface