1 Star 0 Fork 15

blublue/kf5-networkmanager-qt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
kf5-networkmanager-qt.spec 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
blublue 提交于 2021-11-17 10:44 . 添加 pppoe 网络设置
%global framework networkmanager-qt
Name: kf5-%{framework}
Version: 5.55.0
Release: 2
Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API
License: LGPLv2+
URL: https://cgit.kde.org/%{framework}.git
%global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
Patch0: add-pppoe-parent.patch
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}
Requires: %{name}%{?_isa} = %{version}-%{release}
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
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%ldconfig_scriptlets
%files
%doc README.md
%license COPYING.LIB
%{_kf5_sysconfdir}/xdg/%{framework}.*
%{_kf5_libdir}/libKF5NetworkManagerQt.so.*
%files devel
%{_kf5_libdir}/libKF5NetworkManagerQt.so
%{_kf5_libdir}/cmake/KF5NetworkManagerQt/
%{_kf5_includedir}/NetworkManagerQt/
%{_kf5_includedir}/networkmanagerqt_version.h
%{_kf5_archdatadir}/mkspecs/modules/qt_NetworkManagerQt.pri
%changelog
* Wed Nov 17 2021 guoqinglan <guoqinglan@uniontech.com> - 5.55.0-2
- add pppoe parent
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
- Initial release for OpenEuler
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/blublue/kf5-networkmanager-qt.git
git@gitee.com:blublue/kf5-networkmanager-qt.git
blublue
kf5-networkmanager-qt
kf5-networkmanager-qt
master

搜索帮助