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