ltib
[Top][All Lists]
Advanced

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

[Ltib] libogg and speex spec files


From: Vadim Lebedev
Subject: [Ltib] libogg and speex spec files
Date: Mon, 08 Sep 2008 12:59:08 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Hello,

I'm attaching libogg.spec and speex.spec to be included into LTIB

There is a quirk in speex.spec which enables arm specific defines by default
I'd like to have an advice on how to enable it depending on platform


THanks
Vadim
%define pfx /opt/freescale/rootfs/%{_target_cpu}

Summary         : Ogg bitstream object library
Name            : libogg
Version         : 1.1.3
Release         : z
License         : GPL/(c) Xiph Foundation
Vendor          : Bluewind 
Packager        : Enrico Benetti
Group           : System Environment/Libraries 
URL             : http://www.xiph.org
Source          : %{name}-%{version}.tar.gz
BuildRoot       : %{_tmppath}/%{name}
Prefix          : %{pfx}

%Description
%{summary}

%Prep
%setup 


%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} 
--disable-static --enable-fixed-point
make

%Install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
rm -f $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/*.la

%Clean
rm -rf $RPM_BUILD_ROOT

%Files
%defattr(-,root,root)
%{pfx}/*



%define pfx /opt/freescale/rootfs/%{_target_cpu}

Summary         : Patent-free audio compression format designed for speech
Name            : speex
Version         : 1.2beta1
Release         : z
License         : BSD revised/(c) Xiph Foundation
Vendor          : Bluewind
Packager        : Enrico Benetti
Group           : Applications/File 
URL             : http://www.xiph.org
Source          : %{name}-%{version}.tar.gz
BuildRoot       : %{_tmppath}/%{name}
Prefix          : %{pfx}

%Description
%{summary}

%Prep
%setup 

%Build
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} 
--disable-static --enable-fixed-point --enable-arm5e-asm --with-ogg=.


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}/*

reply via email to

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