krunner/krunner.spec

109 lines
3.3 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: krunner
Version: 5.17.0
Release: 1mamba
Summary: KDE Frameworks 5 - Framework for Plasma runners
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-1mamba
- update to 5.17.0
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.0-1mamba
- package created using the webbuild interface