]> git.pld-linux.org Git - packages/xorg-lib-libXTrap.git/blame - xorg-lib-libXTrap.spec
- drop .la file, release 3
[packages/xorg-lib-libXTrap.git] / xorg-lib-libXTrap.spec
CommitLineData
ba1dcba2
JB
1Summary: libXTrap library - client API for the DEC-XTRAP extension
2Summary(pl.UTF-8): Biblioteka libXTrap - API klienckie rozszerzenia DEC-XTRAP
3669a9db 3Name: xorg-lib-libXTrap
ba1dcba2 4Version: 1.0.1
7cd7540d 5Release: 3
3669a9db
AM
6License: MIT
7Group: X11/Libraries
7cd7540d 8Source0: https://xorg.freedesktop.org/releases/individual/lib/libXTrap-%{version}.tar.bz2
ba1dcba2 9# Source0-md5: 076ff6279d202f19421b51af4f723935
7cd7540d 10URL: https://xorg.freedesktop.org/
fa499029 11BuildRequires: autoconf >= 2.57
3669a9db 12BuildRequires: automake
3669a9db 13BuildRequires: libtool
961f9889 14BuildRequires: pkgconfig >= 1:0.19
7cd7540d 15BuildRequires: xorg-lib-libX11-devel
7f2be3b0
JB
16BuildRequires: xorg-lib-libXext-devel
17BuildRequires: xorg-lib-libXt-devel
3669a9db 18BuildRequires: xorg-proto-trapproto-devel
ba1dcba2
JB
19BuildRequires: xorg-proto-xextproto-devel
20BuildRequires: xorg-util-util-macros >= 1.17
7f2be3b0 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3669a9db 22
3669a9db 23%description
ba1dcba2
JB
24libXTrap library is the Xlib-based client API for the DEC-XTRAP
25extension.
26
27XTrap was a proposed standard extension for X11R5 which facilitated
28the capturing of server protocol and synthesizing core input events.
29
30Digital participated in the X Consortium's xtest working group which
31chose to evolve XTrap functionality into the XTEST & RECORD extensions
32for X11R6.
33
34As X11R6 was released in 1994, XTrap has now been deprecated for over 15
35years, and uses of it should be quite rare.
3669a9db 36
d6e30319 37%description -l pl.UTF-8
ba1dcba2
JB
38Biblioteka libXTrap to oparte na bibliotece Xlib API klienckie dla
39rozszerzenia DEC-XTRAP.
40
41XTrap było proponowanym standardowym rozszerzeniem dla X11R5,
42ułatwiającym przechwytywanie protokołu serwera i sztuczne tworzenie
43zdarzeń wejściowych.
44
45Digital brał udział w grupie roboczej X Consortium xtest, która
46zdecydowała o ewolucji funkcjonalności XTrap w rozszerzenia XTEST oraz
47RECORD dla X11R6.
48
49Jako że X11R6 zostało wydane w 1994, XTrap jest przestarzałe od ponad 15
50lat i jego użycie powinno być raczej rzadkie.
3669a9db 51
3669a9db 52%package devel
ba1dcba2 53Summary: Development files for libXTrap library
8d6e54ac 54Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXTrap
3669a9db 55Group: X11/Development/Libraries
7f2be3b0 56Requires: %{name} = %{version}-%{release}
7cd7540d 57Requires: xorg-lib-libX11-devel
3669a9db
AM
58Requires: xorg-lib-libXext-devel
59Requires: xorg-lib-libXt-devel
60Requires: xorg-proto-trapproto-devel
61
62%description devel
ba1dcba2
JB
63This package contains the development files needed to compile programs
64that use libXTrap.
3669a9db 65
d6e30319 66%description devel -l pl.UTF-8
ba1dcba2
JB
67Ten pakiet zawiera pliki programistyczne niezbędne do kompilowania
68programów używających biblioteki libXTrap.
3669a9db 69
3669a9db 70%package static
7f2be3b0 71Summary: Static libXTrap library
8d6e54ac 72Summary(pl.UTF-8): Biblioteka statyczna libXTrap
7f2be3b0
JB
73Group: X11/Development/Libraries
74Requires: %{name}-devel = %{version}-%{release}
3669a9db
AM
75
76%description static
3669a9db
AM
77This package contains the static libXTrap library.
78
d6e30319 79%description static -l pl.UTF-8
ba1dcba2 80Ten 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
96rm -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
105rm -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
This page took 0.059678 seconds and 4 git commands to generate.