]> git.pld-linux.org Git - packages/xorg-lib-libxshmfence.git/blob - xorg-lib-libxshmfence.spec
36d07c02a1f02e7416a16622c4bd66334e3496a7
[packages/xorg-lib-libxshmfence.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.1
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
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
17 BuildRequires:  xz
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
27
28 %description -l pl.UTF-8
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.
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)
100 %doc COPYING ChangeLog README.md
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
This page took 0.100309 seconds and 2 git commands to generate.