Пакет screengrab: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 #set_verify_elf_method relaxed Name: screengrab Version: 2.6.0 Release: alt1 Summary: ScreenGrab is a tool for geting screenshots License: GPLv2 Group: Graphics Url: https://github.com/lxqt/screengrab Source: %name-%version.tar Patch0: screengrab-link.patch BuildRequires(pre): rpm-macros-cmake BuildRequires: /proc BuildRequires: cmake BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: kf5-kwindowsystem-devel BuildRequires: libqtxdg-devel # To generate screengrab.desktop BuildRequires: perl-YAML-LibYAML-API %description ScreenGrab -- program getting screenshots working in Linux and Windows. The program uses Qt5 and is independent from any desktop environment. Main features: * grab screenshot of desktop * working on Window and Linux operating systems * save screenshots in PNG and JPEG format * grab screenshot with delay (1 - 90 sec) * hide its window * minimize to system tray and work from at (tray menu) %prep %setup %autopatch -p1 find -type f -print0 | xargs -r0 chmod 644 -- # fix docs directories sed -i 's|${CMAKE_INSTALL_FULL_DOCDIR}|${CMAKE_INSTALL_FULL_DOCDIR}-%version|g' CMakeLists.txt %ifarch %e2k %add_optflags -std=c++11 %endif %build %cmake %cmake_build %install %cmake_install %files %_bindir/%name %_desktopdir/%name.desktop %_docdir/%name-%version/ %_datadir/%name/ %_iconsdir/hicolor/scalable/apps/screengrab.svg %_datadir/metainfo/screengrab.metainfo.xml %changelog * Sun Apr 16 2023 Anton Midyukov <antohami@altlinux.org> 2.6.0-alt1 - New version 2.6.0. * Sat Nov 05 2022 Anton Midyukov <antohami@altlinux.org> 2.5.0-alt1 - new version 2.5.0 * Mon Apr 18 2022 Anton Midyukov <antohami@altlinux.org> 2.4.0-alt1 - new version 2.4.0 * Sat Nov 06 2021 Anton Midyukov <antohami@altlinux.org> 2.3.0-alt1 - new version 2.3.0 * Thu Nov 05 2020 Anton Midyukov <antohami@altlinux.org> 2.1.0-alt1 - new version 2.1.0 * Sat Apr 25 2020 Anton Midyukov <antohami@altlinux.org> 2.0.1-alt1 - new version 2.0.1 * Mon Mar 23 2020 Anton Midyukov <antohami@altlinux.org> 2.0.0-alt1 - new version 2.0.0 * Thu Jun 06 2019 Michael Shigorin <mike@altlinux.org> 1.101-alt1.1 - E2K: explicit -std=c++11 - minor spec cleanup/fixup * Fri Mar 08 2019 Anton Midyukov <antohami@altlinux.org> 1.101-alt1 - new version 1.101 * Sun Jan 27 2019 Anton Midyukov <antohami@altlinux.org> 1.100-alt1 - new version 1.100 * Thu Jul 26 2018 Anton Midyukov <antohami@altlinux.org> 1.99-alt2 - Fix update conflict - Update buildrequires - Fix library location * Sun Jul 22 2018 Motsyo Gennadi <drool@altlinux.ru> 1.99-alt1 - 1.99 (#altbug 35169) * Sun Jan 12 2014 Motsyo Gennadi <drool@altlinux.ru> 1.0-alt1 - 1.0 * Thu Jun 14 2012 Motsyo Gennadi <drool@altlinux.ru> 0.9.92-alt1.20120505 - git snapshot 20120505 * Tue Jul 05 2011 Motsyo Gennadi <drool@altlinux.ru> 0.9.81-alt1 - 0.9.81 * Sun Jan 23 2011 Motsyo Gennadi <drool@altlinux.ru> 0.9.1-alt1 - 0.9.1 * Mon Nov 15 2010 Motsyo Gennadi <drool@altlinux.ru> 0.9-alt1 - 0.9 * Fri May 14 2010 Motsyo Gennadi <drool@altlinux.ru> 0.8.1-alt1 - 0.8.1 * Sat Mar 27 2010 Motsyo Gennadi <drool@altlinux.ru> 0.8-alt1 - 0.8 * Thu Mar 25 2010 Motsyo Gennadi <drool@altlinux.ru> 0.6.2-alt1 - initial build for ALT Linux |