Package libgdata: 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 | %def_disable snapshot %define _libexecdir %_prefix/libexec %define _name gdata %define ver_major 0.18 %define api_ver 0.0 %def_enable gnome %def_enable goa %def_enable introspection %def_enable vala %def_enable gtk_doc %def_enable installed_tests %def_disable check Name: lib%_name Version: %ver_major.1 Release: alt1 Summary: Library for the GData protocol Group: System/Libraries License: LGPLv2+ Url: https://wiki.gnome.org/Projects/libgdata %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.44 %define soup_ver 2.42 %define goa_ver 3.8 %define uhttpmock_ver 0.5.0 BuildRequires(pre): meson BuildRequires: gtk-doc BuildRequires: glib2-devel >= %glib_ver libgdk-pixbuf-devel libgtk+3-devel liboauth-devel BuildRequires: libjson-glib-devel libuhttpmock-devel >= %uhttpmock_ver %{?_enable_introspection:BuildRequires: gobject-introspection-devel libjson-glib-gir-devel libuhttpmock-gir-devel} %{?_enable_vala:BuildRequires: vala-tools} %{?_enable_gnome:BuildRequires: gcr-libs-devel libxml2-devel libsoup-gnome-devel >= %soup_ver libsoup-gnome-gir-devel} %{?_enable_goa:BuildRequires: libgnome-online-accounts-devel >= %goa_ver libgnome-online-accounts-gir-devel} %description libgdata is a GLib-based library for accessing online service APIs using the GData protocol --- most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support. %package gir Summary: GObject introspection data for the GData library Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the GData library. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package devel-doc Summary: Development documentation for the %name Group: Development/Documentation Conflicts: %name < %version-%release BuildArch: noarch %description devel-doc libgdata is a GLib-based library for accessing online service APIs using the GData protocol --- most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support. This package contains development documentation for the %name. %package gir-devel Summary: GObject introspection devel data for the GData library Group: System/Libraries BuildArch: noarch Requires: %name-gir = %version-%release %name-devel = %version-%release %description gir-devel GObject introspection devel data for the GData library. %package tests Summary: Tests for %name Group: Development/Other %description tests This package provides tests programs that can be used to verify the functionality of the installed %name. %prep %setup %build %meson \ %{?_disable_gnome:-Dgnome=false} \ %{?_disable_goa-Dgoa=false} \ %{?_enable_gtk_doc:-Dgtk_doc=true} \ %{?_disable_vala:-Dvapi=false} \ %{?_enable_installed_tests:-Dinstalled_tests=true} %meson_build %install %meson_install %find_lang %_name %check export LD_LIBRARY_PATH=%buildroot%_libdir %meson_test %files -f %_name.lang %_libdir/*.so.* %doc NEWS README AUTHORS %files devel %_includedir/* %_libdir/*.so %_pkgconfigdir/%name.pc %{?_enable_vala:%_vapidir/%name.*} %if_enabled introspection %files gir %_typelibdir/GData-%api_ver.typelib %files gir-devel %_girdir/GData-%api_ver.gir %endif %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/%_name/ %endif %if_enabled installed_tests %files tests %_libexecdir/installed-tests/%name/ %_datadir/installed-tests/%name/ %endif %changelog * Fri Mar 05 2021 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1 - 0.18.1 * Fri Feb 12 2021 Yuri N. Sedunov <aris@altlinux.org> 0.18.0-alt1 - 0.18.0 * Thu Sep 03 2020 Yuri N. Sedunov <aris@altlinux.org> 0.17.13-alt1 - 0.17.13 * Tue Mar 03 2020 Yuri N. Sedunov <aris@altlinux.org> 0.17.12-alt1 - 0.17.12 * Wed Aug 21 2019 Yuri N. Sedunov <aris@altlinux.org> 0.17.11-alt1 - 0.17.11 - new -tests subpackage * Sat Feb 09 2019 Yuri N. Sedunov <aris@altlinux.org> 0.17.9-alt2 - fixed build with new autoconf-archive-2019.01.06 * Wed Aug 23 2017 Yuri N. Sedunov <aris@altlinux.org> 0.17.9-alt1 - 0.17.9 * Thu Apr 20 2017 Yuri N. Sedunov <aris@altlinux.org> 0.17.8-alt1 - 0.17.8 * Mon Mar 06 2017 Yuri N. Sedunov <aris@altlinux.org> 0.17.7-alt1 - 0.17.7 * Tue Sep 20 2016 Yuri N. Sedunov <aris@altlinux.org> 0.17.6-alt1 - 0.17.6 * Fri Sep 02 2016 Yuri N. Sedunov <aris@altlinux.org> 0.17.6-alt0.1 - updated to LIBGDATA_0_17_5-11-g2590c92 * Thu Jun 30 2016 Yuri N. Sedunov <aris@altlinux.org> 0.17.5-alt1 - 0.17.5 * Wed Dec 16 2015 Yuri N. Sedunov <aris@altlinux.org> 0.17.4-alt1 - 0.17.4 * Mon Sep 14 2015 Yuri N. Sedunov <aris@altlinux.org> 0.17.3-alt1 - 0.17.3_c192f1f3 * Fri Jul 10 2015 Yuri N. Sedunov <aris@altlinux.org> 0.17.2-alt1 - 0.17.2 * Mon Nov 10 2014 Yuri N. Sedunov <aris@altlinux.org> 0.16.1-alt1 - 0.16.1 * Thu Sep 18 2014 Yuri N. Sedunov <aris@altlinux.org> 0.16.0-alt1 - 0.16.0 * Fri Aug 22 2014 Yuri N. Sedunov <aris@altlinux.org> 0.15.2-alt1 - 0.15.2 * Wed May 28 2014 Yuri N. Sedunov <aris@altlinux.org> 0.14.3-alt1 - 0.14.3 * Thu Dec 19 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.1-alt1 - 0.14.1 * Thu Aug 29 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14.0-alt1 - 0.14.0 * Tue Feb 26 2013 Yuri N. Sedunov <aris@altlinux.org> 0.13.3-alt1 - 0.13.3 * Sun Sep 30 2012 Yuri N. Sedunov <aris@altlinux.org> 0.13.2-alt1 - 0.13.2 * Mon Jul 30 2012 Yuri N. Sedunov <aris@altlinux.org> 0.13.1-alt1 - 0.13.1 * Sat Apr 14 2012 Yuri N. Sedunov <aris@altlinux.org> 0.13.0-alt1 - 0.13.0 * Mon Apr 02 2012 Yuri N. Sedunov <aris@altlinux.org> 0.12.0-alt1 - 0.12.0 * Mon Mar 12 2012 Yuri N. Sedunov <aris@altlinux.org> 0.11.1-alt1 - 0.11.1 * Mon Mar 12 2012 Yuri N. Sedunov <aris@altlinux.org> 0.10.2-alt1 - 0.10.2 * Thu Sep 15 2011 Yuri N. Sedunov <aris@altlinux.org> 0.10.1-alt1 - 0.10.1 * Sun May 29 2011 Alexey Shabalin <shaba@altlinux.ru> 0.8.1-alt1 - 0.8.1 * Tue Dec 14 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.6-alt1 - 0.6.6 * Fri Oct 22 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.5-alt2 - updated build dependencies * Thu Oct 07 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.5-alt1 - 0.6.5 * Thu Apr 01 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.4-alt2 - rebuild * Tue Mar 30 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.4-alt1 - 0.6.4 * Tue Mar 23 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.3-alt1 - 0.6.3 * Tue Mar 09 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.2-alt2 - rebuild * Sun Feb 21 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.2-alt1 - 0.6.2 * Tue Feb 16 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.1-alt1 - 0.6.1 * Mon Feb 15 2010 Valery Inozemtsev <shrek@altlinux.ru> 0.6.0-alt1 - 0.6.0 * Mon Nov 23 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.5.1-alt1 - 0.5.1 * Thu Sep 24 2009 Valery Inozemtsev <shrek@altlinux.ru> 0.5.0-alt1 - initial release |