Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Rings:1-MinimalX
libKF5NetworkManagerQt
libKF5NetworkManagerQt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libKF5NetworkManagerQt.spec of Package libKF5NetworkManagerQt
# # spec file for package libKF5NetworkManagerQt # # Copyright (c) 2019 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 https://bugs.opensuse.org/ # %define soversion 6 %define _tar_path 5.55 # 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: libKF5NetworkManagerQt Version: 5.55.0 Release: 0 Summary: A Qt wrapper for NetworkManager DBus API License: LGPL-2.1-only OR LGPL-3.0-only Group: System/GUI/KDE URL: https://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/networkmanager-qt-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE Patch0: 0001-Revert-Require-NetworkManager-1.4.0-and-newer.patch # PATCH-FIX-OPENSUSE Patch1: 0001-Revert-Add-missing-ipv4-setting-options.patch # PATCH-FIX-OPENSUSE Patch2: 0001-Revert-Add-IpTunnel-setting.patch # PATCH-FIX-OPENSUSE Patch3: 0001-Revert-Add-vxlan-setting.patch # PATCH-FIX-OPENSUSE Patch4: 0001-Revert-Add-missing-IPv6-options.patch BuildRequires: cmake BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem BuildRequires: pkgconfig BuildRequires: cmake(Qt5Core) >= 5.6.0 BuildRequires: cmake(Qt5DBus) >= 5.6.0 BuildRequires: cmake(Qt5Network) >= 5.6.0 BuildRequires: pkgconfig(libnm) >= 1.0.0 %description NetworkManagerQt provides access to all NetworkManager features exposed on DBus. It allows you to manage your connections and control your network devices and also provides a library for parsing connection settings which are used in DBus communication. %package devel Summary: A Qt wrapper for NetworkManager DBus API Group: Development/Libraries/KDE Requires: libKF5NetworkManagerQt%{soversion} = %{version} Requires: cmake(Qt5Core) >= 5.6.0 Requires: cmake(Qt5DBus) >= 5.6.0 Requires: cmake(Qt5Network) >= 5.6.0 Requires: pkgconfig(libnm) >= 1.0.0 %description devel NetworkManagerQt provides access to all NetworkManager features exposed on DBus. It allows you to manage your connections and control your network devices and also provides a library for parsing connection settings which are used in DBus communication. Development files. %package -n libKF5NetworkManagerQt%{soversion} Summary: A Qt wrapper for NetworkManager DBus API Group: Development/Libraries/KDE %description -n libKF5NetworkManagerQt%{soversion} NetworkManagerQt provides access to all NetworkManager features exposed on DBus. It allows you to manage your connections and control your network devices and also provides a library for parsing connection settings which are used in DBus communication. %prep %setup -q -n networkmanager-qt-%{version} %if 0%{?suse_version} < 1500 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %endif %if 0%{?suse_version} == 1500 sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %post -n libKF5NetworkManagerQt%{soversion} -p /sbin/ldconfig %postun -n libKF5NetworkManagerQt%{soversion} -p /sbin/ldconfig %files -n libKF5NetworkManagerQt%{soversion} %license COPYING* %{_kf5_libdir}/libKF5NetworkManagerQt.so.* %{_kf5_debugdir}/networkmanager-qt.categories %files devel %license COPYING* %{_kf5_libdir}/libKF5NetworkManagerQt.so %{_kf5_includedir}/ %{_kf5_libdir}/cmake/KF5NetworkManagerQt/ %{_kf5_mkspecsdir}/qt_NetworkManagerQt.pri %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