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