Explorar el Código

provide C API, because is used by some forthcoming packages

Ralf S. Engelschall hace 22 años
padre
commit
21bf952fec
Se han modificado 1 ficheros con 17 adiciones y 8 borrados
  1. 17 8
      uudeview/uudeview.spec

+ 17 - 8
uudeview/uudeview.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Converter
 License:      GPL
 Version:      0.5.18
-Release:      20020403
+Release:      20030530
 
 #   list of sources
 Source0:      http://www.fpx.de/fp/Software/UUDeview/download/uudeview-%{version}.tar.gz
@@ -47,13 +47,13 @@ AutoReq:      no
 AutoReqProv:  no
 
 %description
-     UUDeview is a program package that will help you to transmit and
-     receive binary files over electronic lines. It includes both an
-     encoder and a decoder. The decoder automatically detects the type
-     of encoding used, offering MIME Base64 and BinHex as well as the
-     popular uuencoding and the less frequently used xxencoding methods.
-     The encoder runs the other way around and encodes a binary file for
-     submittal by mail or news.
+    UUDeview is a program package that will help you to transmit and
+    receive binary files over electronic lines. It includes both an
+    encoder and a decoder. The decoder automatically detects the type
+    of encoding used, offering MIME Base64 and BinHex as well as the
+    popular uuencoding and the less frequently used xxencoding methods.
+    The encoder runs the other way around and encodes a binary file for
+    submittal by mail or news.
 
 %prep
     %setup -q
@@ -74,6 +74,15 @@ AutoReqProv:  no
     rm -rf $RPM_BUILD_ROOT
     %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+    %{l_shtool} mkdir -f -p -m 755 \
+        $RPM_BUILD_ROOT%{l_prefix}/include \
+        $RPM_BUILD_ROOT%{l_prefix}/lib
+    %{l_shtool} install -c -m 644 \
+        uulib/uudeview.h $RPM_BUILD_ROOT%{l_prefix}/include/
+    %{l_shtool} install -c -m 644 \
+        uulib/libuu.a $RPM_BUILD_ROOT%{l_prefix}/lib/
+    ln $RPM_BUILD_ROOT%{l_prefix}/lib/libuu.a \
+       $RPM_BUILD_ROOT%{l_prefix}/lib/libuudeview.a
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files