diff --git a/youker-assistant-3.0.3.tar.gz b/youker-assistant-3.0.3.tar.gz new file mode 100644 index 0000000..c49847d Binary files /dev/null and b/youker-assistant-3.0.3.tar.gz differ diff --git a/youker-assistant.spec b/youker-assistant.spec new file mode 100644 index 0000000..eb0387c --- /dev/null +++ b/youker-assistant.spec @@ -0,0 +1,74 @@ +%define debug_package %{nil} +Name: youker-assistant +Version: 3.0.3 +Release: 1 +Summary: youker-assistant +License: GPL-2+ and GPL-3 +URL: https://github.com/UbuntuKylin/youker-assistant +Source0: %{name}-%{version}.tar.gz + +%if 0 +BuildRequires: python3-devel python3-lxml python3-dbus python3-pyxdg +BuildRequires: qt5-qtcharts-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-qtscript-devel +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-linguist +BuildRequires: gsettings-qt-devel pkgconf +BuildRequires: glib2-devel +BuildRequires: libgtop2-devel +BuildRequires: kf5-kwindowsystem-devel +BuildRequires: qt5-qtx11extras-devel +BuildRequires: libXrandr-devel +BuildRequires: systemd-devel +BuildRequires: ukui-interface + +Requires: python3-dbus python3-psutil python3-lxml python-psutil python3-pillow python3-i2c-tools python3-pyxdg +Requires: util-linux hdparm lm_sensors lshw xorg-x11-utils dmidecode pciutils ukui-interface hwinfo smartmontools net-tools + +%endif + +%description +Integrated tool to aid in routine system maintenance tasks +Kylin Assistant is a tool designed to help Ubuntu and Ubuntu Kylin +desktop users manage and maintain many aspects of their working +environment conveniently in a single application, providing a consistent +user experience. + + +%prep +%setup -q + +%build +%if 0 +export PATH=%{_qt5_bindir}:$PATH +mkdir qmake-build +pushd qmake-build +%{qmake_qt5} .. +%{make_build} +popd + +%install +pushd qmake-build +%{make_install} INSTALL_ROOT=%{buildroot} +popd +%endif +%files +%if 0 +%{_sysconfdir}/dbus-1/system.d/com.kylin.assistant.systemdaemon.conf +%{_bindir}/kylin-assistant +%{_prefix}/lib/python3/dist-packages/kylin-assistant-daemon/systemdaemon/* +%{_libdir}/kylin-assistant/libdrivemanage.so +%{_libdir}/kylin-assistant/libhwmonitor.so +%{_libdir}/kylin-assistant/libhwparam.so +%{_libdir}/kylin-assistant/libmachineinfo.so +%{_datadir}/youker-assistant/translations/*.qm +%{_datadir}/applications/kylin-assistant.desktop +%{_datadir}/dbus-1/system-services/com.kylin.assistant.systemdaemon.service +%{_datadir}/polkit-1/actions/com.kylin.assistant.systemdaemon.policy +%endif + +%changelog +* Mon May 23 2022 peijiankang - 3.0.3-1 +- Init youker-assistant package for openEuler