Пакет gnome-software: 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 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | %def_disable snapshot %define ver_major 40 %define beta %nil %define plugins_ver 16 %define _libexecdir %_prefix/libexec %define xdg_name org.gnome.Software %def_enable gspell %def_enable gudev %def_enable gnome_desktop %def_enable polkit %ifarch armh mipsel %e2k %def_disable fwupd %else %def_enable fwupd %endif %def_enable flatpak %def_disable limba %def_enable packagekit %def_enable webapps %def_enable odrs # dropped since 3.27.90 %def_disable rpm %def_disable rpm_ostree %def_disable external_appstream %def_enable malcontent %ifarch %valgrind_arches %def_enable valgrind %else %def_disable valgrind %endif %ifarch %e2k %def_disable sysprof %else %def_enable sysprof %endif %def_enable tests %def_disable check Name: gnome-software Version: %ver_major.4 Release: alt2%beta Summary: Software manager for GNOME License: GPLv2+ Group: Graphical desktop/GNOME Url: https://wiki.gnome.org/Apps/Software %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version%beta.tar.xz %else Source: %name-%version.tar %endif Patch: %name-3.32.3-alt-unsupported_mime_types.patch %define glib_ver 2.46 %define gtk_ver 3.22.4 %define appstream_ver 0.14 %define json_glib_ver 1.1.1 %define soup_ver 2.52 %define packagekit_ver 1.1.9 %define gsds_ver 3.18 %define fwupd_ver 1.0.3 %define flatpak_ver 0.99.3 %define ostree_ver 2018.4 %define xmlb_ver 0.1.4 %define handy_ver 0.90 %{?_enable_fwupd:Requires: fwupd >= %fwupd_ver} %{?_enable_packagekit:Requires: appstream-data} %{?_enable_malcontent:Requires: malcontent} BuildRequires(pre): meson rpm-build-xdg rpm-macros-valgrind BuildRequires: libgio-devel >= %glib_ver BuildRequires: libgtk+3-devel >= %gtk_ver pkgconfig(libhandy-1) >= %handy_ver BuildRequires: pkgconfig(appstream) >= %appstream_ver BuildRequires: libjson-glib-devel >= %json_glib_ver BuildRequires: libsoup-devel >= %soup_ver BuildRequires: yelp-tools gtk-doc xsltproc docbook-style-xsl desktop-file-utils BuildRequires: libsqlite3-devel libsecret-devel gsettings-desktop-schemas-devel liboauth-devel BuildRequires: libgnome-online-accounts-devel BuildRequires: libxmlb-devel >= %xmlb_ver %{?_enable sysprof:BuildRequires: pkgconfig(sysprof-capture-4)} %{?_enable_gudev:BuildRequires: libgudev-devel} %{?_enable_gspell:BuildRequires: libgspell-devel} %{?_enable_gnome_desktop:BuildRequires: gsettings-desktop-schemas >= %gsds_ver} %{?_enable_polkit:BuildRequires: libpolkit-devel} %{?_enable_fwupd:BuildRequires: fwupd-devel >= %fwupd_ver} %{?_enable_flatpak:BuildRequires: libflatpak-devel >= %flatpak_ver} %{?_enable_packagekit:BuildRequires: libpackagekit-glib-devel >= %packagekit_ver} %{?_enable_valgrind:BuildRequires: valgrind-tool-devel} %{?_enable_rpm_ostree:BuildRequires: libostree-devel >= %ostree_ver} %{?_enable_rpm:BuildRequires: librpm-devel} %{?_enable_malcontent:BuildRequires: pkgconfig(malcontent-0)} %{?_enable_check:BuildRequires: gcab} %description GNOME Software is a software center for GNOME. %package devel Summary: Development files for GNOME Software Group: Development/GNOME and GTK+ Requires: %name = %version-%release %description devel This package contains files necessary to develop plugins for GNOME Software. %package devel-doc Summary: Development documentation for GNOME Software Group: Development/GNOME and GTK+ BuildArch: noarch Conflicts: %name-devel < %version %description devel-doc This package contains documentation necessary to develop plugins for GNOME Software. %prep %setup -n %name-%version%beta %patch %build %meson \ %{?_enable_gspell:-Dgspell=true} \ %{?_enable_gudev:-Dgudev=true} \ %{?_disable_gnome_desktop:-Dgsettings_desktop_schemas=disabled} \ %{?_enable_polkit:-Dpolkit=true} \ %{?_disable_fwupd:-Dfwupd=false} \ %{?_enable_flatpak:-Dflatpak=true} \ %{?_enable_ostree:-Dostree=true} \ %{?_enable_rpm_ostree:-Drpm_ostree=true} \ %{?_disable_packagekit:-Dpackagekit=false} \ %{?_disable_valgrind:-Dvalgrind=false} \ %{?_disable_tests:-Dtests=false} \ %{?_disable_external_appstream:-Dexternal_appstream=false} \ %{?_disable_sysprof:-Dsysprof=disabled} \ %{?_disable_malcontent:-Dmalcontent=false} %meson_build %install %meson_install %find_lang --with-gnome %name %check export LD_LIBRARY_PATH=%buildroot%_libdir %meson_test %files -f %name.lang %_xdgconfigdir/autostart/%name-service.desktop %_bindir/%name %_libexecdir/%name-cmd %_libexecdir/%name-restarter %{?_enable_external_appstream:%_libexecdir/%name-install-appstream} %dir %_libdir/%name %_libdir/%name/libgnomesoftware.so %_libdir/%name/plugins-%plugins_ver/ %_desktopdir/%name-local-file.desktop %_desktopdir/%xdg_name.desktop %_datadir/app-info/xmls/%xdg_name.Featured.xml %_datadir/dbus-1/services/%xdg_name.service %{?_enable_packagekit:%_datadir/dbus-1/services/org.freedesktop.PackageKit.service} %{?_enable_external_appstream:%_datadir/polkit-1/actions/org.gnome.software.external-appstream.policy} %_datadir/%name/ %_datadir/gnome-shell/search-providers/%xdg_name-search-provider.ini %_iconsdir/hicolor/*/*/*.svg %_datadir/glib-2.0/schemas/org.gnome.software.gschema.xml %_datadir/metainfo/%xdg_name.appdata.xml #%_datadir/metainfo/%xdg_name.Plugin.Epiphany.metainfo.xml %{?_enable_flatpak:%_datadir/metainfo/%xdg_name.Plugin.Flatpak.metainfo.xml} %{?_enable_odrs:%_datadir/metainfo/%xdg_name.Plugin.Odrs.metainfo.xml} %{?_enable_fwupd:%_datadir/metainfo/%xdg_name.Plugin.Fwupd.metainfo.xml} %_man1dir/%name.1.* %doc AUTHORS README* NEWS %files devel %_includedir/%name/ %_pkgconfigdir/%name.pc %files devel-doc %_datadir/gtk-doc/html/%name/ %changelog * Mon Oct 09 2023 Kirill Izmestev <felixz@altlinux.org> 40.4-alt2 - updated russian translation * Fri Aug 13 2021 Yuri N. Sedunov <aris@altlinux.org> 40.4-alt1 - 40.4 * Sat Jul 10 2021 Yuri N. Sedunov <aris@altlinux.org> 40.3-alt1 - 40.3 * Fri Jun 04 2021 Yuri N. Sedunov <aris@altlinux.org> 40.2-alt1 - 40.2 * Sat May 01 2021 Yuri N. Sedunov <aris@altlinux.org> 40.1-alt1 - 40.1 * Fri Mar 19 2021 Yuri N. Sedunov <aris@altlinux.org> 40.0-alt1 - 40.0 (ported to upstream instead of libappstream-glib) * Thu Mar 11 2021 Yuri N. Sedunov <aris@altlinux.org> 3.38.2-alt1 - 3.38.2 * Mon Feb 08 2021 Yuri N. Sedunov <aris@altlinux.org> 3.38.1-alt1 - 3.38.1 * Sun Jan 10 2021 Yuri N. Sedunov <aris@altlinux.org> 3.38.0-alt1.1 - e2k: disabled fwupd and sysprof * Fri Sep 11 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.0-alt1 - 3.38.0 * Wed Sep 02 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.1-alt2 - updated to 3.36.1-9-gf044085f - disabled fwupd support on armh only * Fri May 29 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.1-alt1 - 3.36.1 * Wed Mar 11 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.0-alt1 - 3.36.0 - disabled shell extensions plugin * Mon Nov 25 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.2-alt1 - 3.34.2 * Mon Oct 07 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.1-alt1 - 3.34.1 * Mon Sep 09 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.0-alt1 - 3.34.0 * Thu Jul 11 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.4-alt1 - 3.32.4 * Thu Jul 11 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.3-alt2 - local-file.desktop.in: removed unsupported mime types (ALT #37014) * Sat May 25 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.3-alt1 - 3.32.3 * Tue May 07 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.2-alt1 - 3.32.2 * Tue Apr 16 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.1-alt1 - 3.32.1 * Tue Mar 19 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt2 - updated to 3.32.0-19-g6740a695 * Tue Mar 12 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt1 - 3.32.0 * Wed Dec 26 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.6-alt2 - enabled PackageKit support (ALT #35817) * Wed Dec 19 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.6-alt1 - 3.30.6 * Wed Oct 24 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.5-alt1 - 3.30.5 * Thu Oct 18 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.3-alt1 - 3.30.3 * Fri Oct 05 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 * Tue Sep 04 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.0-alt1 - 3.30.0 * Fri Jun 01 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.2-alt2 - enabled fwupd support * Wed May 09 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.2-alt1 - 3.28.2 * Tue Apr 10 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.1-alt1 - 3.28.1 * Tue Mar 13 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.0-alt1 - 3.28.0 * Fri Mar 02 2018 Yuri N. Sedunov <aris@altlinux.org> 3.26.7-alt1 - 3.26.7 * Thu Feb 08 2018 Yuri N. Sedunov <aris@altlinux.org> 3.26.6-alt1 - 3.26.6 * Tue Jan 09 2018 Yuri N. Sedunov <aris@altlinux.org> 3.26.5-alt1 - 3.26.5 * Tue Dec 19 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.4-alt1 - 3.26.4 * Tue Nov 21 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.3-alt1 - 3.26.3 * Thu Nov 09 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.2-alt1 - 3.26.2 * Mon Oct 02 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.1-alt1 - 3.26.1 * Mon Sep 11 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.0-alt1 - 3.26.0 * Sat Sep 09 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.3-alt2 - new -devel, -devel-doc subpackages * Mon May 15 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.3-alt1 - 3.24.3 * Mon May 08 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.2-alt1 - 3.24.2 * Mon Apr 10 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.1-alt0.2 - 3.24.1 * Sun Mar 26 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.0-alt0.2 - 3.24.0 * Sat Mar 18 2017 Yuri N. Sedunov <aris@altlinux.org> 3.22.7-alt0.2 - 3.22.7 - enabled ostree/flatpak support * Wed Mar 08 2017 Yuri N. Sedunov <aris@altlinux.org> 3.22.6-alt0.1 - 3.22.6 * Mon Jan 16 2017 Yuri N. Sedunov <aris@altlinux.org> 3.22.5-alt0.1 - 3.22.5 * Fri Dec 09 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.4-alt0.1 - first preview for Sisyphus |