Author: sparky Date: Sat Dec 10 18:00:52 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added without png bcond
---- Files affected: SPECS: slang.spec (1.105 -> 1.106) ---- Diffs: ================================================================ Index: SPECS/slang.spec diff -u SPECS/slang.spec:1.105 SPECS/slang.spec:1.106 --- SPECS/slang.spec:1.105 Fri Nov 18 20:53:59 2005 +++ SPECS/slang.spec Sat Dec 10 19:00:45 2005 @@ -1,4 +1,8 @@ # $Revision$, $Date$ +# +# Conditional build: +%bcond_without png # build slang without PNG module +# Summary: Shared library for C like extension language Summary(de): Shared Library für eine C-artige Sprache Summary(es): Biblioteca compartida para leguaje de extensión semejante a C @@ -23,7 +27,7 @@ URL: http://www.s-lang.org/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: libpng-devel +%{?with_png:BuildRequires: libpng-devel} BuildRequires: pcre-devel Requires: %{name}-libs = %{epoch}:%{version}-%{release} Obsoletes: libslang1 @@ -233,7 +237,7 @@ %build %configure \ --with-pcre \ - --with-png + %{?with_png:--with-png} %{__make} elf \ ELF_CFLAGS="%{rpmcflags} -fPIC" @@ -298,9 +302,11 @@ %defattr(644,root,root,755) %{_libdir}/libslang*.a +%if %{with png} %files png %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/v2/modules/png-module.so +%endif %files pcre %defattr(644,root,root,755) @@ -312,6 +318,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.106 2005/12/10 18:00:45 sparky +- added without png bcond + Revision 1.105 2005/11/18 19:53:59 qboosh - updated pl and deps ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/slang.spec?r1=1.105&r2=1.106&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
