]>
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 |
b7e7cda6 | 21 | BuildRequires: xorg-proto-inputproto-devel >= 2.1 |
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 |
b7e7cda6 | 44 | Requires: xorg-proto-inputproto-devel >= 2.1 |
cfeeb2f4 | 45 | Obsoletes: libXi-devel |
8dbb3c30 AM |
46 | |
47 | %description devel | |
48 | X Input extension library. | |
49 | ||
50 | This package contains the header files needed to develop programs that | |
777cff44 | 51 | use libXi. |
8dbb3c30 | 52 | |
17e02889 | 53 | %description devel -l pl.UTF-8 |
8dbb3c30 AM |
54 | Biblioteka rozszerzenia X Input. |
55 | ||
17e02889 JR |
56 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
57 | używających biblioteki libXi. | |
8dbb3c30 | 58 | |
8dbb3c30 | 59 | %package static |
4e7a7899 | 60 | Summary: Static libXi library |
4e47bce6 | 61 | Summary(pl.UTF-8): Biblioteka statyczna libXi |
4e7a7899 JB |
62 | Group: X11/Development/Libraries |
63 | Requires: %{name}-devel = %{version}-%{release} | |
cfeeb2f4 | 64 | Obsoletes: libXi-static |
8dbb3c30 AM |
65 | |
66 | %description static | |
67 | X Input extension library. | |
68 | ||
69 | This package contains the static libXft library. | |
70 | ||
17e02889 | 71 | %description static -l pl.UTF-8 |
8dbb3c30 AM |
72 | Biblioteka rozszerzenia X Input. |
73 | ||
17e02889 | 74 | Pakiet zawiera statyczną bibliotekę libXft. |
8dbb3c30 | 75 | |
8dbb3c30 AM |
76 | %prep |
77 | %setup -q -n libXi-%{version} | |
78 | ||
8dbb3c30 AM |
79 | %build |
80 | %{__libtoolize} | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
85 | %configure | |
86 | %{__make} | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT \ | |
93 | pkgconfigdir=%{_pkgconfigdir} | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
8dbb3c30 AM |
101 | %files |
102 | %defattr(644,root,root,755) | |
8c3aa9d8 | 103 | %doc COPYING ChangeLog README |
4e7a7899 | 104 | %attr(755,root,root) %{_libdir}/libXi.so.*.*.* |
a56922f3 | 105 | %attr(755,root,root) %ghost %{_libdir}/libXi.so.6 |
8dbb3c30 AM |
106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
94a4fd77 | 109 | %doc specs/*.html |
4e7a7899 | 110 | %attr(755,root,root) %{_libdir}/libXi.so |
8dbb3c30 | 111 | %{_libdir}/libXi.la |
8dbb3c30 | 112 | %{_pkgconfigdir}/xi.pc |
8c3aa9d8 | 113 | %{_includedir}/X11/extensions/XInput*.h |
a56922f3 | 114 | %{_mandir}/man3/X*.3x* |
8dbb3c30 | 115 | |
8dbb3c30 AM |
116 | %files static |
117 | %defattr(644,root,root,755) | |
118 | %{_libdir}/libXi.a |