Author: sergiomb
Update of /cvs/free/rpms/x264/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv8908
Modified Files:
x264-snapshot.sh x264.spec
Log Message:
* Sat Jan 19 2013 Sérgio Basto <sergio(a)serjux.com> - 0.129-1.20130119git9c4ba4b
- Update to 9c4ba4bde8965571159eae2d79f85cabbb47416c, soname bump.
- Changed branch name by api number, is more readable.
- Drop upstreamed patch.
Index: x264-snapshot.sh
===================================================================
RCS file: /cvs/free/rpms/x264/devel/x264-snapshot.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- x264-snapshot.sh 6 Oct 2012 00:04:51 -0000 1.5
+++ x264-snapshot.sh 19 Jan 2013 11:26:02 -0000 1.6
@@ -24,7 +24,8 @@
git checkout ${commit}
git checkout -b rpmfusion
./version.sh > version.h
+API=`grep '#define X264_BUILD' < x264.h | sed -e 's/.*
\([1-9][0-9]*\).*/\1/'`
git add version.h
git commit -m "generated version.h" version.h
-git archive --prefix="${package}-${branch}-${date}-${tag}/" --format=tar
rpmfusion | bzip2 > "$pwd"/${package}-${branch}-${date}-${tag}.tar.bz2
+git archive --prefix="${package}-0.$API-${date}-${tag}/" --format=tar rpmfusion
| bzip2 > "$pwd"/${package}-0.$API-${date}-${tag}.tar.bz2
popd >/dev/null
Index: x264.spec
===================================================================
RCS file: /cvs/free/rpms/x264/devel/x264.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- x264.spec 23 Nov 2012 23:28:56 -0000 1.50
+++ x264.spec 19 Jan 2013 11:26:02 -0000 1.51
@@ -1,5 +1,6 @@
-%global gitdate 20121118
-%global gitversion f6a8615
+%global api 129
+%global gitdate 20130119
+%global gitversion 9c4ba4b
%global snapshot %{gitdate}-%{gitversion}
%global gver .%{gitdate}git%{gitversion}
%global branch stable
@@ -22,18 +23,16 @@
Summary: H264/AVC video streams encoder
Name: x264
-Version: 0.128
-Release: 2%{?gver}%{?dist}
+Version: 0.%{api}
+Release: 1%{?gver}%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL:
http://developers.videolan.org/x264.html
-Source0: %{name}-%{branch}-%{snapshot}.tar.bz2
+Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2
Source1: x264-snapshot.sh
# don't remove config.h and don't re-run version.sh
Patch0: x264-nover.patch
-#upstreamable patches
-Patch100: x264-gf_malloc.patch
%{!?_without_gpac:BuildRequires: gpac-devel-static zlib-devel}
%{!?_without_libavformat:BuildRequires: ffmpeg-devel}
@@ -87,18 +86,18 @@
%prep
-%setup -q -c -n %{name}-%{branch}-%{snapshot}
-pushd %{name}-%{branch}-%{snapshot}
+%setup -q -c -n %{name}-0.%{api}-%{snapshot}
+pushd %{name}-0.%{api}-%{snapshot}
%patch0 -p1 -b .nover
-%patch100 -p1 -b .gf_malloc
popd
+
variants="generic generic10"
%ifarch i686
variants="$variants simd"
%endif
for variant in $variants ; do
rm -rf ${variant}
- cp -pr %{name}-%{branch}-%{snapshot} ${variant}
+ cp -pr %{name}-0.%{api}-%{snapshot} ${variant}
done
@@ -170,11 +169,11 @@
%files libs
%defattr(644, root, root, 0755)
-%{_libdir}/libx264.so.*
+%{_libdir}/libx264.so.%{api}
%ifarch i686
-%{_libdir}/sse2/libx264.so.*
+%{_libdir}/sse2/libx264.so.%{api}
%endif
-%{_libdir}/libx26410b.so.*
+%{_libdir}/libx26410b.so.%{api}
%files devel
%defattr(644, root, root, 0755)
@@ -189,6 +188,11 @@
%{_libdir}/libx26410b.so
%changelog
+* Sat Jan 19 2013 Sérgio Basto <sergio(a)serjux.com> - 0.129-1.20130119git9c4ba4b
+- Update to 9c4ba4bde8965571159eae2d79f85cabbb47416c, soname bump.
+- Changed branch name by api number, is more readable.
+- Drop upstreamed patch.
+
* Fri Nov 23 2012 Sérgio Basto <sergio(a)serjux.com> - 0.128-2.20121118gitf6a8615
- unbootstrap on F18.