1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: X.Org X11 libXi runtime library |
---|
4 | Summary(ja): X.Org X11 libXi ランタイムライブラリ |
---|
5 | Name: libXi |
---|
6 | Version: 1.4.3 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: MIT/X11 |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://www.x.org |
---|
11 | |
---|
12 | Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: pkgconfig |
---|
16 | BuildRequires: xorg-x11-proto-devel |
---|
17 | BuildRequires: libX11-devel |
---|
18 | BuildRequires: libXext-devel |
---|
19 | BuildRequires: libXau-devel |
---|
20 | Obsoletes: XFree86-libs, XOrg-libs |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | X.Org X11 libXi runtime library |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: X.Org X11 libXi development package |
---|
30 | Summary(ja): X.Org X11 libXi 開発パッケージ |
---|
31 | Group: Development/Libraries |
---|
32 | Requires(pre): xorg-x11-filesystem |
---|
33 | Requires: %{name} = %{version}-%{release} |
---|
34 | Requires: xorg-x11-proto-devel |
---|
35 | Obsoletes: XFree86-devel, XOrg-devel |
---|
36 | |
---|
37 | %description devel |
---|
38 | X.Org X11 libXi development package |
---|
39 | |
---|
40 | # compat32 |
---|
41 | %package -n compat32-%{name} |
---|
42 | Summary: X.Org X11 libXi runtime library |
---|
43 | Summary(ja): X.Org X11 libXi ランタイムライブラリ |
---|
44 | Group: System Environment/Libraries |
---|
45 | |
---|
46 | %description -n compat32-%{name} |
---|
47 | X.Org X11 libXi runtime library |
---|
48 | |
---|
49 | %package -n compat32-%{name}-devel |
---|
50 | Summary: X.Org X11 libXi development package |
---|
51 | Summary(ja): X.Org X11 libXi 開発パッケージ |
---|
52 | Group: Development/Libraries |
---|
53 | Requires(pre): xorg-x11-filesystem |
---|
54 | Requires: compat32-%{name} = %{version}-%{release} |
---|
55 | Requires: %{name}-devel = %{version}-%{release} |
---|
56 | |
---|
57 | %description -n compat32-%{name}-devel |
---|
58 | X.Org X11 libXi development package |
---|
59 | |
---|
60 | %prep |
---|
61 | %setup -q |
---|
62 | |
---|
63 | # Disable static library creation by default. |
---|
64 | %define with_static 0 |
---|
65 | |
---|
66 | %build |
---|
67 | %configure \ |
---|
68 | %if ! %{with_static} |
---|
69 | --disable-static |
---|
70 | %endif |
---|
71 | make |
---|
72 | |
---|
73 | %install |
---|
74 | rm -rf $RPM_BUILD_ROOT |
---|
75 | |
---|
76 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
77 | |
---|
78 | # We intentionally don't ship *.la files |
---|
79 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
80 | |
---|
81 | # remove xml and txt file |
---|
82 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
83 | rm -rf $RPM_BUILD_ROOT%{_mandir} |
---|
84 | |
---|
85 | %clean |
---|
86 | rm -rf $RPM_BUILD_ROOT |
---|
87 | |
---|
88 | %post -p /sbin/ldconfig |
---|
89 | %postun -p /sbin/ldconfig |
---|
90 | |
---|
91 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
92 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
93 | |
---|
94 | %files |
---|
95 | %defattr(-,root,root,-) |
---|
96 | %doc COPYING README ChangeLog |
---|
97 | %{_libdir}/libXi.so.6 |
---|
98 | %{_libdir}/libXi.so.6.* |
---|
99 | |
---|
100 | %files devel |
---|
101 | %defattr(-,root,root,-) |
---|
102 | %{_includedir}/X11/extensions/*.h |
---|
103 | %if %{with_static} |
---|
104 | %{_libdir}/libXi.a |
---|
105 | %endif |
---|
106 | %{_libdir}/libXi.so |
---|
107 | %{_libdir}/pkgconfig/xi.pc |
---|
108 | |
---|
109 | # compat32 |
---|
110 | %if %{build_compat32} |
---|
111 | %files -n compat32-%{name} |
---|
112 | %defattr(-,root,root,-) |
---|
113 | %{_libdir}/libXi.so.6 |
---|
114 | %{_libdir}/libXi.so.6.* |
---|
115 | |
---|
116 | %files -n compat32-%{name}-devel |
---|
117 | %defattr(-,root,root,-) |
---|
118 | %if %{with_static} |
---|
119 | %{_libdir}/libXi.a |
---|
120 | %endif |
---|
121 | %{_libdir}/libXi.so |
---|
122 | %{_libdir}/pkgconfig/xi.pc |
---|
123 | %endif |
---|
124 | |
---|
125 | %changelog |
---|
126 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Sat Mar 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
136 | - new upstream release |
---|
137 | - fix %%install |
---|
138 | |
---|
139 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3-2 |
---|
140 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
141 | - fix %files (remove AUTHOR, man3) |
---|
142 | |
---|
143 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-2 |
---|
147 | - added compat32 package for x86_64 arch support |
---|
148 | |
---|
149 | * Sat Apr 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-1 |
---|
150 | - new upstream release |
---|
151 | |
---|
152 | * Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1 |
---|
153 | - new upstream release |
---|
154 | |
---|
155 | * Sun Nov 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1 |
---|
159 | - new versioning policy |
---|
160 | |
---|
161 | * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1 |
---|
162 | - initial build for Vine Linux |
---|
163 | |
---|
164 | * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1 |
---|
165 | - libXi 1.1.3 |
---|
166 | |
---|
167 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-2 |
---|
168 | - Rebuild for build id |
---|
169 | |
---|
170 | * Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 1.1.1-1 |
---|
171 | - libXi 1.1.1 |
---|
172 | |
---|
173 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2 |
---|
174 | - Don't install INSTALL |
---|
175 | |
---|
176 | * Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1 |
---|
177 | - libXi 1.0.4 |
---|
178 | |
---|
179 | * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1 |
---|
180 | - Update to 1.0.2 |
---|
181 | |
---|
182 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1 |
---|
183 | - rebuild |
---|
184 | |
---|
185 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3 |
---|
186 | - Added "Requires: xorg-x11-proto-devel" to devel package for xi.pc |
---|
187 | - Remove package ownership of mandir/libdir/etc. |
---|
188 | |
---|
189 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2 |
---|
190 | - Replace "makeinstall" with "make install DESTDIR=..." for (#192721) |
---|
191 | - Remove package ownership of mandir/libdir/etc. |
---|
192 | |
---|
193 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1 |
---|
194 | - Update to 1.0.1 |
---|
195 | |
---|
196 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2 |
---|
197 | - bump again for double-long bug on ppc(64) |
---|
198 | |
---|
199 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1 |
---|
200 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
201 | |
---|
202 | * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2 |
---|
203 | - Bumped and rebuilt |
---|
204 | |
---|
205 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
206 | - Updated libXi to version 1.0.0 from X11R7 RC4 |
---|
207 | |
---|
208 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
209 | - Updated libXi to version 0.99.2 from X11R7 RC3 |
---|
210 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
211 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
212 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
213 | |
---|
214 | * Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3 |
---|
215 | - Added "BuildRequires: libXau-devel", as build fails without it, but does |
---|
216 | not check for it with ./configure. Bug (fdo#5065) |
---|
217 | |
---|
218 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2 |
---|
219 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
220 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
221 | |
---|
222 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
223 | - Updated libXi to version 0.99.1 from X11R7 RC1 |
---|
224 | - Updated file manifest to find manpages in "man3x" |
---|
225 | |
---|
226 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3 |
---|
227 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
228 | between developers. |
---|
229 | - Use Fedora Extras style BuildRoot tag. |
---|
230 | - Disable static library creation by default. |
---|
231 | - Add missing defattr to devel subpackage |
---|
232 | - Add missing documentation files to doc macro |
---|
233 | |
---|
234 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2 |
---|
235 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
236 | the rest of the X11R7 packages. |
---|
237 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
238 | subpackage to ensure the devel package matches the installed shared libs. |
---|
239 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
240 | allow applications to use implementation agnostic dependencies. |
---|
241 | - Added post/postun scripts which call ldconfig. |
---|
242 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
243 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
244 | |
---|
245 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1 |
---|
246 | - Initial build. |
---|