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