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.bz2
9 # Source0-md5: 42dda8016943dc12aff2c03a036e0937
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: xorg-util-util-macros >= 1.3
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 X Shared Memory Fence library - shared memory "SyncFence"
20 synchronization primitive.
22 This library offers a CPU-based synchronization primitive compatible
23 with the X SyncFence objects that can be shared between processes
24 using file descriptor passing.
26 %description -l pl.UTF-8
27 Biblioteka X Shared Memory Fence to implementacja synchronizacji
28 pamięci dzielonej "SyncFence.
30 Biblioteka oferuje synchronizację dla procesora zgodną z obiektami X
31 SyncFence, które można współdzieloć między procesami przy użyciu
32 przekazywania deskryptorów plików.
35 Summary: Header files for libxshmfence library
36 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxshmfence
37 Group: X11/Development/Libraries
38 Requires: %{name} = %{version}-%{release}
43 This package contains the header files needed to develop programs that
46 %description devel -l pl.UTF-8
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libxshmfence.
53 Summary: Static libxshmfence library
54 Summary(pl.UTF-8): Biblioteka statyczna libxshmfence
55 Group: X11/Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
61 This package contains the static libxshmfence library.
63 %description static -l pl.UTF-8
66 Pakiet zawiera statyczną bibliotekę libxshmfence.
69 %setup -q -n libxshmfence-%{version}
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 # obsoleted by pkg-config, no external dependencies
88 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxshmfence.la
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libxshmfence.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libxshmfence.so.1
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libxshmfence.so
105 %{_includedir}/X11/xshmfence.h
106 %{_pkgconfigdir}/xshmfence.pc
109 %defattr(644,root,root,755)
110 %{_libdir}/libxshmfence.a