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