Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
kdelibs4support
kdelibs4support.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdelibs4support.spec of Package kdelibs4support
# # spec file for package kdelibs4support # # Copyright (c) 2016 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/ # %bcond_without lang %define lname libKF5KDELibs4Support5 %define _tar_path 5.26 Name: kdelibs4support Version: 5.26.0 Release: 0 %define kf5_version %{version} BuildRequires: NetworkManager-devel BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kbookmarks-devel >= %{_tar_path} BuildRequires: kcompletion-devel >= %{_tar_path} BuildRequires: kconfig-devel >= %{_tar_path} BuildRequires: kconfigwidgets-devel >= %{_tar_path} BuildRequires: kcrash-devel >= %{_tar_path} BuildRequires: kdbusaddons-devel >= %{_tar_path} BuildRequires: kded-devel >= %{_tar_path} BuildRequires: kdesignerplugin-devel >= %{_tar_path} BuildRequires: kdoctools-devel >= %{_tar_path} BuildRequires: kf5-filesystem 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: kitemviews-devel >= %{_tar_path} BuildRequires: knotifications-devel >= %{_tar_path} BuildRequires: kparts-devel >= %{_tar_path} BuildRequires: kservice-devel >= %{_tar_path} BuildRequires: ktextwidgets-devel >= %{_tar_path} BuildRequires: kunitconversion-devel >= %{_tar_path} BuildRequires: kwidgetsaddons-devel >= %{_tar_path} BuildRequires: kwindowsystem-devel >= %{_tar_path} BuildRequires: kxmlgui-devel >= %{_tar_path} BuildRequires: perl-URI BuildRequires: cmake(Qt5Concurrent) >= 5.5.0 BuildRequires: cmake(Qt5Core) >= 5.5.0 BuildRequires: cmake(Qt5DBus) >= 5.5.0 BuildRequires: cmake(Qt5Designer) >= 5.5.0 BuildRequires: cmake(Qt5Network) >= 5.5.0 BuildRequires: cmake(Qt5PrintSupport) >= 5.5.0 BuildRequires: cmake(Qt5Svg) >= 5.5.0 BuildRequires: cmake(Qt5Test) >= 5.5.0 BuildRequires: cmake(Qt5Widgets) >= 5.5.0 BuildRequires: cmake(Qt5X11Extras) >= 5.5.0 BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) %if %{with lang} Recommends: %{name}-lang = %{version} %endif Provides: kde4support = %{version} Obsoletes: kde4support < %{version} Summary: Code and utilities to ease the transition to KDE Frameworks 5 License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-UPSTREAM use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch -- We can enable usage of setFallbackSessionManagementEnabled function # with Qt 5.5.1, as we have the qtbase patch backported. For now only apppy patch on 42.1 Leap, as TW doesn't have that patch yet -- #354724, boo#955280 Patch0: use-setFallbackSessionManagementEnabled-API-with-5.5.1.patch 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 License: GPL-2.0+ 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 License: LGPL-2.1+ Group: System/GUI/KDE Requires: kded >= %{_tar_path} %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 License: LGPL-2.1+ Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: %{name} = %{version} Provides: kde4support-devel = %{version} Obsoletes: kde4support-devel < %{version} Requires: extra-cmake-modules Requires: karchive-devel >= %{_tar_path} Requires: kauth-devel >= %{_tar_path} Requires: kconfigwidgets-devel >= %{_tar_path} Requires: kcoreaddons-devel >= %{_tar_path} Requires: kcrash-devel >= %{_tar_path} Requires: kdbusaddons-devel >= %{_tar_path} Requires: kdesignerplugin-devel >= %{_tar_path} Requires: kdoctools-devel >= %{_tar_path} Requires: kemoticons-devel >= %{_tar_path} Requires: kguiaddons-devel >= %{_tar_path} Requires: kiconthemes-devel >= %{_tar_path} Requires: kinit-devel >= %{_tar_path} Requires: kitemmodels-devel >= %{_tar_path} Requires: knotifications-devel >= %{_tar_path} Requires: kparts-devel >= %{_tar_path} Requires: ktextwidgets-devel >= %{_tar_path} Requires: kunitconversion-devel >= %{_tar_path} Requires: kwindowsystem-devel >= %{_tar_path} Requires: cmake(Qt5Core) >= 5.5.0 Requires: cmake(Qt5DBus) >= 5.5.0 Requires: cmake(Qt5PrintSupport) >= 5.5.0 Requires: cmake(Qt5Xml) >= 5.5.0 %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. %lang_package %prep %setup -q %if 0%{?is_opensuse} || 0%{?suse_version} > 1315 %patch0 -p1 %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %fdupes %{buildroot} %if %{with lang} %find_lang %{name} %endif %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}.lang %doc %lang(ca) %{_kf5_mandir}/ca %doc %lang(de) %{_kf5_mandir}/de %doc %lang(it) %{_kf5_mandir}/it %doc %lang(nl) %{_kf5_mandir}/nl %doc %lang(pt_BR) %{_kf5_mandir}/pt_BR %doc %lang(sv) %{_kf5_mandir}/sv %doc %lang(uk) %{_kf5_mandir}/uk %doc %lang(ca) %{_kf5_htmldir}/ca %doc %lang(de) %{_kf5_htmldir}/de %doc %lang(it) %{_kf5_htmldir}/it %doc %lang(nl) %{_kf5_htmldir}/nl %doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR %doc %lang(sr) %{_kf5_htmldir}/sr %doc %lang(sr@latin) %{_kf5_htmldir}/sr@latin %doc %lang(sv) %{_kf5_htmldir}/sv %doc %lang(uk) %{_kf5_htmldir}/uk %endif %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 %{_kf5_plugindir}/ %{_kf5_servicesdir}/ # within kssl package %exclude %{_kf5_plugindir}/kcm_ssl.so %exclude %{_kf5_servicesdir}/kcm_ssl.desktop %{_kf5_servicetypesdir}/ %{_kf5_datadir}/kdoctools/ %{_kf5_datadir}/widgets/ %{_kf5_sharedir}/locale/kf5_all_languages %{_kf5_datadir}/locale/ %doc %lang(en) %{_kf5_mandir}/*/kf5-config.* %dir %{_kf5_htmldir}/en %dir %{_kf5_htmldir} %doc %lang(en) %{_kf5_htmldir}/en/*/ %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
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