]>
Commit | Line | Data |
---|---|---|
8dbb3c30 | 1 | Summary: X Input extension library |
4e47bce6 | 2 | Summary(pl.UTF-8): Biblioteka rozszerzenia X Input |
8dbb3c30 | 3 | Name: xorg-lib-libXi |
68036f27 | 4 | Version: 1.4.2 |
09e7a8bc | 5 | Release: 1 |
8dbb3c30 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
09ab75b0 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/lib/libXi-%{version}.tar.bz2 |
68036f27 | 9 | # Source0-md5: 3d14f7bfc4a4335cf0144de9b67a5444 |
8dbb3c30 | 10 | URL: http://xorg.freedesktop.org/ |
cef9355b JB |
11 | BuildRequires: asciidoc >= 8.4.5 |
12 | BuildRequires: autoconf >= 2.60 | |
8dbb3c30 | 13 | BuildRequires: automake |
2576849e | 14 | BuildRequires: docbook-dtd412-xml |
15 | BuildRequires: docbook-dtd43-xml | |
8dbb3c30 | 16 | BuildRequires: libtool |
16efdfc4 | 17 | BuildRequires: pkgconfig >= 1:0.19 |
cef9355b | 18 | BuildRequires: xmlto >= 0.0.20 |
fe49493f | 19 | BuildRequires: xorg-lib-libX11-devel >= 1.2.99.901 |
6e9d413e | 20 | BuildRequires: xorg-lib-libXext-devel >= 1:1.0.99.1 |
7abe4a8b | 21 | BuildRequires: xorg-proto-inputproto-devel >= 1.9.99.902 |
8c3aa9d8 | 22 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.3 |
7abe4a8b | 23 | BuildRequires: xorg-proto-xproto-devel >= 7.0.13 |
cef9355b JB |
24 | BuildRequires: xorg-sgml-doctools >= 1.5 |
25 | BuildRequires: xorg-util-util-macros >= 1.10 | |
fe49493f | 26 | Requires: xorg-lib-libX11 >= 1.2.99.901 |
cfeeb2f4 | 27 | Obsoletes: libXi |
4e7a7899 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8dbb3c30 | 29 | |
8dbb3c30 AM |
30 | %description |
31 | X Input extension library. | |
32 | ||
17e02889 | 33 | %description -l pl.UTF-8 |
8dbb3c30 AM |
34 | Biblioteka rozszerzenia X Input. |
35 | ||
8dbb3c30 | 36 | %package devel |
777cff44 | 37 | Summary: Header files for libXi library |
4e47bce6 | 38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXi |
8dbb3c30 | 39 | Group: X11/Development/Libraries |
4e7a7899 | 40 | Requires: %{name} = %{version}-%{release} |
fe49493f | 41 | Requires: xorg-lib-libX11-devel >= 1.2.99.901 |
29113980 JB |
42 | Requires: xorg-lib-libXext-devel >= 1:1.0.99.1 |
43 | Requires: xorg-proto-inputproto-devel >= 1.9.99.902 | |
cfeeb2f4 | 44 | Obsoletes: libXi-devel |
8dbb3c30 AM |
45 | |
46 | %description devel | |
47 | X Input extension library. | |
48 | ||
49 | This package contains the header files needed to develop programs that | |
777cff44 | 50 | use libXi. |
8dbb3c30 | 51 | |
17e02889 | 52 | %description devel -l pl.UTF-8 |
8dbb3c30 AM |
53 | Biblioteka rozszerzenia X Input. |
54 | ||
17e02889 JR |
55 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
56 | używających biblioteki libXi. | |
8dbb3c30 | 57 | |
8dbb3c30 | 58 | %package static |
4e7a7899 | 59 | Summary: Static libXi library |
4e47bce6 | 60 | Summary(pl.UTF-8): Biblioteka statyczna libXi |
4e7a7899 JB |
61 | Group: X11/Development/Libraries |
62 | Requires: %{name}-devel = %{version}-%{release} | |
cfeeb2f4 | 63 | Obsoletes: libXi-static |
8dbb3c30 AM |
64 | |
65 | %description static | |
66 | X Input extension library. | |
67 | ||
68 | This package contains the static libXft library. | |
69 | ||
17e02889 | 70 | %description static -l pl.UTF-8 |
8dbb3c30 AM |
71 | Biblioteka rozszerzenia X Input. |
72 | ||
17e02889 | 73 | Pakiet zawiera statyczną bibliotekę libXft. |
8dbb3c30 | 74 | |
8dbb3c30 AM |
75 | %prep |
76 | %setup -q -n libXi-%{version} | |
77 | ||
8dbb3c30 AM |
78 | %build |
79 | %{__libtoolize} | |
80 | %{__aclocal} | |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__automake} | |
84 | %configure | |
85 | %{__make} | |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT \ | |
92 | pkgconfigdir=%{_pkgconfigdir} | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post -p /sbin/ldconfig | |
98 | %postun -p /sbin/ldconfig | |
99 | ||
8dbb3c30 AM |
100 | %files |
101 | %defattr(644,root,root,755) | |
8c3aa9d8 | 102 | %doc COPYING ChangeLog README |
4e7a7899 | 103 | %attr(755,root,root) %{_libdir}/libXi.so.*.*.* |
a56922f3 | 104 | %attr(755,root,root) %ghost %{_libdir}/libXi.so.6 |
8dbb3c30 AM |
105 | |
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
94a4fd77 | 108 | %doc specs/*.html |
4e7a7899 | 109 | %attr(755,root,root) %{_libdir}/libXi.so |
8dbb3c30 | 110 | %{_libdir}/libXi.la |
8dbb3c30 | 111 | %{_pkgconfigdir}/xi.pc |
8c3aa9d8 | 112 | %{_includedir}/X11/extensions/XInput*.h |
a56922f3 | 113 | %{_mandir}/man3/X*.3x* |
8dbb3c30 | 114 | |
8dbb3c30 AM |
115 | %files static |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libXi.a |