82 lines
2.5 KiB
RPMSpec
82 lines
2.5 KiB
RPMSpec
Name: kylin-nm
|
|
Version: 3.0.2
|
|
Release: 6
|
|
Summary: Gui Applet tool for display and edit network simply
|
|
License: GPL-3+
|
|
URL: https://github.com/ukui/kylin-nm/
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Patch0: fix-desktop-notification-window-show-error.patch
|
|
Patch1: 0001-fix-bug-closing-settings-window-causes-the-main-proc.patch
|
|
Patch2: Fix-bug-closing-the-settings-window-causes-the-main-process-to-exit-2.patch
|
|
Patch3: kylin-nm-right-click-menu-in-Chinese-editing-network-settings.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
|
|
Requires: NetworkManager
|
|
Requires: network-manager-applet
|
|
%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
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -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
|
|
|
|
%changelog
|
|
* 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
|