%define debug_package %{nil} Name: kylin-screenshot Version: 1.0.0 Release: 14 Summary: a powerful screenshot and screen recording tool License: GPL-3.0-or-later and LGPL-3.0-or-later and MIT and Apache-2.0 URL: https://github.com/ubuntukylin Source0: %{name}-%{version}.tar.gz BuildRequires: qt5-qtx11extras-devel BuildRequires: qt5-qtx11extras BuildRequires: qt5-qttools-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtbase-devel BuildRequires: pulseaudio-libs-devel BuildRequires: libXtst-devel BuildRequires: libXinerama-devel BuildRequires: libXinerama BuildRequires: libXfixes-devel BuildRequires: libXfixes BuildRequires: libX11-devel BuildRequires: ffmpeg-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kwindowsystem BuildRequires: gsettings-qt-devel BuildRequires: ukui-interface # Requires: NetworkManager patch0: 0001-fix-screenshot-service.patch patch1: 0001-add-save-dialog.patch patch2: optimize-the-undo-button-function.patch patch3: 0003-change-kylin-screenshot-to-screenshot.patch patch4: 0004-add-log.patch patch5: 0005-fixed-wayland-cannot-screenshot-top-widget.patch patch6: 0006-change-markertool-opacity.patch patch7: 0007-change-text-property-in-time.patch patch8: 0008-change-notify-information-about-application-name.patch patch9: 0009-add-changelog-for-1.0.1.patch patch10: 0010-pin-windget-windowIcon-follow-theme.patch %description Powerful yet simple-to-use screenshot software kylin-screenshot is a powerful screenshot and screen recording tool. It allows you to take screenshots of the captured images in rectangular and circular boxes, set blur, add markers, add text and more. And set mouse display, sound recording, video frame rate, audio bit rate when making screen recording. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %build %{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-screenshot.pro %{make_build} %install rm -rf $RPM_BUILD_ROOT make INSTALL_ROOT=%{buildroot} install %clean rm -rf $RPM_BUILD_ROOT %files %{_bindir}/kylin-screenshot %{_datadir}/applications/kylin-screenshot.desktop %{_datadir}/dbus-1/interfaces/org.dharkael.kylinscreenshot.xml %{_datadir}/dbus-1/services/org.dharkael.kylinscreenshot.service %{_datadir}/glib-2.0/schemas/org.ukui.screenshot.gschema.xml %{_datadir}/icons/hicolor/128x128/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/128x128@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/16x16/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/16x16@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/24x24/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/256x256/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/256x256@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/32x32/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/32x32@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/48x48/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/48x48@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/64x64@2x/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/96x96/apps/kylin-screenshot.png %{_datadir}/icons/hicolor/96x96@2x/apps/kylin-screenshot.png %{_datadir}/kylin-screenshot/translations/Internationalization_ca.qm %{_datadir}/kylin-screenshot/translations/Internationalization_de_DE.qm %{_datadir}/kylin-screenshot/translations/Internationalization_es.qm %{_datadir}/kylin-screenshot/translations/Internationalization_fr.qm %{_datadir}/kylin-screenshot/translations/Internationalization_ja.qm %{_datadir}/kylin-screenshot/translations/Internationalization_ka.qm %{_datadir}/kylin-screenshot/translations/Internationalization_pl.qm %{_datadir}/kylin-screenshot/translations/Internationalization_pt_br.qm %{_datadir}/kylin-screenshot/translations/Internationalization_ru.qm %{_datadir}/kylin-screenshot/translations/Internationalization_sk.qm %{_datadir}/kylin-screenshot/translations/Internationalization_sr.qm %{_datadir}/kylin-screenshot/translations/Internationalization_tr.qm %{_datadir}/kylin-screenshot/translations/Internationalization_uk.qm %{_datadir}/kylin-screenshot/translations/Internationalization_zh_CN.qm %{_datadir}/kylin-screenshot/translations/Internationalization_zh_TW.qm %{_datadir}/metainfo/kylinscreenshot.appdata.xml %changelog * Wed Jul 13 2022 peijiankang - 1.0.0-14 - pin windget windowIcon follow theme * Mon Jul 11 2022 peijiankang - 1.0.0-13 - add changelog for 1.0.1 * Wed Jun 29 2022 peijiankang - 1.0.0-12 - change notify information about application name * Wed Jun 29 2022 peijiankang - 1.0.0-11 - change text property in time * Tue Jun 28 2022 peijiankang - 1.0.0-10 - change markertool opacity * Tue Jun 28 2022 peijiankang - 1.0.0-9 - fixed wayland cannot screenshot top widget * Mon Jun 27 2022 peijiankang - 1.0.0-8 - add log * Fri Jun 24 2022 peijiankang - 1.0.0-7 - change kylin-screenshot to screenshot * Wed May 18 2022 tanyulong - 1.0.0-6 - Improve the project according to the requirements of compliance improvement * Tue Apr 12 2022 tanyulong - 1.0.0-5 - add pulseaduio-libs-devel requires * Wed Dec 8 2021 douyan - 1.0.0-4 - optimize the undo buttion function * Tue Dec 7 2021 douyan - 1.0.0-3 - add save dialog * Thu Jan 14 2021 lvhan - 1.0.0-2 - fix-screenshot-service * Tue Dec 15 2020 lvhan - 1.0.0-1 - update to upstream version 1.0.0-1