Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.1:Rings:1-MinimalX
purpose
purpose.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File purpose.spec of Package purpose
# # spec file for package purpose # # Copyright (c) 2019 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 https://bugs.opensuse.org/ # %define lname libKF5Purpose5 %define _tar_path 5.55 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: purpose Version: 5.55.0 Release: 0 Summary: Framework to integrate services and actions in applications License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 1.7.0 BuildRequires: intltool BuildRequires: kaccounts-integration-devel BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} BuildRequires: kcoreaddons-devel >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{_kf5_bugfix_version} BuildRequires: kio-devel >= %{_kf5_bugfix_version} BuildRequires: libaccounts-glib-devel BuildRequires: libaccounts-qt5-devel BuildRequires: libsignon-qt5-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 Requires: kdeclarative-components >= %{_kf5_bugfix_version} Requires: libKF5QuickAddons5 >= %{_kf5_bugfix_version} Requires: libqt5-qtquickcontrols2 Recommends: %{name}-lang Suggests: kdeconnect-kde %description This framework offers the possibility to create integrate services and actions on any application without having to implement them specifically. Purpose will offer them mechanisms to list the different alternatives to execute given the requested action type and will facilitate components so that all the plugins can receive all the information they need. %package -n %{lname} Summary: Framework to integrate services and actions - core library Group: System/Libraries Recommends: %{name} %description -n %{lname} This framework offers the possibility to create integrate services and actions on any application without having to implement them specifically. Purpose will offer them mechanisms to list the different alternatives to execute given the requested action type and will facilitate components so that all the plugins can receive all the information they need. This package contains the core library files of the package. %package -n libKF5PurposeWidgets5 Summary: Framework to integrate services and actions - GUI library Group: System/Libraries Recommends: %{name} %description -n libKF5PurposeWidgets5 This framework offers the possibility to create integrate services and actions on any application without having to implement them specifically. Purpose will offer them mechanisms to list the different alternatives to execute given the requested action type and will facilitate components so that all the plugins can receive all the information they need. This package contains the library files of the package needed to use GUI widgets. %package devel Summary: Framework to integrate services and actions - Build Environment Group: Development/Libraries/KDE Requires: %{lname} = %{version} Requires: %{name} = %{version} Requires: extra-cmake-modules Requires: kcoreaddons-devel >= %{_kf5_bugfix_version} Requires: libKF5PurposeWidgets5 = %{version} %description devel This package contains development files needed to build applications which rely on the purpose framework. %lang_package %prep %setup -q %if 0%{?suse_version} == 1500 sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang libpurpose_quick %{name}.lang %find_lang libpurpose_widgets %{name}.lang %find_lang purpose_email %{name}.lang %find_lang purpose-fileitemaction %{name}.lang %find_lang purpose_kdeconnect %{name}.lang %find_lang purpose_imgur %{name}.lang %find_lang purpose_ktp-sendfile %{name}.lang %find_lang purpose_nextcloud %{name}.lang %find_lang purpose_pastebin %{name}.lang %find_lang purpose_phabricator %{name}.lang %find_lang purpose_reviewboard %{name}.lang %find_lang purpose_saveas %{name}.lang %find_lang purpose_twitter %{name}.lang %find_lang purpose_youtube %{name}.lang %endif %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig %post -n libKF5PurposeWidgets5 -p /sbin/ldconfig %postun -n libKF5PurposeWidgets5 -p /sbin/ldconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}.lang %endif %files -n %{lname} %license COPYING* %{_kf5_libdir}/libKF5Purpose.so.* %{_kf5_debugdir}/*.categories %files -n libKF5PurposeWidgets5 %{_kf5_libdir}/libKF5PurposeWidgets.so.* %files %{_kf5_libdir}/libPhabricatorHelpers.so.* %{_kf5_libdir}/libReviewboardHelpers.so.* %{_kf5_libexecdir}/ %{_kf5_sharedir}/purpose/ %{_kf5_sharedir}/kpackage/ %{_kf5_plugindir}/ %{_kf5_qmldir}/ %{_kf5_iconsdir}/hicolor/*/actions/kipiplugin_youtube.* %{_kf5_iconsdir}/hicolor/*/apps/phabricator-purpose.* %{_kf5_iconsdir}/hicolor/*/apps/reviewboard-purpose.* %{_kf5_sharedir}/accounts/ %files devel %{_kf5_libdir}/libKF5Purpose.so %{_kf5_libdir}/libKF5PurposeWidgets.so %{_kf5_libdir}/cmake/KDEExperimentalPurpose/ %{_kf5_includedir}/ %dir %{_kf5_cmakedir}/KF5Purpose %{_kf5_cmakedir}/KF5Purpose/*.cmake %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor