Name: kylin-nm Version: 1.2.4 Release: 1 Summary: Gui Applet tool for display and edit network simply License: GPL-3+ URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz 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 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 %build #qmake-qt5 #make %{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 * Thu Jul 9 2020 douyan - 1.2.4-1 - Init package for openEuler