Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
kservice
> kservice.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File kservice.spec of Package kservice
# # spec file for package kservice # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without lang %define _tar_path 5.34 Name: kservice Version: 5.34.0 Release: 0 %define kf5_version %{version} BuildRequires: bison BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: flex BuildRequires: kconfig-devel >= %{_tar_path} BuildRequires: kcoreaddons-devel >= %{_tar_path} #BuildRequires: kcrash-devel >= %{_tar_path} BuildRequires: kdbusaddons-devel >= %{_tar_path} BuildRequires: ki18n-devel >= %{_tar_path} BuildRequires: pkgconfig(Qt5Concurrent) >= 5.6.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.6.0 BuildRequires: pkgconfig(Qt5Test) >= 5.6.0 BuildRequires: pkgconfig(Qt5Xml) >= 5.6.0 Summary: Plugin framework for desktop services License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: kservice_no_kcrash.patch %description Provides a plugin framework for handling desktop services. Services can be applications or libraries. They can be bound to MIME types or handled by application specific code. %package devel Summary: Plugin framework for desktop services: Build Environment Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules Requires: kconfig-devel >= %{_tar_path} Requires: kcoreaddons-devel >= %{_tar_path} %description devel Provides a plugin framework for handling desktop services. Services can be applications or libraries. They can be bound to MIME types or handled by application specific code. Development files %prep %setup -q %patch0 -p1 %build %cmake -DBUILD_TESTING=OFF ../%{name}-%{version} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} # >> install pre # << install pre %make_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING* %{_libdir}/libKF5Service.so.* %{_bindir}/kbuildsycoca5 %dir %{_datadir}/kservicetypes5 %{_datadir}/kservicetypes5/application.desktop %{_datadir}/kservicetypes5/kplugininfo.desktop %dir %{_sysconfdir}/xdg/menus %{_sysconfdir}/xdg/menus/applications.menu #%doc %lang(en) %{_mandir}/*/kbuildsycoca5.* #%doc %lang(en) %{_mandir}/*/desktoptojson.* %{_datadir}/locale %files devel %defattr(-,root,root) %{_libdir}/libKF5Service.so %{_libdir}/cmake/KF5Service/ %{_includedir}/ %{_datadir}/qt5/mkspecs/modules/qt_KService.pri %changelog