kf5-networkmanager-qt/kf5-networkmanager-qt.spec

93 lines
2.4 KiB
RPMSpec
Raw Normal View History

2022-02-12 10:34:17 +08:00
%undefine __cmake_in_source_build
2020-08-18 09:05:48 +08:00
%global framework networkmanager-qt
2022-02-12 10:34:17 +08:00
Name: kf5-%{framework}
2024-01-04 10:45:49 +08:00
Version: 5.113.0
Release: 2
2022-02-12 10:34:17 +08:00
Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API
2020-08-18 09:05:48 +08:00
2022-02-12 10:34:17 +08:00
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
2020-08-18 09:05:48 +08:00
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
2020-08-18 09:05:48 +08:00
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: qt5-qtbase-devel
BuildRequires: pkgconfig(libnm)
Requires: NetworkManager >= 0.9.9.0
Requires: kf5-filesystem >= %{majmin}
%description
A Tier 1 KDE Frameworks 5 Qt library for NetworkManager.
%package devel
Summary: Development files for %{name}
2024-01-04 10:45:49 +08:00
Requires: %{name} = %{version}-%{release}
2020-08-18 09:05:48 +08:00
Requires: qt5-qtbase-devel
Requires: pkgconfig(libnm)
%description devel
Qt libraries and header files for developing applications
that use NetworkManager.
%prep
%autosetup -p1 -n %{framework}-%{version}
%build
%cmake_kf5
2020-08-18 09:05:48 +08:00
%cmake_build
2020-08-18 09:05:48 +08:00
%install
%cmake_install
2020-08-18 09:05:48 +08:00
%ldconfig_scriptlets
%files
%doc README.md
2022-02-12 10:34:17 +08:00
%license LICENSES/*.txt
%{_kf5_datadir}/qlogging-categories5/*categories
2024-01-04 10:45:49 +08:00
%{_kf5_datadir}/qlogging-categories5/*.categories
2020-08-18 09:05:48 +08:00
%{_kf5_libdir}/libKF5NetworkManagerQt.so.*
%files devel
%{_kf5_libdir}/libKF5NetworkManagerQt.so
%{_kf5_libdir}/cmake/KF5NetworkManagerQt/
%{_kf5_includedir}/NetworkManagerQt/
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- use %cmake_build and %cmake_install to fix build failure
2024-01-04 10:45:49 +08:00
* Thu Jan 04 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
- Update package to version 5.113.0
* Thu Aug 03 2023 zhangkea <zhangkea@uniontech.cn> - 5.108.0-1
- Update version to 5.108.0
2022-12-12 13:06:58 +08:00
* Mon Dec 12 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.100.0-1
- Update package to version 5.100.0
2022-09-05 17:41:58 +08:00
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
- update to upstream version 5.97.0
* Tue Jul 05 2022 peijiankang <peijiankang@kylinos.cn> - 5.95.0-1
- update to upstream version 5.95.0
2022-09-05 17:41:58 +08:00
* Sat Feb 12 2022 peijiankang <peijiankang@kylinos.cn> - 5.90.0-1
2022-02-12 10:34:17 +08:00
- update to upstream version 5.90.0
2022-09-05 17:41:58 +08:00
* Mon Jan 24 2022 pei-jiankang <peijiankang@kylinos.cn> - 5.88.0-1
2022-02-12 10:34:17 +08:00
- update to upstream version 5.88.0
2020-08-18 09:05:48 +08:00
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
- Initial release for OpenEuler