Author: qboosh Date: Mon Nov 1 10:50:37 2010 GMT Module: packages Tag: HEAD ---- Log message: - pl - BR yasm only on x86 - actually use optflags (pass by configure instead of outdated sed rule)
---- Files affected: packages/libvpx: libvpx.spec (1.14 -> 1.15) ---- Diffs: ================================================================ Index: packages/libvpx/libvpx.spec diff -u packages/libvpx/libvpx.spec:1.14 packages/libvpx/libvpx.spec:1.15 --- packages/libvpx/libvpx.spec:1.14 Sun Oct 31 16:44:19 2010 +++ packages/libvpx/libvpx.spec Mon Nov 1 11:50:32 2010 @@ -1,55 +1,69 @@ # $Revision$, $Date$ # # Conditional build: -%bcond_without asm - +%bcond_without asm # x86 assembler +# Summary: VP8, a high-quality video codec +Summary(pl.UTF-8): VP8 - kodek obrazu wysokiej jakości Name: libvpx Version: 0.9.5 Release: 1 License: BSD Group: Libraries +#Source0-Download: http://code.google.com/p/webm/downloads/list Source0: http://webm.googlecode.com/files/%{name}-v%{version}.tar.bz2 # Source0-md5: 4bf2f2c76700202c1fe9201fcb0680e3 Source1: %{name}.ver Patch0: %{name}-0.9.0-no-explicit-dep-on-static-lib.patch URL: http://www.webmproject.org/ BuildRequires: /usr/bin/php -BuildRequires: autoconf -BuildRequires: automake BuildRequires: doxygen BuildRequires: php-common >= 4:5.0.0 BuildRequires: php-pcre +%ifarch %{ix86} %{x8664} %{?with_asm:BuildRequires: yasm} +%endif BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description VP8, a high-quality video codec. +%description -l pl.UTF-8 +VP8 - kodek obrazu wysokiej jakości. + %package devel -Summary: Header files and develpment documentation for libvpx +Summary: Header files for libvpx +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libvpx Group: Development/Libraries -Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: %{name} = %{version}-%{release} %description devel -Header files and documentation for libvpx. +Header files for libvpx library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libvpx. %package static Summary: Static libvpx library +Summary(pl.UTF-8): Statyczna biblioteka libvpx Group: Development/Libraries -Requires: %{name}-devel = %{epoch}:%{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} %description static Static libvpx library. +%description static -l pl.UTF-8 +Statyczna biblioteka libvpx. + %prep %setup -q -n %{name}-v%{version} %patch0 -p1 %build -install -d build -cd build +install -d obj +cd obj # not autoconf configure +CFLAGS="%{rpmcflags} %{rpmcppflags}" \ ../configure \ %if %{with asm} %ifarch %{x8664} @@ -67,8 +81,7 @@ --enable-postproc \ --enable-runtime-cpu-detect -# Hack our optflags in. -sed -i "s|\"vpx_config.h\"|\"vpx_config.h\" %{rpmcflags} %{rpmcppflags} -fPIC|g" {libs,examples,docs}-*.mk +# disable stripping sed -i "s|STRIP=.*|STRIP=|g" {libs,examples,docs}-*.mk %{__make} verbose=true target=libs \ @@ -104,11 +117,11 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/vpx,%{_libdir}} install -d outdir -%{__make} -C build install \ +%{__make} -C obj install \ DIST_DIR=$(pwd)/outdir install -p outdir/bin/* $RPM_BUILD_ROOT%{_bindir} -install -p build/libvpx.so.* $RPM_BUILD_ROOT%{_libdir} +install -p obj/libvpx.so.* $RPM_BUILD_ROOT%{_libdir} ln -s libvpx.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libvpx.so.0 ln -s libvpx.so.0.0.0 $RPM_BUILD_ROOT%{_libdir}/libvpx.so @@ -123,7 +136,9 @@ %files %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/* +%doc AUTHORS CHANGELOG LICENSE PATENTS README +%attr(755,root,root) %{_bindir}/vpxdec +%attr(755,root,root) %{_bindir}/vpxenc %attr(755,root,root) %{_libdir}/libvpx.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libvpx.so.0 @@ -142,6 +157,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.15 2010/11/01 10:50:32 qboosh +- pl +- BR yasm only on x86 +- actually use optflags (pass by configure instead of outdated sed rule) + Revision 1.14 2010/10/31 15:44:19 glen - up to 0.9.5 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libvpx/libvpx.spec?r1=1.14&r2=1.15&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
