]>
Commit | Line | Data |
---|---|---|
ba1dcba2 JB |
1 | Summary: libXTrap library - client API for the DEC-XTRAP extension |
2 | Summary(pl.UTF-8): Biblioteka libXTrap - API klienckie rozszerzenia DEC-XTRAP | |
3669a9db | 3 | Name: xorg-lib-libXTrap |
ba1dcba2 | 4 | Version: 1.0.1 |
7cd7540d | 5 | Release: 3 |
3669a9db AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
7cd7540d | 8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libXTrap-%{version}.tar.bz2 |
ba1dcba2 | 9 | # Source0-md5: 076ff6279d202f19421b51af4f723935 |
7cd7540d | 10 | URL: https://xorg.freedesktop.org/ |
fa499029 | 11 | BuildRequires: autoconf >= 2.57 |
3669a9db | 12 | BuildRequires: automake |
3669a9db | 13 | BuildRequires: libtool |
961f9889 | 14 | BuildRequires: pkgconfig >= 1:0.19 |
7cd7540d | 15 | BuildRequires: xorg-lib-libX11-devel |
7f2be3b0 JB |
16 | BuildRequires: xorg-lib-libXext-devel |
17 | BuildRequires: xorg-lib-libXt-devel | |
3669a9db | 18 | BuildRequires: xorg-proto-trapproto-devel |
ba1dcba2 JB |
19 | BuildRequires: xorg-proto-xextproto-devel |
20 | BuildRequires: xorg-util-util-macros >= 1.17 | |
7f2be3b0 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3669a9db | 22 | |
3669a9db | 23 | %description |
ba1dcba2 JB |
24 | libXTrap library is the Xlib-based client API for the DEC-XTRAP |
25 | extension. | |
26 | ||
27 | XTrap was a proposed standard extension for X11R5 which facilitated | |
28 | the capturing of server protocol and synthesizing core input events. | |
29 | ||
30 | Digital participated in the X Consortium's xtest working group which | |
31 | chose to evolve XTrap functionality into the XTEST & RECORD extensions | |
32 | for X11R6. | |
33 | ||
34 | As X11R6 was released in 1994, XTrap has now been deprecated for over 15 | |
35 | years, and uses of it should be quite rare. | |
3669a9db | 36 | |
d6e30319 | 37 | %description -l pl.UTF-8 |
ba1dcba2 JB |
38 | Biblioteka libXTrap to oparte na bibliotece Xlib API klienckie dla |
39 | rozszerzenia DEC-XTRAP. | |
40 | ||
41 | XTrap było proponowanym standardowym rozszerzeniem dla X11R5, | |
42 | ułatwiającym przechwytywanie protokołu serwera i sztuczne tworzenie | |
43 | zdarzeń wejściowych. | |
44 | ||
45 | Digital brał udział w grupie roboczej X Consortium xtest, która | |
46 | zdecydowała o ewolucji funkcjonalności XTrap w rozszerzenia XTEST oraz | |
47 | RECORD dla X11R6. | |
48 | ||
49 | Jako że X11R6 zostało wydane w 1994, XTrap jest przestarzałe od ponad 15 | |
50 | lat i jego użycie powinno być raczej rzadkie. | |
3669a9db | 51 | |
3669a9db | 52 | %package devel |
ba1dcba2 | 53 | Summary: Development files for libXTrap library |
8d6e54ac | 54 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXTrap |
3669a9db | 55 | Group: X11/Development/Libraries |
7f2be3b0 | 56 | Requires: %{name} = %{version}-%{release} |
7cd7540d | 57 | Requires: xorg-lib-libX11-devel |
3669a9db AM |
58 | Requires: xorg-lib-libXext-devel |
59 | Requires: xorg-lib-libXt-devel | |
60 | Requires: xorg-proto-trapproto-devel | |
61 | ||
62 | %description devel | |
ba1dcba2 JB |
63 | This package contains the development files needed to compile programs |
64 | that use libXTrap. | |
3669a9db | 65 | |
d6e30319 | 66 | %description devel -l pl.UTF-8 |
ba1dcba2 JB |
67 | Ten pakiet zawiera pliki programistyczne niezbędne do kompilowania |
68 | programów używających biblioteki libXTrap. | |
3669a9db | 69 | |
3669a9db | 70 | %package static |
7f2be3b0 | 71 | Summary: Static libXTrap library |
8d6e54ac | 72 | Summary(pl.UTF-8): Biblioteka statyczna libXTrap |
7f2be3b0 JB |
73 | Group: X11/Development/Libraries |
74 | Requires: %{name}-devel = %{version}-%{release} | |
3669a9db AM |
75 | |
76 | %description static | |
3669a9db AM |
77 | This package contains the static libXTrap library. |
78 | ||
d6e30319 | 79 | %description static -l pl.UTF-8 |
ba1dcba2 | 80 | Ten pakiet zawiera statyczną bibliotekę libXTrap. |
3669a9db | 81 | |
3669a9db AM |
82 | %prep |
83 | %setup -q -n libXTrap-%{version} | |
84 | ||
3669a9db AM |
85 | %build |
86 | %{__libtoolize} | |
87 | %{__aclocal} | |
88 | %{__autoconf} | |
89 | %{__autoheader} | |
90 | %{__automake} | |
91 | %configure | |
92 | ||
93 | %{__make} | |
94 | ||
3669a9db AM |
95 | %install |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %{__make} install \ | |
7cd7540d JB |
99 | DESTDIR=$RPM_BUILD_ROOT |
100 | ||
101 | # obsoleted by pkg-config | |
102 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXTrap.la | |
3669a9db | 103 | |
3669a9db AM |
104 | %clean |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
3669a9db AM |
107 | %post -p /sbin/ldconfig |
108 | %postun -p /sbin/ldconfig | |
109 | ||
3669a9db AM |
110 | %files |
111 | %defattr(644,root,root,755) | |
ba1dcba2 | 112 | %doc AUTHORS COPYING ChangeLog README |
7f2be3b0 | 113 | %attr(755,root,root) %{_libdir}/libXTrap.so.*.*.* |
ba1dcba2 | 114 | %attr(755,root,root) %ghost %{_libdir}/libXTrap.so.6 |
3669a9db AM |
115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
7f2be3b0 | 118 | %attr(755,root,root) %{_libdir}/libXTrap.so |
3669a9db AM |
119 | %{_pkgconfigdir}/xtrap.pc |
120 | ||
3669a9db AM |
121 | %files static |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/libXTrap.a |