2015-08-09 08:48:52 +00:00
|
|
|
#
|
|
|
|
# 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
|
2015-10-03 09:21:23 +00:00
|
|
|
Version: 1.0
|
2015-08-09 08:48:52 +00:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.7.0
|
2015-10-03 09:21:23 +00:00
|
|
|
%define rversion 1.0
|
2015-08-09 08:48:52 +00:00
|
|
|
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
|
|
|
|
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}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2015-08-17 18:45:54 +00:00
|
|
|
# the reviewboard icon is shipped with kdevplatform
|
|
|
|
rm -rfv %{buildroot}%{_kf5_iconsdir}/hicolor/*/apps/reviewboard.*
|
|
|
|
|
2015-08-09 08:48:52 +00:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-08-18 16:06:09 +00:00
|
|
|
%doc COPYING*
|
2015-08-09 08:48:52 +00:00
|
|
|
%{_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
|