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