Bladeren bron

modifying package: pine-4.61L 20040716 -> 20041215

Ralf S. Engelschall 21 jaren geleden
bovenliggende
commit
37f7459abf
1 gewijzigde bestanden met toevoegingen van 19 en 10 verwijderingen
  1. 19 10
      pine/pine.spec

+ 19 - 10
pine/pine.spec

@@ -38,11 +38,12 @@ Class:        PLUS
 Group:        Mail
 License:      Free but restricted
 Version:      %{V_here}
-Release:      20040716
+Release:      20041215
 
 #   package options
-%option       with_ssl  no
-%option       with_ldap no
+%option       with_ssl   no
+%option       with_ldap  no
+%option       with_pico  no
 
 #   list of sources
 Source0:      ftp://ftp.cac.washington.edu/pine/pine%{V_real}.tar.bz2
@@ -110,13 +111,13 @@ AutoReqProv:  no
          -e "s;^\(#define SYSTEM_PINERC[ 	]\).*$;\1 \"$PINE_CONF\";" \
          -e "s;^\(#define SENDMAIL[ 	]\).*$;\1 \"$SENDMAIL\";" \
          $OS_DEP_FILE
-     case "%{l_platform -t}" in
-             *-sunos* )
-                    %{l_shtool} subst \
-                         -e "s;^#include <stropts.h>;;" \
-                         pico/osdep/read.pol
-             ;;
-     esac
+    case "%{l_platform -t}" in
+        *-sunos* )
+            %{l_shtool} subst \
+                -e "s;^#include <stropts.h>;;" \
+                pico/osdep/read.pol
+            ;;
+    esac
 
     #   clean up before building Pine
     sh ./build clean
@@ -162,6 +163,14 @@ AutoReqProv:  no
     %{l_shtool} install -c -s -m 755 \
         bin/pine \
         $RPM_BUILD_ROOT%{l_prefix}/bin/
+%if "%{with_pico}" == "yes"
+    %{l_shtool} install -c -s -m 755 \
+        bin/pico bin/pilot \
+        $RPM_BUILD_ROOT%{l_prefix}/bin/
+    %{l_shtool} install -c -m 644 \
+        doc/pico.1 doc/pilot.1 \
+        $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+%endif
     %{l_shtool} install -c -m 644 %{l_value -s -a} \
         %{SOURCE pine.conf.fixed} \
         %{SOURCE pine.conf} \