96 lines
2.9 KiB
RPMSpec
96 lines
2.9 KiB
RPMSpec
|
|
%define qt6_version 6.8.0
|
|
|
|
%define rname networkmanager-qt
|
|
# Full KF6 version (e.g. 6.22.0)
|
|
%{!?_kf6_version: %global _kf6_version %{version}}
|
|
|
|
Name: kf6-networkmanager-qt
|
|
Version: 6.22.0
|
|
Release: 0
|
|
Summary: A Qt wrapper for NetworkManager DBus API
|
|
License: LGPL-2.1-only OR LGPL-3.0-only
|
|
URL: https://www.kde.org
|
|
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
|
|
|
|
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
|
|
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
|
BuildRequires: qt6-qttools
|
|
BuildRequires: qt6-doctools
|
|
BuildRequires: qt6-linguist
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
BuildRequires: pkgconfig(libnm) >= 1.4.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 imports
|
|
Summary: QML components for networkmanager-qt
|
|
|
|
%description imports
|
|
This package provides QML bindings for networkmanager-qt.
|
|
|
|
%package -n libKF6NetworkManagerQt6
|
|
Summary: A Qt wrapper for NetworkManager DBus API
|
|
Requires: kf6-networkmanager-qt >= %{version}
|
|
|
|
%description -n libKF6NetworkManagerQt6
|
|
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
|
|
Requires: libKF6NetworkManagerQt6 = %{version}
|
|
Requires: cmake(Qt6Core) >= %{qt6_version}
|
|
Requires: cmake(Qt6DBus) >= %{qt6_version}
|
|
Requires: pkgconfig(gio-2.0)
|
|
Requires: pkgconfig(libnm) >= 1.4.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.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{rname}-%{version}
|
|
|
|
%build
|
|
%cmake_kf6
|
|
|
|
%kf6_build
|
|
|
|
%install
|
|
%kf6_install
|
|
|
|
|
|
|
|
%files
|
|
%{_kf6_debugdir}/networkmanagerqt.categories
|
|
%{_kf6_debugdir}/networkmanagerqt.renamecategories
|
|
|
|
%files imports
|
|
%{_kf6_qmldir}/org/kde/networkmanager/
|
|
|
|
%files -n libKF6NetworkManagerQt6
|
|
%license LICENSES/*
|
|
%doc README.md
|
|
%{_kf6_libdir}/libKF6NetworkManagerQt.so.*
|
|
|
|
%files devel
|
|
%{_kf6_cmakedir}/KF6NetworkManagerQt/
|
|
%{_kf6_includedir}/NetworkManagerQt/
|
|
%{_kf6_libdir}/libKF6NetworkManagerQt.so
|
|
|
|
%changelog
|