Пакет libadwaita: 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 | %def_disable snapshot %define ver_major 1.5 %define beta %nil %define api_ver 1 %define xdg_name org.gnome.Adwaita%api_ver %def_enable introspection %def_enable vala %def_enable gtk_doc %def_enable examples %def_disable check Name: libadwaita Version: %ver_major.0 Release: alt1%beta Epoch: 1 Summary: Library with GTK4 widgets for mobile devices Group: System/Libraries License: LGPL-2.1-or-later Url: https://gitlab.gnome.org/GNOME/libadwaita %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version%beta.tar.xz #Source: %url/-/archive/%version/%name-%version.tar.bz2 %else Vcs: https://gitlab.gnome.org/GNOME/libadwaita.git Source: %name-%version%beta.tar %endif %define meson_ver 0.59 %define glib_ver 2.76.0 %define gtk_ver 4.13.4 BuildRequires(pre): rpm-macros-meson BuildRequires: meson >= %meson_ver sassc BuildRequires: pkgconfig(gio-2.0) >= %glib_ver BuildRequires: pkgconfig(gtk4) >= %gtk_ver BuildRequires: libfribidi-devel BuildRequires: libappstream-devel %{?_enable_introspection:BuildRequires(pre): rpm-build-gir BuildRequires: pkgconfig(gobject-introspection-1.0) gir(Gtk) = 4.0} %{?_enable_vala:BuildRequires(pre): rpm-build-vala BuildRequires: vala-tools} %{?_enable_gtk_doc:BuildRequires: gi-docgen} %{?_enable_check:BuildRequires: xvfb-run librsvg xdg-desktop-portal} %description libadwaita is a collection of GTK4 widgets for adaptive applications targeting form-factors from mobile to desktop. It also offers innovative widgets following the GNOME design guidelines. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %EVR %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package gir Summary: GObject introspection data for %name Group: System/Libraries Requires: %name = %EVR %description gir GObject introspection data for the %name library. %package gir-devel Summary: GObject introspection devel data for %name Group: Development/Other BuildArch: noarch Requires: %name-gir = %EVR Requires: %name-devel = %EVR %description gir-devel GObject introspection devel data for the %name library. %package devel-doc Summary: Development documentation for %name Group: Development/Documentation BuildArch: noarch Conflicts: %name < %EVR %description devel-doc This package contains development documentation for %name library. %package demo Summary: %name widgets demonstration programs Group: Development/GNOME and GTK+ Requires: %name = %EVR %description demo This package contains a program, along with its source code, that demonstrates %name variety of all its widgets. %prep %setup -n %name-%version%beta %build %meson \ %{?_enable_gtk_doc:-Dgtk_doc=true} \ %{?_disable_examples:-Dexamples=false} %nil %meson_build %install %meson_install %find_lang %name %check xvfb-run -s -noreset %__meson_test %files -f %name.lang %_libdir/%name-%api_ver.so.* %doc README.md NEWS %files devel %_includedir/%name-%api_ver/ %_libdir/%name-%api_ver.so %_pkgconfigdir/%name-%api_ver.pc %{?_enable_vala:%_vapidir/%name-%api_ver.*} %if_enabled introspection %files gir %_typelibdir/Adw-%api_ver.typelib %files gir-devel %_girdir/Adw-%api_ver.gir %endif %if_enabled gtk_doc %files devel-doc %_datadir/doc/%name-%api_ver/ %endif %if_enabled examples %files demo %_bindir/adwaita-%api_ver-demo %_desktopdir/%{xdg_name}.Demo.desktop %_iconsdir/hicolor/*/apps/%{xdg_name}.Demo*.svg %_datadir/metainfo/%{xdg_name}.Demo.metainfo.xml %endif %changelog * Fri Mar 15 2024 Yuri N. Sedunov <aris@altlinux.org> 1:1.5.0-alt1 - 1.5.0 * Sun Mar 03 2024 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.4-alt1 - 1.4.4 * Fri Feb 09 2024 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.3-alt1 - 1.4.3 * Sat Dec 02 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.2-alt1 - 1.4.2 * Fri Dec 01 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.1-alt1 - 1.4.1 * Wed Oct 04 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.0-alt2 - updated to 1.4.0-9-g21ed9bb7 * Fri Sep 15 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.4.0-alt1 - 1.4.0 * Sun Sep 03 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.3.5-alt1 - 1.3.5 * Sat Aug 05 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.3.4-alt1 - 1.3.4 * Fri Jun 09 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.3.3-alt1 - 1.3.3 * Sat Apr 22 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.3.2-alt1 - 1.3.2 * Fri Mar 17 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.3.1-alt1 - 1.3.1 * Sat Mar 04 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.2.3-alt1 - 1.2.3 * Sun Feb 12 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.2.2-alt1 - 1.2.2 * Sat Jan 07 2023 Yuri N. Sedunov <aris@altlinux.org> 1:1.2.1-alt1 - 1.2.1 * Tue Sep 20 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.2.0-alt1 - 1.2.0 * Sat Sep 03 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.5-alt1 - 1.1.5 * Fri Aug 05 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.4-alt1 - 1.1.4 * Sat Jul 09 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.3-alt1 - 1.1.3 * Wed Jun 01 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.2-alt1 - 1.1.2 * Sat Apr 23 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.1-alt1 - 1.1.1 * Fri Mar 18 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.1.0-alt1 - 1.1.0 * Fri Mar 18 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.3-alt1 - 1.0.3 * Fri Mar 04 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.2-alt1 - 1.0.2 * Sun Jan 02 2022 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.1-alt1 - 1.0.1 * Fri Dec 31 2021 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.0-alt1 - 1.0.0 - new -demo subpackage * Tue Nov 02 2021 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.0-alt0.3.alpha.4 - 1.0.0 * Tue Sep 28 2021 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.0-alt0.2.alpha.3 - 1.0.0.alpha3 * Thu Sep 16 2021 Yuri N. Sedunov <aris@altlinux.org> 1:1.0.0-alt0.1alpha.2 - 1.0.0-alpha.2-164-g03f15948 * Tue May 04 2021 Yuri N. Sedunov <aris@altlinux.org> 1.1.0-alt0.1 - first build for sisyphus |