From: Jakub Bogusz Date: Tue, 27 Apr 2004 19:54:45 +0000 (+0000) Subject: - License is BSD-like not GPL X-Git-Tag: auto/ac/pngcrush-1_5_10-3~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=8be9d70649c1f6bb86c38562b7ddadc9b9587714;p=packages%2Fpngcrush.git - License is BSD-like not GPL Changed files: pngcrush.spec -> 1.15 --- diff --git a/pngcrush.spec b/pngcrush.spec index df16321..67b8f63 100644 --- a/pngcrush.spec +++ b/pngcrush.spec @@ -1,7 +1,7 @@ # # Conditional build: -# _with_systemlibs - use system libraries instead of modified ones -# (modified can give little better results) +%bcond_with systemlibs # use system libraries instead of modified ones +# (modified can give little better results) # Summary: Optimizer for png files Summary(pl): Optymalizator plików png @@ -9,12 +9,12 @@ Summary(pt_BR): Utilit Name: pngcrush Version: 1.5.10 Release: 2 -License: GPL +License: BSD-like (see README.txt) Group: Applications/Graphics Source0: http://dl.sourceforge.net/pmt/%{name}-%{version}.tar.bz2 # Source0-md5: a659cc4d9f7cf57bbc979193a054704f URL: http://pmt.sf.net/pngcrush/ -%if 0%{?_with_systemlibs:1} +%if %{with systemlibs} BuildRequires: libpng-devel BuildRequires: zlib-devel %endif @@ -40,7 +40,7 @@ Graphics). Ele pode comprimir os arquivos em at %prep %setup -q -%if 0%{?_with_systemlibs:1} +%if %{with systemlibs} # workaround for Makefile and #include "png.h" echo '#include ' > png.h %endif @@ -49,7 +49,7 @@ echo '#include ' > png.h %{__make} -f Makefile.gcc \ CC="%{__cc}" \ CFLAGS="%{rpmcflags} -Wall" \ -%if 0%{?_with_systemlibs:1} +%if %{with systemlibs} OBJS="pngcrush.o" \ LDFLAGS="%{rpmldflags} -lpng -lz" %endif