111 lines
3.5 KiB
RPMSpec
111 lines
3.5 KiB
RPMSpec
Name: kylin-nm
|
|
Version: 3.1.1
|
|
Release: 4
|
|
Summary: Gui Applet tool for display and edit network simply
|
|
License: GPL-3+
|
|
URL: http://www.ukui.org
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Patch01: 0001-fix-coredump-of-kylin-nm.patch
|
|
Patch02: 0002-fix-coredump-of-kylin-nm.patch
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qtchooser
|
|
BuildRequires: qt5-qtscript-devel
|
|
BuildRequires: qt5-qttools-devel
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
BuildRequires: gsettings-qt-devel
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: qt5-qtsvg-devel
|
|
BuildRequires: ethtool ukui-control-center glib2-devel libnma-devel libsecret-devel libcap-devel kf5-networkmanager-qt-devel libukcc-devel
|
|
Requires: NetworkManager
|
|
Requires: network-manager-applet
|
|
Requires: libukcc-devel
|
|
%description
|
|
Kylin NM is a Applet tool for managing network settings simply.
|
|
It has beautiful UI and very comfortable to use.
|
|
It's better work together with UKUI.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch01 -p1
|
|
%patch02 -p1
|
|
|
|
%build
|
|
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-nm.pro
|
|
%{make_build}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make INSTALL_ROOT=%{buildroot} install
|
|
|
|
mkdir -p %{buildroot}/usr/share/doc/kylin-nm/
|
|
mkdir -p %{buildroot}/usr/share/man/man1/
|
|
cp debian/copyright %{buildroot}/usr/share/doc/kylin-nm/
|
|
gzip -c debian/changelog > %{buildroot}/usr/share/doc/kylin-nm/changelog.gz
|
|
gzip -c man/kylin-nm.1 > %{buildroot}/usr/share/man/man1/kylin-nm.1.gz
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%{_sysconfdir}/xdg/autostart/kylin-nm.desktop
|
|
%{_bindir}/kylin-nm
|
|
%{_datadir}/doc/kylin-nm/changelog.gz
|
|
%{_datadir}/doc/kylin-nm/copyright
|
|
%{_mandir}/man1/kylin-nm.1.gz
|
|
%{_libdir}/ukui-control-center/*.so
|
|
%{_datadir}/glib-2.0/schemas/org.ukui.kylin-nm.switch.gschema.xml
|
|
%{_datadir}/kylin-nm/mobilehotspot/*
|
|
%{_datadir}/kylin-nm/netconnect/*
|
|
%{_datadir}/kylin-nm/wlanconnect/*
|
|
|
|
%changelog
|
|
* Mon Jul 17 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-4
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: add 0002-fix-coredump-of-kylin-nm.patch
|
|
|
|
* Fri Jun 09 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-3
|
|
- add 0001-fix-coredump-of-kylin-nm.patch
|
|
|
|
* Wed Mar 01 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.1-2
|
|
- add libukcc-devel Requires
|
|
|
|
* Mon Oct 24 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.1-1
|
|
- update upstream version 3.1.1
|
|
|
|
* Tue Jan 25 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.3-1
|
|
- update 3.0.3
|
|
|
|
* Wed Jun 29 2022 huayadong <huayadong@kylinos.cn> - 3.0.2-9
|
|
- Adjust font size
|
|
|
|
* Wed Jun 29 2022 huayadong <huayadong@kylinos.cn> - 3.0.2-8
|
|
- Change the distance between mainwindow and taskbar
|
|
|
|
* Tue Mar 29 2022 huayadong <huayadong@kylinos.cn> - 3.0.2-7
|
|
- Change window opacity in function paintEvent
|
|
|
|
* Fri Dec 10 2021 huayadong <huayadong@kylinos.cn> - 3.0.2-6
|
|
- add patch:kylin-nm-right-click-menu-in-Chinese-editing-network-settings.patch
|
|
|
|
* Tue Dec 07 2021 huayadong <huayadong@kylinos.cn> - 3.0.2-5
|
|
- add patch:Fix-bug-closing-the-settings-window-causes-the-main-process-to-exit-1104.patch
|
|
|
|
* Thu Oct 28 2021 douyan <douyan@kylinos.cn> - 3.0.2-4
|
|
- fix bug closing settings window causes the main process to exit
|
|
|
|
* Tue Oct 26 2021 douyan <douyan@kylinos.cn> - 3.0.2-3
|
|
- add Patch:fix-desktop-notification-window-show-error.patch
|
|
|
|
* Mon Oct 25 2021 douyan <douyan@kylinos.cn> - 3.0.2-2
|
|
- update URL
|
|
|
|
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.2-1
|
|
- update to upstream version 3.0.1-1+1026
|
|
|
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.4-1
|
|
- Init package for openEuler
|