1 Summary: X Shared Memory Fence library
2 Summary(pl.UTF-8): Biblioteka X Shared Memory Fence
3 Name: xorg-lib-libxshmfence
8 Source0: https://xorg.freedesktop.org/releases/individual/lib/libxshmfence-%{version}.tar.xz
9 # Source0-md5: c0344a119520bdee3c0cd319d87b5201
10 URL: https://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: pkgconfig >= 1:0.19
15 BuildRequires: tar >= 1:1.22
16 BuildRequires: xorg-util-util-macros >= 1.3
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 X Shared Memory Fence library - shared memory "SyncFence"
22 synchronization primitive.
24 This library offers a CPU-based synchronization primitive compatible
25 with the X SyncFence objects that can be shared between processes
26 using file descriptor passing.
28 %description -l pl.UTF-8
29 Biblioteka X Shared Memory Fence to implementacja synchronizacji
30 pamięci dzielonej "SyncFence.
32 Biblioteka oferuje synchronizację dla procesora zgodną z obiektami X
33 SyncFence, które można współdzieloć między procesami przy użyciu
34 przekazywania deskryptorów plików.
37 Summary: Header files for libxshmfence library
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxshmfence
39 Group: X11/Development/Libraries
40 Requires: %{name} = %{version}-%{release}
45 This package contains the header files needed to develop programs that
48 %description devel -l pl.UTF-8
51 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
52 używających biblioteki libxshmfence.
55 Summary: Static libxshmfence library
56 Summary(pl.UTF-8): Biblioteka statyczna libxshmfence
57 Group: X11/Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
63 This package contains the static libxshmfence library.
65 %description static -l pl.UTF-8
68 Pakiet zawiera statyczną bibliotekę libxshmfence.
71 %setup -q -n libxshmfence-%{version}
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
89 # obsoleted by pkg-config, no external dependencies
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxshmfence.la
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc COPYING ChangeLog README.md
101 %attr(755,root,root) %{_libdir}/libxshmfence.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libxshmfence.so.1
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libxshmfence.so
107 %{_includedir}/X11/xshmfence.h
108 %{_pkgconfigdir}/xshmfence.pc
111 %defattr(644,root,root,755)
112 %{_libdir}/libxshmfence.a