From 87a50aa6e258861cae80f2238c7a0c32244e4416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 15:25:01 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libXv#2a9d6d6fc634d95eccfb1b53ab6a091aa2bd7719 --- .gitignore | 8 +++ commitid | 1 + libXv.spec | 126 +++++++++++++++++++++++++++++++++++++++++++ make-git-snapshot.sh | 17 ++++++ sources | 1 + 5 files changed, 153 insertions(+) create mode 100644 commitid create mode 100644 libXv.spec create mode 100755 make-git-snapshot.sh create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c30cf98 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,8 @@ +libXv-1.0.5.tar.bz2 +/libXv-1.0.6.tar.bz2 +/libXv-1.0.7.tar.bz2 +/libXv-20130524.tar.bz2 +/libXv-1.0.8.tar.bz2 +/libXv-1.0.9.tar.bz2 +/libXv-1.0.10.tar.bz2 +/libXv-1.0.11.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..15d9d38 --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +50fc4cb18069cb9450a02c13f80223ef23511409 diff --git a/libXv.spec b/libXv.spec new file mode 100644 index 0000000..67d59b6 --- /dev/null +++ b/libXv.spec @@ -0,0 +1,126 @@ +%global tarball libXv +#global gitdate 20130524 +%global gitversion 50fc4cb18 + +Summary: X.Org X11 libXv runtime library +Name: libXv +Version: 1.0.11 +Release: 12%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +License: MIT +URL: http://www.x.org + +%if 0%{?gitdate} +Source0: %{tarball}-%{gitdate}.tar.bz2 +Source1: make-git-snapshot.sh +Source2: commitid +%else +Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 +%endif + +Requires: libX11 >= 1.5.99.902 + +BuildRequires: xorg-x11-util-macros +BuildRequires: autoconf automake libtool +BuildRequires: pkgconfig(videoproto) pkgconfig(xext) +BuildRequires: libX11-devel >= 1.5.99.902 + +%description +X.Org X11 libXv runtime library + +%package devel +Summary: X.Org X11 libXv development package +Requires: %{name} = %{version}-%{release} + +%description devel +X.Org X11 libXv development package + +%prep +%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}} + +%build +autoreconf -v --install --force +%configure --disable-static +make %{?_smp_mflags} + +%install + +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# We intentionally don't ship *.la files +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%ldconfig_post +%ldconfig_postun + +%files +%doc AUTHORS COPYING +%{_libdir}/libXv.so.1 +%{_libdir}/libXv.so.1.0.0 + +%files devel +%doc man/xv-library-v2.2.txt +%{_includedir}/X11/extensions/Xvlib.h +%{_libdir}/libXv.so +%{_libdir}/pkgconfig/xv.pc +#%dir %{_mandir}/man3x +%{_mandir}/man3/*.3* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.11-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.11-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.11-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.0.11-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.0.11-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jul 05 2018 Adam Jackson - 1.0.11-7git} +- Drop useless %%defattr + +* Fri Jun 29 2018 Adam Jackson - 1.0.11-6 +- Use ldconfig scriptlet macros + +* Wed Feb 07 2018 Fedora Release Engineering - 1.0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.0.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Oct 05 2016 Benjamin Tissoires 1.0.11-1 +- libXv 1.0.11 +- fixes CVE-2016-5407 + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 1.0.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Jul 24 2014 Benjamin Tissoires 1.0.10-1 +- libXv 1.0.10 + +* Sat Jun 07 2014 Fedora Release Engineering - 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jun 26 2013 Peter Hutterer 1.0.9-1 +- libXv 1.0.9 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100755 index 0000000..c6c0f58 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=libXv-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/xorg/lib/libXv $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +git log | head -1 | awk '{ print $2 }' > ../commitid +git repack -a -d +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME diff --git a/sources b/sources new file mode 100644 index 0000000..f58a8a3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libXv-1.0.11.tar.bz2) = 97cb3ab06cedc87799d06e1affd5cee32ed0e551903fa5c915f79e7ed92eded867e3220b4a663822f7ebd86fdc71b09943b7077d98f1200019992e8d24144e58