]>
Commit | Line | Data |
---|---|---|
e0a25d80 JB |
1 | Summary: X Shared Memory Fence library |
2 | Summary(pl.UTF-8): Biblioteka X Shared Memory Fence | |
3 | Name: xorg-lib-libxshmfence | |
eeacf09b | 4 | Version: 1.3.2 |
7ad6ef1c | 5 | Release: 1 |
e0a25d80 JB |
6 | License: MIT |
7 | Group: X11/Libraries | |
22359d8a | 8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libxshmfence-%{version}.tar.xz |
eeacf09b | 9 | # Source0-md5: faa74f7483074ce7d4349e6bdc237497 |
7ad6ef1c | 10 | URL: https://xorg.freedesktop.org/ |
efb880c5 | 11 | BuildRequires: autoconf >= 2.60 |
e0a25d80 JB |
12 | BuildRequires: automake |
13 | BuildRequires: libtool | |
14 | BuildRequires: pkgconfig >= 1:0.19 | |
22359d8a | 15 | BuildRequires: tar >= 1:1.22 |
efb880c5 | 16 | BuildRequires: xorg-util-util-macros >= 1.3 |
22359d8a | 17 | BuildRequires: xz |
e0a25d80 JB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
efb880c5 JB |
21 | X Shared Memory Fence library - shared memory "SyncFence" |
22 | synchronization primitive. | |
23 | ||
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. | |
e0a25d80 JB |
27 | |
28 | %description -l pl.UTF-8 | |
efb880c5 JB |
29 | Biblioteka X Shared Memory Fence to implementacja synchronizacji |
30 | pamięci dzielonej "SyncFence. | |
31 | ||
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. | |
e0a25d80 JB |
35 | |
36 | %package devel | |
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} | |
41 | ||
42 | %description devel | |
43 | xshmfence library. | |
44 | ||
45 | This package contains the header files needed to develop programs that | |
46 | use libxshmfence. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Biblioteka xshmfence. | |
50 | ||
51 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów | |
52 | używających biblioteki libxshmfence. | |
53 | ||
54 | %package static | |
55 | Summary: Static libxshmfence library | |
56 | Summary(pl.UTF-8): Biblioteka statyczna libxshmfence | |
57 | Group: X11/Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | xshmfence library. | |
62 | ||
63 | This package contains the static libxshmfence library. | |
64 | ||
65 | %description static -l pl.UTF-8 | |
66 | Biblioteka xshmfence. | |
67 | ||
68 | Pakiet zawiera statyczną bibliotekę libxshmfence. | |
69 | ||
70 | %prep | |
71 | %setup -q -n libxshmfence-%{version} | |
72 | ||
73 | %build | |
74 | %{__libtoolize} | |
75 | %{__aclocal} | |
76 | %{__autoconf} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
79 | %configure | |
80 | ||
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | # obsoleted by pkg-config, no external dependencies | |
90 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxshmfence.la | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
22359d8a | 100 | %doc COPYING ChangeLog README.md |
e0a25d80 JB |
101 | %attr(755,root,root) %{_libdir}/libxshmfence.so.*.*.* |
102 | %attr(755,root,root) %ghost %{_libdir}/libxshmfence.so.1 | |
103 | ||
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/libxshmfence.so | |
107 | %{_includedir}/X11/xshmfence.h | |
108 | %{_pkgconfigdir}/xshmfence.pc | |
109 | ||
110 | %files static | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/libxshmfence.a |