Package sysprof: 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 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | %def_disable snapshot %define _unpackaged_files_terminate_build 1 %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} %define ver_major 3.48 %define api_ver 4 %define ui_api_ver 5 %define xdg_name org.gnome.Sysprof %define _libexecdir %_prefix/libexec %def_with sysprofd %def_enable gtk %ifnarch %e2k %def_enable libunwind %endif Name: sysprof Version: %ver_major.0 Release: alt1 Summary: Sysprof kernel based performance profiler for Linux Group: Development/Tools License: GPL-3.0 Url: http://sysprof.com %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else Source: %name-%version.tar %endif %define glib_ver 2.73 %define gtk_ver 4.6 %define systemd_ver 222 %define polkit_ver 0.105 BuildRequires(pre): meson BuildRequires: gcc-c++ /usr/bin/appstream-util yelp-tools BuildRequires: glib2-devel >= %glib_ver libjson-glib-devel BuildRequires: gobject-introspection-devel %{?_enable_gtk:BuildRequires: libgtk4-devel >= %gtk_ver pkgconfig(libadwaita-1)} %{?_with_sysprofd:BuildRequires: pkgconfig(systemd) libpolkit-devel >= %polkit_ver} %{?_enable_libunwind:BuildRequires: libunwind-devel} %description The Sysprof profiler is a statistical profiler based on hardware performance counters in modern CPUs. Please see %url for more information. %package devel Summary: Development files for GtkHex Group: Development/C Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use GtkGHex library. %prep %setup %build %meson \ %{?_enable_gtk:-Dgtk=true} \ %{?_with_sysprofd:-Dsysprofd=bundled} \ -Ddebugdir=%prefix/lib/debug %meson_build %install %meson_install %find_lang --with-gnome --output=%name.lang %name %files -f %name.lang %_bindir/%name-cli %_bindir/%name %_bindir/%name-agent %_datadir/applications/%xdg_name.desktop #%_datadir/glib-2.0/schemas/org.gnome.sysprof3.gschema.xml %_iconsdir/hicolor/*/*/* %_libdir/lib%name-%api_ver.so %_libdir/lib%name-ui-%ui_api_ver.so %_libdir/lib%name-memory-%api_ver.so %_libdir/lib%name-speedtrack-%api_ver.so %if_with sysprofd %_libexecdir/sysprofd %_unitdir/sysprof2.service %_unitdir/sysprof3.service %_datadir/dbus-1/system-services/%{xdg_name}2.service %_datadir/dbus-1/system-services/%{xdg_name}3.service %_datadir/dbus-1/system.d/%{xdg_name}2.conf %_datadir/dbus-1/system.d/%{xdg_name}3.conf %_datadir/polkit-1/actions/org.gnome.sysprof3.policy %_datadir/dbus-1/interfaces/%{xdg_name}2.xml %_datadir/dbus-1/interfaces/%{xdg_name}3.Profiler.xml %_datadir/dbus-1/interfaces/%{xdg_name}3.Service.xml %_datadir/dbus-1/interfaces/%{xdg_name}.Agent.xml %endif %_datadir/mime/packages/%name-mime.xml %_datadir/metainfo/org.gnome.Sysprof.appdata.xml %doc AUTHORS NEWS README* %files devel %_libdir/lib%name-capture-%api_ver.a %_includedir/%{name}-%api_ver/ %_includedir/%{name}-ui-%ui_api_ver/ %_pkgconfigdir/%name-%api_ver.pc %_pkgconfigdir/%name-ui-%ui_api_ver.pc %_pkgconfigdir/%name-capture-%api_ver.pc %changelog * Fri Mar 17 2023 Yuri N. Sedunov <aris@altlinux.org> 3.48.0-alt1 - 3.48.0 * Wed Sep 21 2022 Yuri N. Sedunov <aris@altlinux.org> 3.46.0-alt1 - 3.46.0 * Sat Mar 19 2022 Yuri N. Sedunov <aris@altlinux.org> 3.44.0-alt1 - 3.44.0 * Thu Nov 04 2021 Yuri N. Sedunov <aris@altlinux.org> 3.42.1-alt1 - 3.42.1 * Wed Sep 22 2021 Yuri N. Sedunov <aris@altlinux.org> 3.42.0-alt1 - 3.42.0-1-gb113c89 * Tue Sep 14 2021 Yuri N. Sedunov <aris@altlinux.org> 3.40.1-alt2.1 - E2K: disabled libunwind support * Fri Aug 27 2021 Yuri N. Sedunov <aris@altlinux.org> 3.40.1-alt2 - updated to 3.40.1-5-g5f25540 - added -ffat-lto-objects to %%optflags_lto * Tue Mar 23 2021 Yuri N. Sedunov <aris@altlinux.org> 3.40.1-alt1 - 3.40.1 * Sat Oct 24 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.1-alt1 - 3.38.1 * Sat Sep 12 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.0-alt1 - 3.38.0 * Sat Mar 07 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.0-alt1 - 3.36.0-2-g6f167d7 * Mon Oct 07 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.1-alt1 - 3.34.1 * Tue Sep 10 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.0-alt1 - 3.34.0 * Wed Mar 13 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt1 - 3.32.0 * Wed Oct 31 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.2-alt1 - 3.30.2 * Tue Sep 25 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.1-alt1 - 3.30.1 * Wed Sep 05 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.0-alt1 - 3.30.0 * Tue Apr 10 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.1-alt1 - 3.28.1 * Wed Mar 14 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.0-alt1 - 3.28.0 * Wed Oct 04 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.1-alt1 - 3.26.1 * Sat Sep 16 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.0-alt1 - 3.26.0 * Tue Apr 11 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.1-alt1 - 3.24.1 * Mon Mar 20 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.0-alt1 - 3.24.0 * Tue Nov 29 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.3-alt1 - 3.22.3 * Wed Nov 02 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.2-alt1 - 3.22.2 * Wed Oct 12 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.1-alt1 - 3.22.1 (3.22.1-1-g4b95b38) * Tue Sep 20 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.0-alt1 - 3.22.0 * Wed May 18 2016 Yuri N. Sedunov <aris@altlinux.org> 3.20.0-alt1 - first build for sisyphus |