Package libhandy1: 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 | %def_disable snapshot %define _name libhandy %define ver_major 1.8 %define api_ver 1 %def_enable introspection %def_enable vala %def_enable gtk_doc %def_enable glade_catalog %def_enable check Name: %_name%api_ver Version: %ver_major.2 Release: alt1 Summary: Library with GTK+3 widgets for mobile devices (API version 1) Group: System/Libraries License: LGPL-2.1-or-later Url: https://gitlab.gnome.org/GNOME/libhandy %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz #Source: %url/-/archive/%version/%name-%version.tar.bz2 %else Vcs: https://gitlab.gnome.org/GNOME/libhandy.git Source: %_name-%version.tar %endif %define gtk_ver 3.24.1 %define glade_ver 3.36 BuildRequires(pre): rpm-macros-meson rpm-build-gir BuildRequires: meson pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= %gtk_ver BuildRequires: pkgconfig(fribidi) %{?_enable_introspection:BuildRequires: pkgconfig(gobject-introspection-1.0) gir(Gtk) = 3.0} %{?_enable_vala:BuildRequires(pre): rpm-build-vala BuildRequires: vala-tools} %{?_enable_gtk_doc:BuildRequires: gi-docgen} %{?_enable_glade_catalog:BuildRequires: pkgconfig(gladeui-2.0) >= %glade_ver} %{?_enable_check:BuildRequires: xvfb-run librsvg fonts-ttf-liberation} %description libhandy provides GTK+3 widgets and GObjects to ease developing applications for mobile devices. %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 handy 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 handy 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 handy library. %prep %setup -n %_name-%version %build %meson \ -Dgtk_doc=true \ -Dexamples=false %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 %files devel %_includedir/%_name-%api_ver/ %_libdir/%_name-%api_ver.so %_pkgconfigdir/%_name-%api_ver.pc %{?_enable_glade_catalog:%_libdir/glade/modules/libglade-handy-%api_ver.so %_datadir/glade/catalogs/%_name-%api_ver.xml} %{?_enable_vala:%_vapidir/%_name-%api_ver.*} %if_enabled introspection %files gir %_typelibdir/Handy-%api_ver.typelib %files gir-devel %_girdir/Handy-%api_ver.gir %endif %if_enabled gtk_doc %files devel-doc %_datadir/doc/%_name-%api_ver/ %endif %changelog * Sun Mar 05 2023 Yuri N. Sedunov <aris@altlinux.org> 1.8.2-alt1 - 1.8.2 * Thu Feb 02 2023 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt1 - 1.8.1 * Mon Sep 26 2022 Yuri N. Sedunov <aris@altlinux.org> 1.8.0-alt1 - 1.8.0 * Sat Jul 09 2022 Yuri N. Sedunov <aris@altlinux.org> 1.6.3-alt1 - 1.6.3 * Sat Apr 23 2022 Yuri N. Sedunov <aris@altlinux.org> 1.6.2-alt1 - 1.6.2 * Sat Mar 19 2022 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1 - 1.6.1 * Fri Mar 11 2022 Yuri N. Sedunov <aris@altlinux.org> 1.5.0-alt1.1 - fixed %%check * Fri Nov 12 2021 Yuri N. Sedunov <aris@altlinux.org> 1.5.0-alt1 - 1.5.0 * Sun Sep 05 2021 Yuri N. Sedunov <aris@altlinux.org> 1.4.0-alt1 - 1.4.0 * Mon Jun 21 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.3-alt1 - 1.2.3 * Tue Apr 27 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.2-alt1 - 1.2.2 * Mon Apr 19 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.1-alt1 - updated to 1.2.1-2-gf2ec0b3 * Fri Mar 12 2021 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 * Thu Dec 24 2020 Yuri N. Sedunov <aris@altlinux.org> 1.0.3-alt1 - 1.0.3 * Thu Nov 12 2020 Yuri N. Sedunov <aris@altlinux.org> 1.0.2-alt1 - 1.0.2 * Mon Nov 02 2020 Yuri N. Sedunov <aris@altlinux.org> 1.0.1-alt1 - updated to 1.0.1-1-ga7cfd93 * Tue Sep 08 2020 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt1 - 1.0.0 * Fri Aug 28 2020 Yuri N. Sedunov <aris@altlinux.org> 0.90.0-alt1 - 0.90.0 * Fri Jun 19 2020 Yuri N. Sedunov <aris@altlinux.org> 0.0.13-alt1.1 - disabled glade catalog incompatible with glade-3.36 * Thu Jan 09 2020 Yuri N. Sedunov <aris@altlinux.org> 0.0.13-alt1 - 0.0.13 * Fri Dec 13 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.12-alt1 - 0.0.12 * Fri Aug 30 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.11-alt1 - 0.0.11 * Wed Jun 19 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.10-alt1 - 0.0.10 * Fri Mar 08 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.9-alt1 - 0.0.9 * Sat Feb 16 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.8-alt1 - 0.0.8 * Thu Feb 07 2019 Yuri N. Sedunov <aris@altlinux.org> 0.0.7-alt1 - first build for sisyphus |