]> git.pld-linux.org Git - SPECS.git/blob - xorg-lib-libxshmfence.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / xorg-lib-libxshmfence.spec
1 Summary:        X Shared Memory Fence library
2 Summary(pl.UTF-8):      Biblioteka X Shared Memory Fence
3 Name:           xorg-lib-libxshmfence
4 Version:        1.3
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
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)
17
18 %description
19 X Shared Memory Fence library - shared memory "SyncFence"
20 synchronization primitive.
21
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.
25
26 %description -l pl.UTF-8
27 Biblioteka X Shared Memory Fence to implementacja synchronizacji
28 pamięci dzielonej "SyncFence.
29
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.
33
34 %package devel
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}
39
40 %description devel
41 xshmfence library.
42
43 This package contains the header files needed to develop programs that
44 use libxshmfence.
45
46 %description devel -l pl.UTF-8
47 Biblioteka xshmfence.
48
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libxshmfence.
51
52 %package static
53 Summary:        Static libxshmfence library
54 Summary(pl.UTF-8):      Biblioteka statyczna libxshmfence
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 xshmfence library.
60
61 This package contains the static libxshmfence library.
62
63 %description static -l pl.UTF-8
64 Biblioteka xshmfence.
65
66 Pakiet zawiera statyczną bibliotekę libxshmfence.
67
68 %prep
69 %setup -q -n libxshmfence-%{version}
70
71 %build
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 # obsoleted by pkg-config, no external dependencies
88 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxshmfence.la
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc ChangeLog README
99 %attr(755,root,root) %{_libdir}/libxshmfence.so.*.*.*
100 %attr(755,root,root) %ghost %{_libdir}/libxshmfence.so.1
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libxshmfence.so
105 %{_includedir}/X11/xshmfence.h
106 %{_pkgconfigdir}/xshmfence.pc
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/libxshmfence.a
This page took 0.230098 seconds and 3 git commands to generate.