Summary: Shared memory 'SyncFence' synchronization primitive
Name: libxshmfence
Version: 1.3
Release: r0
License: MIT-style
Group: x11/libs
Packager: Poky <poky@lists.yoctoproject.org>
URL: http://www.x.org
BuildRequires: autoconf-native
BuildRequires: automake-native
BuildRequires: gnu-config-native
BuildRequires: libtool-cross
BuildRequires: libtool-native
BuildRequires: pkgconfig-native
BuildRequires: util-macros
BuildRequires: virtual/aarch64-poky-linux-compilerlibs
BuildRequires: virtual/aarch64-poky-linux-gcc
BuildRequires: virtual/libc
BuildRequires: virtual/libx11

%description
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.

%package -n libxshmfence-src
Summary: Shared memory 'SyncFence' synchronization primitive - Source files
License: MIT-style
Group: devel

%description -n libxshmfence-src
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.  This package contains sources for debugging purposes.

%package -n libxshmfence-dbg
Summary: Shared memory 'SyncFence' synchronization primitive - Debugging files
License: MIT-style
Group: devel
Recommends: glibc-dbg

%description -n libxshmfence-dbg
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.  This package contains ELF symbols and related sources
for debugging purposes.

%package -n libxshmfence-staticdev
Summary: Shared memory 'SyncFence' synchronization primitive - Development files (Static Libraries)
License: MIT-style
Group: devel
Requires: libxshmfence-dev = 1.3-r0

%description -n libxshmfence-staticdev
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.  This package contains static libraries for software
development.

%package -n libxshmfence-dev
Summary: Shared memory 'SyncFence' synchronization primitive - Development files
License: MIT-style
Group: devel
Requires: libxshmfence1 = 1.3-r0
Recommends: glibc-dev
Recommends: util-macros-dev

%description -n libxshmfence-dev
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.  This package contains symbolic links, header files,
and related items necessary for software development.

%package -n libxshmfence-doc
Summary: Shared memory 'SyncFence' synchronization primitive - Documentation files
License: MIT-style
Group: doc

%description -n libxshmfence-doc
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.  This package contains documentation.

%package -n libxshmfence-locale
Summary: Shared memory 'SyncFence' synchronization primitive
License: MIT-style
Group: x11/libs

%description -n libxshmfence-locale
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.

%package -n libxshmfence1
Summary: Shared memory 'SyncFence' synchronization primitive
License: MIT-style
Group: x11/libs
Requires: ld-linux-aarch64.so.1()(64bit)
Requires: ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
Requires: libc.so.6()(64bit)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Requires: libc.so.6(GLIBC_2.27)(64bit)
Requires: libc6 >= 2.31+git0+4f0a61f753
Requires: rtld(GNU_HASH)
Requires(post): ld-linux-aarch64.so.1()(64bit)
Requires(post): ld-linux-aarch64.so.1(GLIBC_2.17)(64bit)
Requires(post): libc.so.6()(64bit)
Requires(post): libc.so.6(GLIBC_2.17)(64bit)
Requires(post): libc.so.6(GLIBC_2.27)(64bit)
Requires(post): libc6 >= 2.31+git0+4f0a61f753
Requires(post): rtld(GNU_HASH)
Provides: libxshmfence = 1.3
Provides: libxshmfence.so.1()(64bit)

%description -n libxshmfence1
This library offers a CPU-based synchronization primitive compatible with
the X SyncFence objects that can be shared between processes using file
descriptor passing.

%post -n libxshmfence1
# libxshmfence1 - postinst
#!/bin/sh
set -e
if [ x"$D" = "x" ]; then
	if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi
fi


%files -n libxshmfence-src
%defattr(-,-,-,-)
%dir "/usr"
%dir "/usr/src"
%dir "/usr/src/debug"
%dir "/usr/src/debug/libxshmfence"
%dir "/usr/src/debug/libxshmfence/1.3-r0"
%dir "/usr/src/debug/libxshmfence/1.3-r0/libxshmfence-1.3"
%dir "/usr/src/debug/libxshmfence/1.3-r0/libxshmfence-1.3/src"
"/usr/src/debug/libxshmfence/1.3-r0/libxshmfence-1.3/src/xshmfence_futex.h"
"/usr/src/debug/libxshmfence/1.3-r0/libxshmfence-1.3/src/xshmfence_futex.c"
"/usr/src/debug/libxshmfence/1.3-r0/libxshmfence-1.3/src/xshmfence_alloc.c"

%files -n libxshmfence-dbg
%defattr(-,-,-,-)
%dir "/usr"
%dir "/usr/lib"
%dir "/usr/lib/.debug"
"/usr/lib/.debug/libxshmfence.so.1.0.0"

%files -n libxshmfence-dev
%defattr(-,-,-,-)
%dir "/usr"
%dir "/usr/include"
%dir "/usr/lib"
%dir "/usr/include/X11"
"/usr/include/X11/xshmfence.h"
%dir "/usr/lib/pkgconfig"
"/usr/lib/libxshmfence.so"
"/usr/lib/pkgconfig/xshmfence.pc"

%files -n libxshmfence1
%defattr(-,-,-,-)
%dir "/usr"
%dir "/usr/lib"
"/usr/lib/libxshmfence.so.1"
"/usr/lib/libxshmfence.so.1.0.0"