]> git.pld-linux.org Git - packages/pngcrush.git/commitdiff
- License is BSD-like not GPL
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 27 Apr 2004 19:54:45 +0000 (19:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pngcrush.spec -> 1.15

pngcrush.spec

index df163215f7a7308a4d9806cd43752f86cfc5d0d5..67b8f6396e82b4120ff5c2e0bc94f694ad50cb91 100644 (file)
@@ -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>' > png.h
 %endif
@@ -49,7 +49,7 @@ echo '#include <png.h>' > 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
This page took 0.043497 seconds and 4 git commands to generate.