Package wayland: 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 | %def_disable snapshot %def_enable doc %def_enable check # since mesa-18.0 wayland-egl moved to this wayland package %define main_ver 1.20.0 %define egl_ver 18.1.0 %define mesa_epoch 4 Name: wayland Version: %main_ver Release: alt1 Summary: Wayland protocol libraries Group: System/X11 License: MIT Url: http://%name.freedesktop.org/ %if_disabled snapshot Source: http://%name.freedesktop.org/releases/%name-%version.tar.xz %else Vcs: https://anongit.freedesktop.org/wayland/wayland Source: %name-%version.tar %endif BuildRequires(pre): meson >= 0.52.1 BuildRequires: /proc gcc-c++ doxygen libexpat-devel libffi-devel BuildRequires: libxml2-devel xsltproc docbook-style-xsl %{?_enable_doc:BuildRequires: graphviz >= 2.26 xmlto} %description Wayland is a project to define a protocol for a compositor to talk to its clients as well as a library implementation of the protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X applications, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers. See https://wayland.freedesktop.org/releases.html for release news. %package devel Summary: Common headers for Wayland Group: Development/C %description devel Common headers for Wayland. %package devel-doc Summary: Common headers for Wayland Group: Development/Documentation BuildArch: noarch Conflicts: %name-devel < %version %description devel-doc This package provides development documentation for Wayland. %package -n lib%name-client Summary: Wayland client library Group: System/Libraries %description -n lib%name-client Wayland client shared library. %package -n lib%name-client-devel Summary: Development files for Wayland client library Group: Development/C Requires: lib%name-client = %EVR Requires: %name-devel = %EVR %description -n lib%name-client-devel This package provides development files for Wayland client library. %package -n lib%name-server Summary: Wayland server library Group: System/Libraries %description -n lib%name-server Wayland server shared library. %package -n lib%name-server-devel Summary: Development files for Wayland server library Group: Development/C Requires: lib%name-server = %EVR Requires: %name-devel = %EVR %description -n lib%name-server-devel This package provides development files for Wayland server library. %package -n lib%name-cursor Summary: Wayland cursor helper library Group: System/Libraries Requires: lib%name-client = %EVR %description -n lib%name-cursor Wayland cursor helper shared library. %package -n lib%name-cursor-devel Summary: Wayland cursor helper library Group: Development/C Requires: lib%name-cursor = %EVR Requires: lib%name-client-devel = %EVR %description -n lib%name-cursor-devel This package provides development files for Wayland cursor helper library. %package -n lib%name-egl Version: %egl_ver Epoch: %mesa_epoch Summary: Wayland-EGL library Group: System/Libraries Requires: lib%name-client = %main_ver-%release %description -n lib%name-egl EGL library for Wayland %package -n lib%name-egl-devel Version: %egl_ver Epoch: %mesa_epoch Summary: Wayland-EGL development package Group: Development/C Requires: lib%name-egl = %epoch:%egl_ver-%release Requires: lib%name-client-devel = %main_ver-%release %description -n libwayland-egl-devel Wayland-EGL development package %prep %setup %build %meson \ %{?_disable_doc:-Ddocumentation=false} %nil %meson_build %install %meson_install %check export LD_LIBRARY_PATH=%buildroot%_libdir %meson_test %files devel %_bindir/%name-scanner %_includedir/%name-util.h %_includedir/%name-version.h %_datadir/aclocal/%name-scanner.* %_pkgconfigdir/%name-scanner.pc %dir %_datadir/%name %_datadir/%name/%name-scanner.mk %_datadir/%name/%name.xml %_datadir/%name/wayland.dtd %if_enabled doc %files devel-doc %_man3dir/* %dir %_datadir/doc/%name %_datadir/doc/%name/Wayland/ %endif %files -n lib%name-client %_libdir/lib%name-client.so.* %doc README COPYING %files -n lib%name-client-devel %_includedir/%name-client*.h %_includedir/%name-egl-core.h %_includedir/wayland-egl.h %_libdir/lib%name-client.so %_pkgconfigdir/%name-client.pc %files -n lib%name-server %_libdir/lib%name-server.so.* %files -n lib%name-server-devel %_includedir/%name-server*.h %_libdir/lib%name-server.so %_pkgconfigdir/%name-server.pc %files -n lib%name-cursor %_libdir/lib%name-cursor.so.* %files -n lib%name-cursor-devel %_includedir/%name-cursor.h %_libdir/lib%name-cursor.so %_pkgconfigdir/%name-cursor.pc %files -n lib%name-egl %_libdir/lib%name-egl.so.* %files -n lib%name-egl-devel %_includedir/wayland-egl-backend.h %_libdir/lib%name-egl.so %_pkgconfigdir/%name-egl.pc %_pkgconfigdir/%name-egl-backend.pc %changelog * Fri Dec 10 2021 Yuri N. Sedunov <aris@altlinux.org> 1.20.0-alt1 - 1.20.0 * Thu Jan 28 2021 Yuri N. Sedunov <aris@altlinux.org> 1.19.0-alt1 - 1.19.0 (ported to Meson build system) - new devel-doc subpackage * Wed Feb 12 2020 Yuri N. Sedunov <aris@altlinux.org> 1.18.0-alt1 - 1.18.0 * Fri Mar 29 2019 Yuri N. Sedunov <aris@altlinux.org> 1.17.0-alt1 - 1.17.0 * Thu Aug 30 2018 Yuri N. Sedunov <aris@altlinux.org> 1.16.0-alt1 - 1.16.0 * Tue Apr 10 2018 Yuri N. Sedunov <aris@altlinux.org> 1.15.0-alt1 - 1.15.0 - new libwayland-egl* subpackages * Mon Aug 14 2017 Yuri N. Sedunov <aris@altlinux.org> 1.14.0-alt1 - 1.14.0 * Wed Feb 22 2017 Yuri N. Sedunov <aris@altlinux.org> 1.13.0-alt1 - 1.13.0 * Wed Sep 21 2016 Yuri N. Sedunov <aris@altlinux.org> 1.12.0-alt1 - 1.12.0 * Wed Sep 21 2016 Yuri N. Sedunov <aris@altlinux.org> 1.11.1-alt1 - 1.11.1 * Wed Jun 01 2016 Yuri N. Sedunov <aris@altlinux.org> 1.11.0-alt1 - 1.11.0 * Wed Feb 17 2016 Yuri N. Sedunov <aris@altlinux.org> 1.10.0-alt1 - 1.10.0 * Tue Sep 22 2015 Yuri N. Sedunov <aris@altlinux.org> 1.9.0-alt1 - 1.9.0 * Tue Jul 07 2015 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt1 - 1.8.1 * Thu Jun 04 2015 Yuri N. Sedunov <aris@altlinux.org> 1.8.0-alt1 - 1.8.0 * Sun Feb 15 2015 Yuri N. Sedunov <aris@altlinux.org> 1.7.0-alt1 - 1.7.0 * Fri Sep 19 2014 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt1 - 1.6.0 * Wed May 21 2014 Yuri N. Sedunov <aris@altlinux.org> 1.5.0-alt1 - 1.5.0 * Fri Jan 24 2014 Yuri N. Sedunov <aris@altlinux.org> 1.4.0-alt1 - 1.4.0 * Fri Oct 11 2013 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt1 - 1.3.0 * Sun Aug 25 2013 Yuri N. Sedunov <aris@altlinux.org> 1.2.1-alt1 - 1.2.1 * Sun Jul 14 2013 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 * Wed Apr 10 2013 Yuri N. Sedunov <aris@altlinux.org> 1.0.6-alt1 - 1.0.6 * Wed Mar 06 2013 Yuri N. Sedunov <aris@altlinux.org> 1.0.5-alt1 - 1.0.5 * Thu Jan 10 2013 Yuri N. Sedunov <aris@altlinux.org> 1.0.3-alt1 - 1.0.3 - fixed interpackage dependencies - TODO: build documentation using publican * Tue Oct 23 2012 Valery Inozemtsev <shrek@altlinux.ru> 1.0.0-alt1 - 1.0.0 * Mon Sep 10 2012 Valery Inozemtsev <shrek@altlinux.ru> 0.95.0-alt1 - 0.95.0 * Sun Feb 12 2012 Valery Inozemtsev <shrek@altlinux.ru> 0.85.0-alt1 - first release * Wed Jan 25 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1-alt1 - first build for Sisyphus |