@ -1,15 +1,21 @@
%global snapshot 2009102 6
%global snapshot 2010011 6
%global git ec46ace7
%global git 3d0f110
Summary: H264/AVC video streams encoder
Summary: H264/AVC video streams encoder
Name: x264
Name: x264
Version: 0.0.0
Version: 0.0.0
Release: 0.26 .%{snapshot}git%{git}%{?dist}
Release: 0.27 .%{snapshot}git%{git}%{?dist}
License: GPLv2+
License: GPLv2+
Group: System Environment/Libraries
Group: System Environment/Libraries
URL: http://developers.videolan.org/x264.html
URL: http://developers.videolan.org/x264.html
Source0: http://rpm.greysector.net/livna/%{name}-%{snapshot}.tar.bz2
Source0: http://rpm.greysector.net/livna/%{name}-%{snapshot}.tar.bz2
Source1: x264-snapshot.sh
Source1: x264-snapshot.sh
# don't remove config.h and don't re-run version.sh
Patch0: x264-nover.patch
# link with shared libx264
Patch1: x264-shared.patch
# don't strip if configured with --enable-debug
Patch2: x264-nostrip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
%{!?_without_gpac:BuildRequires: gpac-devel-static}
%{!?_without_gpac:BuildRequires: gpac-devel-static}
%{?_with_visualize:BuildRequires: libX11-devel}
%{?_with_visualize:BuildRequires: libX11-devel}
@ -63,6 +69,9 @@ This package contains the development files.
%prep
%prep
%setup -q -n %{name}-%{snapshot}
%setup -q -n %{name}-%{snapshot}
%patch0 -p1 -b .nover
%patch1 -p1 -b .shared
%patch2 -p1 -b .nostrip
# AUTHORS file is in iso-8859-1
# AUTHORS file is in iso-8859-1
iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS
mv -f AUTHORS.utf8 AUTHORS
mv -f AUTHORS.utf8 AUTHORS
@ -132,6 +141,12 @@ popd
%endif
%endif
%changelog
%changelog
* Sat Jan 16 2010 Dominik Mierzejewski <rpm@greysector.net> 0.0.0-0.26.20100116git3d0f110
- 20100116 snapshot (SO version bump)
- don't remove config.h and don't re-run version.sh
- link x264 binary to the shared library
- really don't strip if debug is enabled
* Mon Oct 26 2009 Dominik Mierzejewski <rpm@greysector.net> 0.0.0-0.26.20091026gitec46ace7
* Mon Oct 26 2009 Dominik Mierzejewski <rpm@greysector.net> 0.0.0-0.26.20091026gitec46ace7
- 20091026 snapshot
- 20091026 snapshot