[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libXv runtime library |
---|
| 4 | Summary(ja): X.Org X11 libXv ランタイムライブラリ |
---|
| 5 | Name: libXv |
---|
[7825] | 6 | Version: 1.0.10 |
---|
[2203] | 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 |
---|
[5869] | 17 | BuildRequires: xorg-x11-util-macros |
---|
[521] | 18 | BuildRequires: libX11-devel |
---|
| 19 | BuildRequires: libXext-devel |
---|
| 20 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | X.Org X11 libXv runtime library |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: X.Org X11 libXv development package |
---|
| 27 | Summary(ja): X.Org X11 libXv 開発パッケージ |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires(pre): xorg-x11-filesystem |
---|
| 30 | Requires: %{name} = %{version}-%{release} |
---|
| 31 | Requires: libXext-devel |
---|
| 32 | Requires: xorg-x11-proto-devel |
---|
| 33 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 34 | |
---|
| 35 | %description devel |
---|
| 36 | X.Org X11 libXv development package |
---|
| 37 | |
---|
| 38 | # compat32 |
---|
| 39 | %package -n compat32-%{name} |
---|
| 40 | Summary: X.Org X11 libXv runtime library |
---|
| 41 | Summary(ja): X.Org X11 libXv ランタイムライブラリ |
---|
| 42 | Group: System Environment/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | |
---|
| 45 | %description -n compat32-%{name} |
---|
| 46 | X.Org X11 libXv runtime library |
---|
| 47 | |
---|
| 48 | %package -n compat32-%{name}-devel |
---|
| 49 | Summary: X.Org X11 libXv development package |
---|
| 50 | Summary(ja): X.Org X11 libXv 開発パッケージ |
---|
| 51 | Group: Development/Libraries |
---|
| 52 | Requires(pre): xorg-x11-filesystem |
---|
| 53 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 54 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 55 | Requires: compat32-libXext-devel |
---|
| 56 | |
---|
| 57 | %description -n compat32-%{name}-devel |
---|
| 58 | X.Org X11 libXv 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 | |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 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 | %clean |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
| 83 | |
---|
| 84 | %post -p /sbin/ldconfig |
---|
| 85 | %postun -p /sbin/ldconfig |
---|
| 86 | |
---|
| 87 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 88 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 89 | |
---|
| 90 | %files |
---|
| 91 | %defattr(-,root,root,-) |
---|
| 92 | %doc AUTHORS COPYING README ChangeLog |
---|
| 93 | %{_libdir}/libXv.so.1 |
---|
| 94 | %{_libdir}/libXv.so.1.0.0 |
---|
| 95 | |
---|
| 96 | %files devel |
---|
| 97 | %defattr(-,root,root,-) |
---|
| 98 | %dir %{_includedir}/X11 |
---|
| 99 | %dir %{_includedir}/X11/extensions |
---|
| 100 | %{_includedir}/X11/extensions/Xvlib.h |
---|
| 101 | %if %{with_static} |
---|
| 102 | %{_libdir}/libXv.a |
---|
| 103 | %endif |
---|
| 104 | %{_libdir}/libXv.so |
---|
| 105 | %{_libdir}/pkgconfig/xv.pc |
---|
| 106 | %{_mandir}/man3/*.3* |
---|
| 107 | |
---|
| 108 | # compat32 |
---|
| 109 | %if %{build_compat32} |
---|
| 110 | %files -n compat32-%{name} |
---|
| 111 | %defattr(-,root,root,-) |
---|
| 112 | %{_libdir}/libXv.so.1 |
---|
| 113 | %{_libdir}/libXv.so.1.0.0 |
---|
| 114 | |
---|
| 115 | %files -n compat32-%{name}-devel |
---|
| 116 | %defattr(-,root,root,-) |
---|
| 117 | %if %{with_static} |
---|
| 118 | %{_libdir}/libXv.a |
---|
| 119 | %endif |
---|
| 120 | %{_libdir}/libXv.so |
---|
| 121 | %{_libdir}/pkgconfig/xv.pc |
---|
| 122 | %endif |
---|
| 123 | |
---|
| 124 | %changelog |
---|
[7825] | 125 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[7757] | 128 | * Mon Aug 12 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[7707] | 131 | * Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1 |
---|
| 132 | - new upstream release |
---|
| 133 | (including security fix for CVE-2013-1989,2066) |
---|
| 134 | |
---|
[5869] | 135 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1 |
---|
| 136 | - new upstream release |
---|
| 137 | - add BuildRequires: xorg-x11-util-macros |
---|
| 138 | |
---|
[2203] | 139 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[1887] | 142 | * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-2 |
---|
| 143 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 144 | |
---|
[521] | 145 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
| 148 | * Wed Jul 08 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2 |
---|
| 149 | - added compat32 package for x86_64 arch support |
---|
| 150 | |
---|
| 151 | * Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
| 154 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1 |
---|
| 155 | - new versioning policy |
---|
| 156 | |
---|
| 157 | * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1 |
---|
| 158 | - initial build for Vine Linux |
---|
| 159 | |
---|
| 160 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3 |
---|
| 161 | - Rebuild for build id |
---|
| 162 | |
---|
| 163 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2 |
---|
| 164 | - Don't install INSTALL |
---|
| 165 | |
---|
| 166 | * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1 |
---|
| 167 | - Update to 1.0.3 |
---|
| 168 | |
---|
| 169 | * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1.fc7 |
---|
| 170 | - Update to 1.0.2 |
---|
| 171 | |
---|
| 172 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-4.1 |
---|
| 173 | - rebuild |
---|
| 174 | |
---|
| 175 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-4 |
---|
| 176 | - Added "Requires: xorg-x11-proto-devel" to devel package for xv.pc |
---|
| 177 | |
---|
| 178 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3 |
---|
| 179 | - Added "BuildRequires: pkgconfig" for (#193505) |
---|
| 180 | - Replace "makeinstall" with "make install DESTDIR=..." |
---|
| 181 | - Remove package ownership of mandir/libdir/etc. |
---|
| 182 | |
---|
| 183 | * Fri May 26 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2 |
---|
| 184 | - Added "Requires: libXext-devel" to libXv-devel subpackage, to avoid all |
---|
| 185 | packages that depend on libXv-devel from having to manually specify that |
---|
| 186 | dependency themselves, as it is required by Xv. (#192167) |
---|
| 187 | |
---|
| 188 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2 |
---|
| 189 | - bump again for double-long bug on ppc(64) |
---|
| 190 | |
---|
| 191 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1 |
---|
| 192 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 193 | |
---|
| 194 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
| 195 | - Updated libXv to version 1.0.1 from X11R7.0 |
---|
| 196 | |
---|
| 197 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
| 198 | - Updated libXv to version 0.99.2 from X11R7 RC3 |
---|
| 199 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 200 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 201 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 202 | |
---|
| 203 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 204 | - rebuilt |
---|
| 205 | |
---|
| 206 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2 |
---|
| 207 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 208 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 209 | |
---|
| 210 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
| 211 | - Updated libXv to version 0.99.1 from X11R7 RC1 |
---|
| 212 | - Updated file manifest to find manpages in "man3x" |
---|
| 213 | |
---|
| 214 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3 |
---|
| 215 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
| 216 | between developers. |
---|
| 217 | - Use Fedora Extras style BuildRoot tag. |
---|
| 218 | - Disable static library creation by default. |
---|
| 219 | - Add missing defattr to devel subpackage |
---|
| 220 | - Add missing documentation files to doc macro |
---|
| 221 | |
---|
| 222 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2 |
---|
| 223 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
| 224 | the rest of the X11R7 packages. |
---|
| 225 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
| 226 | subpackage to ensure the devel package matches the installed shared libs. |
---|
| 227 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
| 228 | allow applications to use implementation agnostic dependencies. |
---|
| 229 | - Added post/postun scripts which call ldconfig. |
---|
| 230 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
| 231 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
| 232 | |
---|
| 233 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1 |
---|
| 234 | - Initial build. |
---|