# # spec file for package purpose # # Copyright (c) 2015 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/ # Name: purpose Version: 1.0~rc1 Release: 0 %define kf5_version 5.7.0 %define rversion 1.0rc1 BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 1.7.0 BuildRequires: intltool BuildRequires: kaccounts-integration-devel BuildRequires: kconfig-devel >= %{kf5_version} BuildRequires: kcoreaddons-devel >= %{kf5_version} BuildRequires: kdeclarative-devel >= %{kf5_version} BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{kf5_version} BuildRequires: kio-devel >= %{kf5_version} BuildRequires: libaccounts-glib-devel BuildRequires: libaccounts-qt5-devel BuildRequires: libsignon-qt5-devel BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.2.0 BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 Summary: Provides abstractions to get the developer's purposes fulfilled License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: %{name}-%{rversion}.tar.xz Source1: baselibs.conf Patch0: build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Framework for providing abstractions to get the developer's purposes fulfilled. %package devel Summary: Provides abstractions to get the developer's purposes fulfilled: Build Environment Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules Requires: kcoreaddons-devel >= %{kf5_version} %description devel Framework for providing abstractions to get the developer's purposes fulfilled. Development files. %lang_package %prep %setup -q -n %{name}-%{rversion} %patch0 -p1 %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build # the reviewboard icon is shipped with kdevplatform rm -rfv %{buildroot}%{_kf5_iconsdir}/hicolor/*/apps/reviewboard.* %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %{_kf5_libdir}/libKF5Purpose.so.* %{_kf5_libdir}/libKF5PurposeWidgets.so.* %{_kf5_libdir}/libReviewboardHelpers.so %{_kf5_sharedir}/purpose/ %{_kf5_plugindir}/ %{_kf5_qmldir}/ %{_kf5_iconsdir}/hicolor/*/actions/kipiplugin_youtube.* %{_kf5_sharedir}/accounts/ %files devel %defattr(-,root,root) %{_kf5_libdir}/libKF5Purpose.so %{_kf5_libdir}/libKF5PurposeWidgets.so %{_kf5_libdir}/cmake/KDEExperimentalPurpose/ %{_kf5_includedir}/ %changelog