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