ソースを参照

upgrading package: gd 2.0.2 -> 2.0.3

Thomas Lotterer 23 年 前
コミット
5781a37fc4
1 ファイル変更7 行追加2 行削除
  1. 7 2
      gd/gd.spec

+ 7 - 2
gd/gd.spec

@@ -32,8 +32,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Graphics
 License:      GPL
-Version:      2.0.2
-Release:      20021022
+Version:      2.0.3
+Release:      20021023
 
 #   list of sources
 Source0:      http://www.boutell.com/gd/http/gd-%{version}.tar.gz
@@ -70,6 +70,8 @@ Provides:     GD
         -e 's;$includeDirs;;' \
         -e 's;$libDirs;;' \
         -e 's;$compiler;;' \
+        -e 's;$safePrograms;pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng annotate;' \
+        -e 's;$installCommands.*;;' \
         -e 's;$installPrefix;%{l_prefix};' \
         -e 's;sh \./install-item ;%{l_shtool} install -c -m ;' \
         -e 's;\\\(.\);\1;g' \
@@ -94,6 +96,9 @@ Provides:     GD
         INSTALL_BIN=$RPM_BUILD_ROOT%{l_prefix}/bin \
         INSTALL_LIB=$RPM_BUILD_ROOT%{l_prefix}/lib \
         INSTALL_INCLUDE=$RPM_BUILD_ROOT%{l_prefix}/include
+	%{l_shtool} install -c -m 755 \
+        bdftogd pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng annotate \
+        $RPM_BUILD_ROOT%{l_prefix}/bin
     %{l_shtool} install -c -m 644 \
         libgd.a $RPM_BUILD_ROOT%{l_prefix}/lib
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2> /dev/null || true