Package gnome-games-mahjongg: 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 | %def_enable snapshot %define _unpackaged_files_terminate_build 1 %define _name mahjongg %define xdg_name org.gnome.Mahjongg %define __name gnome-%_name %define ver_major 3.38 %define _libexecdir %_prefix/libexec Name: gnome-games-%_name Version: %ver_major.3 Release: alt2 Summary: Classic Chinese Tile Game Group: Games/Boards License: GPLv3+ Url: https://wiki.gnome.org/Apps/Mahjongg %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%__name/%ver_major/%__name-%version.tar.xz %else Source: %__name-%version.tar %endif Provides: %__name = %version-%release %define glib_ver 2.40.0 %define gtk_ver 3.12.0 BuildRequires(pre): rpm-macros-meson BuildRequires: meson vala-tools BuildRequires: yelp-tools libappstream-glib-devel desktop-file-utils BuildRequires: gsettings-desktop-schemas-devel BuildRequires: libgio-devel >= %glib_ver libgtk+3-devel >= %gtk_ver librsvg-devel %description Gnome Mahjongg, or Mahjongg for short, is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. %prep %setup -n %__name-%version sed -E -i "s/'(desktop|appdata)-file'\,//" data/meson.build %build %meson \ -Dcompile-schemas=disabled \ -Dupdate-icon-cache=disabled %meson_build %install %meson_install %find_lang --with-gnome %__name %files -f gnome-%_name.lang %_bindir/%__name %_desktopdir/%xdg_name.desktop %_datadir/%__name %_iconsdir/hicolor/*/*/%{xdg_name}*.* %_man6dir/%__name.* %config %_datadir/glib-2.0/schemas/%xdg_name.gschema.xml %_datadir/metainfo/%xdg_name.appdata.xml %changelog * Sun Mar 27 2022 Yuri N. Sedunov <aris@altlinux.org> 3.38.3-alt2 - updated to 3.38.3-7-g2d161cc - fixed build with meson >= 0.61 * Sun Nov 01 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.3-alt1 - 3.38.3 * Sat Oct 03 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.2-alt1 - 3.38.2 * Sat Sep 19 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.1-alt1 - 3.38.1 * Sat Apr 25 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.2-alt1 - 3.36.2 * Fri Mar 06 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.1-alt1 - 3.36.1 * Thu Sep 26 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.0-alt1 - 3.34.0 * Mon Mar 11 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt1 - 3.32.0 * Mon Sep 19 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.0-alt1 - 3.22.0 * Mon Mar 21 2016 Yuri N. Sedunov <aris@altlinux.org> 3.20.0-alt1 - 3.20.0 * Mon Sep 21 2015 Yuri N. Sedunov <aris@altlinux.org> 3.18.0-alt1 - 3.18.0 * Wed May 13 2015 Yuri N. Sedunov <aris@altlinux.org> 3.16.1-alt1 - 3.16.1 * Thu Mar 26 2015 Yuri N. Sedunov <aris@altlinux.org> 3.16.0-alt1 - 3.16.0 * Tue Oct 14 2014 Yuri N. Sedunov <aris@altlinux.org> 3.14.1-alt1 - 3.14.1 * Sun Sep 21 2014 Yuri N. Sedunov <aris@altlinux.org> 3.14.0-alt1 - 3.14.0 * Mon May 12 2014 Yuri N. Sedunov <aris@altlinux.org> 3.12.2-alt1 - 3.12.2 * Mon Apr 14 2014 Yuri N. Sedunov <aris@altlinux.org> 3.12.1-alt1 - 3.12.1 * Sun Mar 23 2014 Yuri N. Sedunov <aris@altlinux.org> 3.12.0-alt1 - 3.12.0 * Mon Nov 11 2013 Yuri N. Sedunov <aris@altlinux.org> 3.10.2-alt1 - 3.10.2 * Sat Oct 12 2013 Yuri N. Sedunov <aris@altlinux.org> 3.10.1-alt1 - 3.10.1 * Mon Sep 23 2013 Yuri N. Sedunov <aris@altlinux.org> 3.10.0-alt1 - 3.10.0 * Tue Sep 17 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.1-alt1 - 3.8.1 * Tue Apr 09 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.0-alt2 - no more sgid bit for /usr/bin/gnome-mahjongg * Wed Mar 27 2013 Yuri N. Sedunov <aris@altlinux.org> 3.8.0-alt1 - 3.8.0 * Tue Dec 25 2012 Yuri N. Sedunov <aris@altlinux.org> 3.7.2-alt1 - first build for people/gnome |