2014-05-04 04:11:58 +02:00
|
|
|
#
|
|
|
|
# spec file for package kdelibs4support
|
|
|
|
#
|
2018-01-17 16:06:47 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-05-04 04:11:58 +02: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:29:23 +02:00
|
|
|
%bcond_without lang
|
2014-05-04 04:11:58 +02:00
|
|
|
%define lname libKF5KDELibs4Support5
|
2018-06-14 00:11:08 +02:00
|
|
|
%define _tar_path 5.47
|
2017-09-13 14:21:33 +02:00
|
|
|
# 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2014-05-04 04:11:58 +02:00
|
|
|
Name: kdelibs4support
|
2018-06-14 00:11:08 +02:00
|
|
|
Version: 5.47.0
|
2014-05-04 04:11:58 +02:00
|
|
|
Release: 0
|
2014-07-11 11:57:38 +02:00
|
|
|
%define kf5_version %{version}
|
2014-11-03 01:04:58 +01:00
|
|
|
BuildRequires: NetworkManager-devel
|
2017-01-09 00:40:01 +01:00
|
|
|
BuildRequires: cmake >= 3.0
|
2017-09-13 14:21:33 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2014-05-04 04:11:58 +02:00
|
|
|
BuildRequires: fdupes
|
2017-09-13 14:21:33 +02:00
|
|
|
BuildRequires: kbookmarks-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kcompletion-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kconfig-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kconfigwidgets-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kcrash-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kdbusaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kded-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kdesignerplugin-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kdoctools-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kemoticons-devel >= %{_kf5_bugfix_version}
|
2014-05-04 04:11:58 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2017-09-13 14:21:33 +02:00
|
|
|
BuildRequires: kglobalaccel-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kguiaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: ki18n-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kiconthemes-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kio-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kitemviews-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: knotifications-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kparts-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kservice-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: ktextwidgets-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kunitconversion-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kwidgetsaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kwindowsystem-devel >= %{_kf5_bugfix_version}
|
|
|
|
BuildRequires: kxmlgui-devel >= %{_kf5_bugfix_version}
|
2015-03-07 22:40:12 +01:00
|
|
|
BuildRequires: perl-URI
|
2017-02-09 10:26:54 +01:00
|
|
|
BuildRequires: cmake(Qt5Concurrent) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Designer) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.6.0
|
2014-05-04 04:11:58 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(sm)
|
2014-06-01 20:56:55 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2014-10-04 21:31:46 +02:00
|
|
|
Recommends: %{name}-lang = %{version}
|
2014-05-04 04:11:58 +02:00
|
|
|
Provides: kde4support = %{version}
|
|
|
|
Obsoletes: kde4support < %{version}
|
|
|
|
Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
2018-03-14 14:00:28 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2014-05-04 04:11:58 +02:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2017-04-27 22:24:44 +02:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{name}-%{version}.tar.xz
|
2014-06-03 22:44:06 +02:00
|
|
|
Source1: baselibs.conf
|
2014-05-04 04:11:58 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package includes CMake macros and C++
|
|
|
|
classes whose functionality has been replaced by code in CMake, Qt and
|
|
|
|
other frameworks.
|
|
|
|
|
|
|
|
Code should aim to port away from this framework eventually. The API
|
|
|
|
documentation of the classes in this framework and the notes at
|
|
|
|
<http://community.kde.org/Frameworks/Porting_Notes> should help with
|
|
|
|
this.
|
|
|
|
|
|
|
|
Note that some of the classes in this framework, especially
|
|
|
|
KStandardDirs, may not work correctly unless any libraries and other
|
|
|
|
software using the KDE4 Support framework are installed to the same
|
|
|
|
location as KDELibs4Support, although it may be sufficient to set the
|
|
|
|
KDEDIRS environment variable correctly.
|
|
|
|
|
|
|
|
%package -n kssl
|
|
|
|
Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
2018-03-14 14:00:28 +01:00
|
|
|
License: GPL-2.0-or-later
|
2014-05-04 04:11:58 +02:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description -n kssl
|
|
|
|
This package includes CMake macros and C++
|
|
|
|
classes whose functionality has been replaced by code in CMake, Qt and
|
|
|
|
other frameworks.
|
|
|
|
|
|
|
|
Code should aim to port away from this framework eventually. The API
|
|
|
|
documentation of the classes in this framework and the notes at
|
|
|
|
<http://community.kde.org/Frameworks/Porting_Notes> should help with
|
|
|
|
this.
|
|
|
|
|
|
|
|
Note that some of the classes in this framework, especially
|
|
|
|
KStandardDirs, may not work correctly unless any libraries and other
|
|
|
|
software using the KDE4 Support framework are installed to the same
|
|
|
|
location as KDELibs4Support, although it may be sufficient to set the
|
|
|
|
KDEDIRS environment variable correctly.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
2018-03-14 14:00:28 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2014-05-04 04:11:58 +02:00
|
|
|
Group: System/GUI/KDE
|
2017-09-13 14:21:33 +02:00
|
|
|
Requires: kded >= %{_kf5_bugfix_version}
|
2014-05-04 04:11:58 +02:00
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
This package includes CMake macros and C++
|
|
|
|
classes whose functionality has been replaced by code in CMake, Qt and
|
|
|
|
other frameworks.
|
|
|
|
|
|
|
|
Code should aim to port away from this framework eventually. The API
|
|
|
|
documentation of the classes in this framework and the notes at
|
|
|
|
<http://community.kde.org/Frameworks/Porting_Notes> should help with
|
|
|
|
this.
|
|
|
|
|
|
|
|
Note that some of the classes in this framework, especially
|
|
|
|
KStandardDirs, may not work correctly unless any libraries and other
|
|
|
|
software using the KDE4 Support framework are installed to the same
|
|
|
|
location as KDELibs4Support, although it may be sufficient to set the
|
|
|
|
KDEDIRS environment variable correctly.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
2018-03-14 14:00:28 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2014-05-04 04:11:58 +02:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %lname = %{version}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: kde4support-devel = %{version}
|
|
|
|
Obsoletes: kde4support-devel < %{version}
|
|
|
|
Requires: extra-cmake-modules
|
2017-09-13 14:21:33 +02:00
|
|
|
Requires: karchive-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kauth-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kconfigwidgets-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kcoreaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kcrash-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kdbusaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kdesignerplugin-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kdoctools-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kemoticons-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kguiaddons-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kiconthemes-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kinit-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kitemmodels-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: knotifications-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kparts-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: ktextwidgets-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kunitconversion-devel >= %{_kf5_bugfix_version}
|
|
|
|
Requires: kwindowsystem-devel >= %{_kf5_bugfix_version}
|
2017-02-09 10:26:54 +01:00
|
|
|
Requires: cmake(Qt5Core) >= 5.6.0
|
|
|
|
Requires: cmake(Qt5DBus) >= 5.6.0
|
|
|
|
Requires: cmake(Qt5PrintSupport) >= 5.6.0
|
|
|
|
Requires: cmake(Qt5Xml) >= 5.6.0
|
2014-05-04 04:11:58 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package includes CMake macros and C++
|
|
|
|
classes whose functionality has been replaced by code in CMake, Qt and
|
|
|
|
other frameworks.
|
|
|
|
|
|
|
|
Code should aim to port away from this framework eventually. The API
|
|
|
|
documentation of the classes in this framework and the notes at
|
|
|
|
<http://community.kde.org/Frameworks/Porting_Notes> should help with
|
|
|
|
this.
|
|
|
|
|
|
|
|
Note that some of the classes in this framework, especially
|
|
|
|
KStandardDirs, may not work correctly unless any libraries and other
|
|
|
|
software using the KDE4 Support framework are installed to the same
|
|
|
|
location as KDELibs4Support, although it may be sufficient to set the
|
|
|
|
KDEDIRS environment variable correctly. Development files.
|
|
|
|
|
2014-10-04 22:19:50 +02:00
|
|
|
%lang_package
|
2014-05-04 04:11:58 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2015-04-10 18:49:16 +02:00
|
|
|
%fdupes %{buildroot}
|
2014-05-04 04:11:58 +02:00
|
|
|
|
2015-04-10 18:29:23 +02:00
|
|
|
%if %{with lang}
|
2017-05-15 20:19:39 +02:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%kf5_find_htmldocs
|
2015-04-10 18:29:23 +02:00
|
|
|
%endif
|
2014-10-04 21:31:46 +02:00
|
|
|
|
2014-05-04 04:11:58 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
2015-04-10 18:29:23 +02:00
|
|
|
%if %{with lang}
|
2014-10-04 21:31:46 +02:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-10 18:29:23 +02:00
|
|
|
%endif
|
2014-10-04 21:31:46 +02:00
|
|
|
|
2014-05-04 04:11:58 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_bindir}/kdebugdialog5
|
|
|
|
%{_kf5_bindir}/kf5-config
|
|
|
|
%{_kf5_configdir}/colors/
|
|
|
|
%{_kf5_configdir}/kdebug.areas
|
|
|
|
%{_kf5_configdir}/kdebugrc
|
|
|
|
%{_kf5_libexecdir}/filesharelist
|
|
|
|
%{_kf5_libexecdir}/fileshareset
|
2014-07-02 00:46:12 +02:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
# within kssl package
|
|
|
|
%exclude %{_kf5_plugindir}/kcm_ssl.so
|
|
|
|
%exclude %{_kf5_servicesdir}/kcm_ssl.desktop
|
|
|
|
%{_kf5_servicetypesdir}/
|
2014-05-04 04:11:58 +02:00
|
|
|
%{_kf5_datadir}/kdoctools/
|
|
|
|
%{_kf5_datadir}/widgets/
|
2014-10-04 22:26:56 +02:00
|
|
|
%{_kf5_sharedir}/locale/kf5_all_languages
|
2014-05-04 04:11:58 +02:00
|
|
|
%{_kf5_datadir}/locale/
|
2014-11-03 00:40:26 +01:00
|
|
|
%doc %lang(en) %{_kf5_mandir}/*/kf5-config.*
|
2014-11-03 00:56:28 +01:00
|
|
|
%dir %{_kf5_htmldir}/en
|
|
|
|
%dir %{_kf5_htmldir}
|
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/*/
|
2014-05-04 04:11:58 +02:00
|
|
|
|
|
|
|
%files -n kssl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_configdir}/ksslcalist
|
|
|
|
%{_kf5_plugindir}/kcm_ssl.so
|
|
|
|
%{_kf5_servicesdir}/kcm_ssl.desktop
|
|
|
|
%{_kf5_datadir}/kssl/
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_libdir}/libKF5KDELibs4Support.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5KDELibs4Support.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5KDELibs4Support/
|
|
|
|
%{_kf5_libdir}/cmake/KF5KDE4Support/
|
|
|
|
%{_kf5_libdir}/cmake/KDELibs4/
|
|
|
|
%{_kf5_includedir}/kdelibs4support_version.h
|
|
|
|
%{_kf5_includedir}/KDELibs4Support/
|
|
|
|
%dir %{_kf5_includedir}/KDELibs4Support/
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml
|
|
|
|
|
|
|
|
%changelog
|