Jelajahi Sumber

finalize package ;)

Ralf S. Engelschall 24 tahun lalu
induk
melakukan
5dcac94eb9
1 mengubah file dengan 13 tambahan dan 7 penghapusan
  1. 13 7
      cadaver/cadaver.spec

+ 13 - 7
cadaver/cadaver.spec

@@ -25,7 +25,7 @@
 
 #   package information
 Name:         cadaver
-Summary:      command-line WebDAV client
+Summary:      Command-Line WebDAV client
 URL:          http://www.webdav.org/cadaver/
 Vendor:       Joe Orton
 Packager:     The OpenPKG Project
@@ -41,15 +41,16 @@ Source0:      http://www.webdav.org/cadaver/cadaver-%{version}.tar.gz
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20011227, libxml, neon
+BuildPreReq:  OpenPKG, openpkg >= 20011227, libxml, neon, zlib, openssl, libiconv, readline, ncurses
 PreReq:       OpenPKG, openpkg >= 20011227
 AutoReq:      no
 AutoReqProv:  no
 
 %description
-    cadaver is a command-line WebDAV client for Unix. It supports file upload,
-    download, on-screen display, namespace operations (move/copy), collection
-    creation and deletion, and locking operations.
+    Cadaver is a command-line WebDAV client for Unix. It supports
+    file upload, download, on-screen display, namespace operations
+    (move/copy), collection creation and deletion, and locking
+    operations.
 
 %prep
     %setup -q 
@@ -57,9 +58,14 @@ AutoReqProv:  no
 %build
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
+    CPPFLAGS="-I%{l_prefix}/include" \
+    LDFLAGS="-L%{l_prefix}/lib" \
+    XML2_CONFIG="%{l_prefix}/bin/xml2-config" \
     ./configure \
         --prefix=%{l_prefix} \
-        --with-neon=%{l_prefix}
+        --without-included-neon \
+        --with-neon=%{l_prefix} \
+        --with-ssl=%{l_prefix}
     %{l_make} %{l_mflags -O}
 
 %install
@@ -71,5 +77,5 @@ AutoReqProv:  no
 %files -f files
 
 %clean
-    # rm -rf $RPM_BUILD_ROOT
+    rm -rf $RPM_BUILD_ROOT