%ifarch %{arm} %global with_neon --enable-neon %endif Name: libyuv Summary: YUV conversion and scaling functionality library Version: 0.0.1280 Release: 0%{?dist} License: BSD Group: Development/Libraries Url: http://code.google.com/p/libyuv/ ## svn -r 522 export http://libyuv.googlecode.com/svn/trunk libyuv-0 ## tar -cjvf libyuv-0.tar.bz2 libyuv-0 Source0: %{name}-%{version}.tar.gz Source1: %{name}.pc.in # Fedora-specific. Upstream isn't interested in this. #Patch1: libyuv-0001-Initial-autotools-support.patch # big endian fix - http://code.google.com/p/libyuv/issues/detail?id=171 #Patch2: libyuv-endian.patch #BuildRequires: autoconf #BuildRequires: automake #BuildRequires: libtool #BuildRequires: gtest-devel BuildRequires: libjpeg-devel #BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: cmake %description This is an open source project that includes YUV conversion and scaling functionality. Converts all webcam formats to YUV (I420). Convert YUV to formats for rendering/effects. Rotate by 90 degrees to adjust for mobile devices in portrait mode. Scale YUV to prepare content for compression, with point, bilinear or box filter. %package devel Summary: The development files for %{name} Group: Development/Libraries Requires: pkgconfig Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Additional header files for development with %{name}. %prep %setup -q -n %{name}-%{version} %build # Next two lines is hotfix for FS configure script sed -i -e "s:\(include.FindJPEG.\):#\1:" CMakeLists.txt sed -i -e "/Libs.private: -ljpeg/d" libyuv.pc.in mkdir out cd out %cmake .. make %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_libdir}/pkgconfig cp out/libyuv.so %{buildroot}%{_libdir} cp -R include/* %{buildroot}%{_includedir} cp %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc %clean rm -rf %{buildroot} %files %doc AUTHORS LICENSE PATENTS %{_libdir}/%{name}.so %files devel %{_includedir}/%{name} %{_includedir}/%{name}.h %{_libdir}/pkgconfig/%{name}.pc %changelog * Sun Aug 17 2014 Fedora Release Engineering - 0-0.22.20121221svn522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0-0.21.20121221svn522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0-0.20.20121221svn522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0-0.19.20121221svn522 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jan 18 2013 Adam Tkac - 0-0.18.20121221svn522 - rebuild due to "jpeg8-ABI" feature drop * Sun Dec 30 2012 Dan HorĂ¡k - 0-0.17.20121221svn522 - add big endian fix * Fri Dec 21 2012 Adam Tkac - 0-0.16.20121221svn522 - rebuild against new libjpeg * Fri Dec 21 2012 Peter Lemenkov - 0-0.15.20121221svn522 - Next svn snapshot - ver. 522 * Thu Oct 04 2012 Peter Lemenkov - 0-0.14.20121001svn389 - Next svn snapshot - ver. 389 - Enable NEON on ARM (if detected) * Sat Sep 15 2012 Peter Lemenkov - 0-0.13.20120915svn353 - Next svn snapshot - ver. 353 - Dropped upstreamed patch no.3 * Mon Jul 30 2012 Peter Lemenkov - 0-0.12.20120727svn312 - Next svn snapshot - ver. 312 * Thu Jul 19 2012 Fedora Release Engineering - 0-0.11.20120627svn296 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jul 05 2012 Peter Lemenkov - 0-0.10.20120627svn296 - Next svn snapshot - ver. 296 - Dropped patch3 (header conflict) - fixed upstream * Thu Jun 14 2012 Tom Callaway - 0-0.9.20120518svn268 - resolve header conflict with duplicate definition in scale*.h * Fri May 18 2012 Peter Lemenkov - 0-0.8.20120518svn268 - Next svn snapshot - ver. 268 - Fixed failure on s390x and PPC64 (see rhbz #822494) - Fixed FTBFS on EL5 (see rhbz #819179) * Sat May 05 2012 Peter Lemenkov - 0-0.7.20120505svn256 - Next svn snapshot - ver. 256 * Sun Apr 08 2012 Peter Lemenkov - 0-0.6.20120406svn239 - Next svn snapshot - ver. 239 * Thu Mar 08 2012 Peter Lemenkov - 0-0.5.20120308svn209 - Next svn ver. - 209 - Drop upstreamed patches - Add libjpeg as a dependency * Thu Feb 02 2012 Peter Lemenkov - 0-0.4.20120202svn164 - Next svn ver. - 164 - Added two patches - no.2 and no.3 * Thu Jan 12 2012 Peter Lemenkov - 0-0.3.20120109svn128 - Use bzip2 instead of xz (for EL-5) * Wed Jan 11 2012 Peter Lemenkov - 0-0.2.20120109svn128 - Update to svn rev. 128 - Enable unit-tests - Dropped obsolete defattr directive - Consistently use macros - Explicitly add _isa to the Requires for *-devel sub-package * Fri Jan 6 2012 Peter Lemenkov - 0-0.1.20120105svn127 - Initial package