Group :: Sistema/Bibliotecas
RPM: libx264
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libx264
Version: 164
Release: alt1.1
Summary: H.264 codec shared library
License: GPLv2
Group: System/Libraries
Url: http://www.videolan.org/x264.html
Source: %name-%version-%release.tar
Patch2000: %name-e2k-simd.patch
BuildRequires: nasm
%package devel
Summary: Development files of H.264 codec library
Group: Development/C
Requires: %name = %version-%release
%define desc \
libx264 is a free library for encoding H264/AVC video streams. The code \
is written from scratch.\
Encoder features: \
- CAVLC/CABAC \
- Multi-references \
- Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions) \
- Inter P: all partitions (from 16x16 down to 4x4) \
- Inter B: partitions from 16x16 down to 8x8 (including skip/direct) \
- Ratecontrol: constant quantizer, single or multipass ABR, optional VBV \
- Scene cut detection \
- Adaptive B-frame placement \
- B-frames as references / arbitrary frame order \
- 8x8 and 4x4 adaptive spatial transform \
- Lossless mode \
- Custom quantization matrices \
- Parallel encoding of multiple slices.
%description %desc
This package includes the shared library needed to run x264-based
software.
%description devel %desc
This package includes the header files needed to develop lib%name-based
software.
%prep
%setup
%ifarch %e2k
%patch2000 -p1
%endif
%build
%ifarch %ix86
# prevent use of -mfoo part of CFLAGS on x86 with NASM
export ASFLAGS=' '
%endif
%configure --disable-cli --enable-lto --enable-pic --enable-shared
%make_build all checkasm
%install
%make_install DESTDIR=%buildroot install
%ifarch armh i586
%set_verify_elf_method textrel=relaxed
%endif
%check
./checkasm8 && ./checkasm10
%files
%doc doc/*.txt AUTHORS
%_libdir/libx264.so.*
%files devel
%_includedir/x264.h
%_includedir/x264_config.h
%_pkgconfigdir/*
%_libdir/libx264.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 164
Release: alt1.1
Summary: H.264 codec shared library
License: GPLv2
Group: System/Libraries
Url: http://www.videolan.org/x264.html
Source: %name-%version-%release.tar
Patch2000: %name-e2k-simd.patch
BuildRequires: nasm
%package devel
Summary: Development files of H.264 codec library
Group: Development/C
Requires: %name = %version-%release
%define desc \
libx264 is a free library for encoding H264/AVC video streams. The code \
is written from scratch.\
Encoder features: \
- CAVLC/CABAC \
- Multi-references \
- Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions) \
- Inter P: all partitions (from 16x16 down to 4x4) \
- Inter B: partitions from 16x16 down to 8x8 (including skip/direct) \
- Ratecontrol: constant quantizer, single or multipass ABR, optional VBV \
- Scene cut detection \
- Adaptive B-frame placement \
- B-frames as references / arbitrary frame order \
- 8x8 and 4x4 adaptive spatial transform \
- Lossless mode \
- Custom quantization matrices \
- Parallel encoding of multiple slices.
%description %desc
This package includes the shared library needed to run x264-based
software.
%description devel %desc
This package includes the header files needed to develop lib%name-based
software.
%prep
%setup
%ifarch %e2k
%patch2000 -p1
%endif
%build
%ifarch %ix86
# prevent use of -mfoo part of CFLAGS on x86 with NASM
export ASFLAGS=' '
%endif
%configure --disable-cli --enable-lto --enable-pic --enable-shared
%make_build all checkasm
%install
%make_install DESTDIR=%buildroot install
%ifarch armh i586
%set_verify_elf_method textrel=relaxed
%endif
%check
./checkasm8 && ./checkasm10
%files
%doc doc/*.txt AUTHORS
%_libdir/libx264.so.*
%files devel
%_includedir/x264.h
%_includedir/x264_config.h
%_pkgconfigdir/*
%_libdir/libx264.so
%changelog
…
Todas as alterações você pod ver aqui