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