2014-02-07 22:42:21 +01:00
|
|
|
#
|
|
|
|
# spec file for package kdeclarative
|
|
|
|
#
|
2016-01-02 18:42:33 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-02-07 22:42:21 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 18:28:18 +02:00
|
|
|
%bcond_without lang
|
2014-03-01 19:33:45 +01:00
|
|
|
%define lname libKF5Declarative5
|
2016-12-04 02:57:33 +01:00
|
|
|
%define _tar_path 5.29
|
2014-02-07 22:42:21 +01:00
|
|
|
Name: kdeclarative
|
2016-12-04 02:57:33 +01:00
|
|
|
Version: 5.29.0
|
2014-02-07 22:42:21 +01:00
|
|
|
Release: 0
|
2014-07-11 11:57:32 +02:00
|
|
|
%define kf5_version %{version}
|
2014-02-07 22:42:21 +01:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2015-04-10 18:28:18 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
2014-02-07 22:42:21 +01:00
|
|
|
BuildRequires: fdupes
|
2015-04-10 18:28:18 +02:00
|
|
|
BuildRequires: kconfig-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kcoreaddons-devel >= %{_tar_path}
|
2014-02-07 22:42:21 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2015-04-10 18:28:18 +02:00
|
|
|
BuildRequires: kglobalaccel-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kguiaddons-devel >= %{_tar_path}
|
|
|
|
BuildRequires: ki18n-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kiconthemes-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kio-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kpackage-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kwidgetsaddons-devel >= %{_tar_path}
|
|
|
|
BuildRequires: kwindowsystem-devel >= %{_tar_path}
|
2015-02-08 20:10:59 +01:00
|
|
|
BuildRequires: libepoxy-devel
|
2016-08-07 23:51:38 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Gui) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Qml) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Quick) >= 5.5.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.5.0
|
2014-02-11 00:18:52 +01:00
|
|
|
Summary: Integration of QML and KDE workspaces
|
2014-02-07 22:42:21 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2015-02-11 20:52:28 +01:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
|
2014-06-03 22:39:44 +02:00
|
|
|
Source1: baselibs.conf
|
2014-02-07 22:42:21 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-02-11 00:18:52 +01:00
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
2014-02-07 22:42:21 +01:00
|
|
|
|
|
|
|
%package -n %lname
|
2014-02-11 00:18:52 +01:00
|
|
|
Summary: Integration of QML and KDE workspaces
|
2016-10-22 18:30:42 +02:00
|
|
|
Group: System/GUI/KDE
|
2016-02-26 19:57:25 +01:00
|
|
|
# QQmlPropertyMap leaks private but exported QObjectPrivate symbol
|
|
|
|
# https://bugreports.qt.io/browse/QTBUG-46433 and https://bugs.launchpad.net/bugs/1426335
|
|
|
|
%requires_eq libQt5Core5
|
2015-04-10 18:28:18 +02:00
|
|
|
%if %{with lang}
|
2014-06-01 20:48:56 +02:00
|
|
|
Recommends: %lname-lang = %{version}
|
2015-04-10 18:28:18 +02:00
|
|
|
%endif
|
2014-02-07 22:42:21 +01:00
|
|
|
|
|
|
|
%description -n %lname
|
2014-02-11 00:18:52 +01:00
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
2014-02-07 22:42:21 +01:00
|
|
|
|
2014-11-03 00:21:16 +01:00
|
|
|
%package -n libKF5QuickAddons5
|
|
|
|
Summary: Integration of QML and KDE workspaces
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n libKF5QuickAddons5
|
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
|
|
|
|
2015-12-11 00:04:09 +01:00
|
|
|
%package -n libKF5CalendarEvents5
|
|
|
|
Summary: Integration of QML and KDE workspaces
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n libKF5CalendarEvents5
|
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
|
|
|
|
2014-11-03 00:21:16 +01:00
|
|
|
%package components
|
|
|
|
Summary: KDeclarative QML components
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description components
|
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
|
|
|
|
2015-03-07 19:02:08 +01:00
|
|
|
%package tools
|
|
|
|
Summary: KDeclarative tools
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
|
|
|
|
2014-02-07 22:42:21 +01:00
|
|
|
%package devel
|
2014-02-11 00:18:52 +01:00
|
|
|
Summary: Integration of QML and KDE workspaces: Build Environment
|
2014-02-07 22:42:21 +01:00
|
|
|
Group: Development/Libraries/KDE
|
2014-02-08 03:32:12 +01:00
|
|
|
Requires: %lname = %{version}
|
2014-11-03 00:21:16 +01:00
|
|
|
Requires: %{name}-components = %{version}
|
2014-02-07 22:42:21 +01:00
|
|
|
Requires: extra-cmake-modules
|
2015-04-10 18:28:18 +02:00
|
|
|
Requires: kconfig-devel >= %{_tar_path}
|
|
|
|
Requires: kcoreaddons-devel >= %{_tar_path}
|
|
|
|
Requires: kpackage-devel >= %{_tar_path}
|
2015-12-11 00:04:09 +01:00
|
|
|
Requires: libKF5CalendarEvents5 = %{version}
|
2014-11-03 00:21:16 +01:00
|
|
|
Requires: libKF5QuickAddons5 = %{version}
|
2016-08-07 23:51:38 +02:00
|
|
|
Requires: cmake(Qt5Qml) >= 5.5.0
|
2014-02-07 22:42:21 +01:00
|
|
|
|
|
|
|
%description devel
|
2014-02-11 00:18:52 +01:00
|
|
|
KDeclarative provides integration of QML and KDE workspaces.
|
|
|
|
Development files.
|
2014-02-07 22:42:21 +01:00
|
|
|
|
2014-06-01 20:48:56 +02:00
|
|
|
%lang_package -n %lname
|
2014-02-07 22:42:21 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 18:48:22 +02:00
|
|
|
%fdupes %{buildroot}
|
2014-02-07 22:42:21 +01:00
|
|
|
|
2015-04-10 18:28:18 +02:00
|
|
|
%if %{with lang}
|
2015-04-05 17:32:07 +02:00
|
|
|
%find_lang %{name}5
|
2015-04-10 18:28:18 +02:00
|
|
|
%endif
|
2014-06-01 20:48:56 +02:00
|
|
|
|
2014-02-07 22:42:21 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2014-11-03 00:21:16 +01:00
|
|
|
%post -n libKF5QuickAddons5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libKF5QuickAddons5 -p /sbin/ldconfig
|
|
|
|
|
2015-12-11 00:04:09 +01:00
|
|
|
%post -n libKF5CalendarEvents5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libKF5CalendarEvents5 -p /sbin/ldconfig
|
|
|
|
|
2015-04-10 18:28:18 +02:00
|
|
|
%if %{with lang}
|
2014-06-01 20:48:56 +02:00
|
|
|
%files -n %lname-lang -f %{name}5.lang
|
2015-04-10 18:28:18 +02:00
|
|
|
%endif
|
2014-06-01 20:48:56 +02:00
|
|
|
|
2014-02-07 22:42:21 +01:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libKF5Declarative.so.*
|
2014-11-03 00:21:16 +01:00
|
|
|
|
|
|
|
%files -n libKF5QuickAddons5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libKF5QuickAddons.so.*
|
|
|
|
|
2015-12-11 00:04:09 +01:00
|
|
|
%files -n libKF5CalendarEvents5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libKF5CalendarEvents.so.*
|
|
|
|
|
2014-11-03 00:21:16 +01:00
|
|
|
%files components
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
2014-03-29 18:16:04 +01:00
|
|
|
%{_kf5_libdir}/qt5/qml/
|
2014-02-07 22:42:21 +01:00
|
|
|
|
2015-03-07 19:02:08 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_bindir}/kpackagelauncherqml
|
|
|
|
|
2014-02-07 22:42:21 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5Declarative.so
|
2014-11-03 00:21:16 +01:00
|
|
|
%{_kf5_libdir}/libKF5QuickAddons.so
|
2015-12-11 00:04:09 +01:00
|
|
|
%{_kf5_libdir}/libKF5CalendarEvents.so
|
2014-02-07 22:42:21 +01:00
|
|
|
%{_kf5_libdir}/cmake/KF5Declarative/
|
|
|
|
%{_kf5_includedir}/*.h
|
|
|
|
%dir %{_kf5_includedir}/*/
|
|
|
|
%{_kf5_includedir}/*/
|
|
|
|
%{_kf5_mkspecsdir}/qt_KDeclarative.pri
|
2014-11-03 00:21:16 +01:00
|
|
|
%{_kf5_mkspecsdir}/qt_QuickAddons.pri
|
2014-02-07 22:42:21 +01:00
|
|
|
|
|
|
|
%changelog
|