Author: gotar Date: Thu Aug 21 09:55:25 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - upgraded to 1.0.1, - specflags taken from Makefile
---- Files affected: SPECS: gavl.spec (1.8 -> 1.9) ---- Diffs: ================================================================ Index: SPECS/gavl.spec diff -u SPECS/gavl.spec:1.8 SPECS/gavl.spec:1.9 --- SPECS/gavl.spec:1.8 Sun Apr 13 19:37:18 2008 +++ SPECS/gavl.spec Thu Aug 21 11:55:20 2008 @@ -1,22 +1,28 @@ # $Revision$, $Date$ +# +# Conditional build: +%bcond_without apidocs # without doc +# Summary: GMerlin Audio Video Library Summary(pl.UTF-8): Biblioteka audio/video GMerlin Name: gavl -Version: 0.2.7 -Release: 2 +Version: 1.0.1 +Release: 1 License: GPL Group: Libraries Source0: http://dl.sourceforge.net/gmerlin/%{name}-%{version}.tar.gz -# Source0-md5: a52fdbd94ed9432c956d269bc8893915 +# Source0-md5: 7cb1037cec10f5a8a6a74d05e112169c Patch0: %{name}-make.patch -Patch1: %{name}-pc.patch URL: http://gmerlin.sourceforge.net/gavl_frame.html BuildRequires: autoconf >= 2.50 BuildRequires: automake +%{?with_apidocs:BuildRequires: doxygen} BuildRequires: libpng-devel BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define specflags -fomit-frame-pointer -ffast-math + %description GMerlin Audio Video Library. @@ -50,7 +56,6 @@ %prep %setup -q %patch0 -p1 -%patch1 -p0 %build %{__libtoolize} @@ -61,6 +66,7 @@ %configure \ --enable-shared \ --enable-static \ + %{!?with_apidocs:--without-doxygen} \ --with-cpuflags=none %{__make} @@ -69,6 +75,7 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc/%{name} %clean rm -rf $RPM_BUILD_ROOT @@ -79,14 +86,14 @@ %files %defattr(644,root,root,755) %doc AUTHORS README TODO +%ghost %attr(755,root,root) %{_libdir}/libgavl.so.0 %attr(755,root,root) %{_libdir}/libgavl.so.*.*.* %files devel %defattr(644,root,root,755) -%doc doc/apiref +%{?with_apidocs:%doc doc/apiref} %attr(755,root,root) %{_libdir}/libgavl.so %{_libdir}/libgavl.la -%{_libdir}/gavl %{_includedir}/gavl %{_pkgconfigdir}/gavl.pc @@ -100,6 +107,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.9 2008/08/21 09:55:20 gotar +- upgraded to 1.0.1, +- specflags taken from Makefile + Revision 1.8 2008/04/13 17:37:18 arekm - rel 2; fix include path ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gavl.spec?r1=1.8&r2=1.9&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
