]>
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 |
ae3f8c42 | 4 | Version: 1.7.1 |
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 |
ae3f8c42 | 9 | # Source0-md5: 24d71afed1b86c60d4eb361628d7f47b |
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 |
f344c57d | 18 | BuildRequires: xmlto >= 0.0.22 |
8d2dbf37 | 19 | BuildRequires: xorg-lib-libX11-devel >= 1.4.99.901 |
6e9d413e | 20 | BuildRequires: xorg-lib-libXext-devel >= 1:1.0.99.1 |
62a2c9fe JB |
21 | # only for typedef |
22 | BuildRequires: xorg-lib-libXfixes-devel >= 5 | |
732f89a1 | 23 | BuildRequires: xorg-proto-inputproto-devel >= 2.3 |
8c3aa9d8 | 24 | BuildRequires: xorg-proto-xextproto-devel >= 7.0.3 |
7abe4a8b | 25 | BuildRequires: xorg-proto-xproto-devel >= 7.0.13 |
f344c57d JB |
26 | BuildRequires: xorg-sgml-doctools >= 1.8 |
27 | BuildRequires: xorg-util-util-macros >= 1.12 | |
8d2dbf37 | 28 | Requires: xorg-lib-libX11 >= 1.4.99.901 |
f344c57d | 29 | Requires: xorg-lib-libXext >= 1:1.0.99.1 |
cfeeb2f4 | 30 | Obsoletes: libXi |
4e7a7899 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8dbb3c30 | 32 | |
8dbb3c30 AM |
33 | %description |
34 | X Input extension library. | |
35 | ||
17e02889 | 36 | %description -l pl.UTF-8 |
8dbb3c30 AM |
37 | Biblioteka rozszerzenia X Input. |
38 | ||
8dbb3c30 | 39 | %package devel |
777cff44 | 40 | Summary: Header files for libXi library |
4e47bce6 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXi |
8dbb3c30 | 42 | Group: X11/Development/Libraries |
4e7a7899 | 43 | Requires: %{name} = %{version}-%{release} |
8d2dbf37 | 44 | Requires: xorg-lib-libX11-devel >= 1.4.99.901 |
29113980 | 45 | Requires: xorg-lib-libXext-devel >= 1:1.0.99.1 |
732f89a1 | 46 | Requires: xorg-proto-inputproto-devel >= 2.3 |
38df4e7e | 47 | Requires: xorg-proto-xextproto-devel >= 7.0.3 |
fca3ff00 | 48 | Requires: xorg-proto-xproto-devel >= 7.0.13 |
cfeeb2f4 | 49 | Obsoletes: libXi-devel |
8dbb3c30 AM |
50 | |
51 | %description devel | |
52 | X Input extension library. | |
53 | ||
54 | This package contains the header files needed to develop programs that | |
777cff44 | 55 | use libXi. |
8dbb3c30 | 56 | |
17e02889 | 57 | %description devel -l pl.UTF-8 |
8dbb3c30 AM |
58 | Biblioteka rozszerzenia X Input. |
59 | ||
17e02889 JR |
60 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
61 | używających biblioteki libXi. | |
8dbb3c30 | 62 | |
8dbb3c30 | 63 | %package static |
4e7a7899 | 64 | Summary: Static libXi library |
4e47bce6 | 65 | Summary(pl.UTF-8): Biblioteka statyczna libXi |
4e7a7899 JB |
66 | Group: X11/Development/Libraries |
67 | Requires: %{name}-devel = %{version}-%{release} | |
cfeeb2f4 | 68 | Obsoletes: libXi-static |
8dbb3c30 AM |
69 | |
70 | %description static | |
71 | X Input extension library. | |
72 | ||
73 | This package contains the static libXft library. | |
74 | ||
17e02889 | 75 | %description static -l pl.UTF-8 |
8dbb3c30 AM |
76 | Biblioteka rozszerzenia X Input. |
77 | ||
17e02889 | 78 | Pakiet zawiera statyczną bibliotekę libXft. |
8dbb3c30 | 79 | |
8dbb3c30 AM |
80 | %prep |
81 | %setup -q -n libXi-%{version} | |
82 | ||
8dbb3c30 AM |
83 | %build |
84 | %{__libtoolize} | |
85 | %{__aclocal} | |
86 | %{__autoconf} | |
87 | %{__autoheader} | |
88 | %{__automake} | |
89 | %configure | |
90 | %{__make} | |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %{__make} install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT \ | |
97 | pkgconfigdir=%{_pkgconfigdir} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
8dbb3c30 AM |
105 | %files |
106 | %defattr(644,root,root,755) | |
8c3aa9d8 | 107 | %doc COPYING ChangeLog README |
4e7a7899 | 108 | %attr(755,root,root) %{_libdir}/libXi.so.*.*.* |
a56922f3 | 109 | %attr(755,root,root) %ghost %{_libdir}/libXi.so.6 |
8dbb3c30 AM |
110 | |
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
fca3ff00 | 113 | %doc specs/inputlib.html |
4e7a7899 | 114 | %attr(755,root,root) %{_libdir}/libXi.so |
8dbb3c30 | 115 | %{_libdir}/libXi.la |
8dbb3c30 | 116 | %{_pkgconfigdir}/xi.pc |
8c3aa9d8 | 117 | %{_includedir}/X11/extensions/XInput*.h |
a56922f3 | 118 | %{_mandir}/man3/X*.3x* |
8dbb3c30 | 119 | |
8dbb3c30 AM |
120 | %files static |
121 | %defattr(644,root,root,755) | |
122 | %{_libdir}/libXi.a |