ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] create packages


From: Brilliantov Kirill Vladimirovich
Subject: Re: [Ltib] create packages
Date: Fri, 22 Jan 2010 12:02:51 +0300
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)

Murat Sahin wrote on 01/22/2010 11:55 AM:
Perhaps you have mistake in it.

Sorry, Murat, I don't undestande you.
My problem that is ltib can't find my spec-file.

Brilliantov Kirill Vladimirovich schrieb:
Murat Sahin wrote on 01/22/2010 11:47 AM:
Hello Mr. Vladimirovich,

please send your make-File.

Sorry, I don't undestande you, what make-file you need?

Best Regards

Murat Sahin

Brilliantov Kirill Vladimirovich schrieb:
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.









--
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru    http://www.bestdvr.ru





reply via email to

[Prev in Thread] Current Thread [Next in Thread]