Hello!
I have build ffmpeg with H264 support.
I have reading LtibFaqPackages and copy x264 source in the
/opt/freescale/pkgs, also I creating directory dist/lfs-5.1/x264
with x264.spec.
Below my spec:
~/FreeScale$ cat dist/lfs-5.1/x264/x264.spec
%define pfx /opt/freescale/rootfs/%{_target_cpu}
Summary : free library for encoding H264/AVC video streams
Name : x264
Version : 20100110-2245
Release : 1
License : GPL
Vendor : Freescale
Packager : Brilliantov Kirill
Group : Applications
URL : http://www.videolan.org/developers/x264.html
Source : %{name}-snapshot-%{version}.tar.bz2
BuildRoot : %{_tmppath}/%{name}
Prefix : %{pfx}
%Description
%{summary}
%Prep
%setup
%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
make
%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
%Clean
rm -rf $RPM_BUILD_ROOT
%Files
%defattr(-,root,root)
%{pfx}/*
ls -l /opt/freescale/pkgs/x264-snapshot-20100110-2245.tar.bz2
-rw-r--r-- 1 kirill kirill 388095 2010-01-21 17:01
/opt/freescale/pkgs/x264-snapshot-20100110-2245.tar.bz2
When I run ./ltib -m prep -p x264:
~/FreeScale$ ./ltib -m prep -p x264
Cannot find spec file that contains the package name x264.
If necessary please give the whole spec file name (with the .spec
extension).
traceback:
main::mk_buildlist:1906
main::validate_sn:1951
main::build_rpm:719
main::f_prep:983
main:553
Exiting on error or interrupt
How can I solve this problem?
Thank you and excuse me for my bad english.