Summary: Rexx external function package to use cURL
Name: RexxCURL
Version: 1.4
Release: 1
License: LGPL
Group: Development/Languages
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Vendor: Mark Hessling
Packager: Mark Hessling
URL: http://rexxcurl.sourceforge.net
Provides: %{name}
Prefix: /usr
Icon: rxcurl64.xpm

%description
Rexx/CURL is an external function package for interfacing to cURL, 7.8 or
above.  It enables Rexx programmers to manipulate URL based resources
by calling functions that wrap the cURL easy functions provided in libcurl.
It is also available on several other operating systems.
For more information on Rexx/CURL, visit http://rexxcurl.sourceforge.net/
For more information on Rexx, visit http://www.rexxla.org/
For more information on cURL, visit http://curl.haxx.se/

%prep

%setup

%build
./configure --with-rexx=rexxtrans
make all doco

%install
rm -fr %{buildroot}
make DESTDIR=%{buildroot} install

%files
/usr/bin/rexxcurl
/usr/bin/rexxcurl-config
/usr/lib/librexxcurl.so
/usr/lib/librexxcurl.a
/usr/share/rexxcurl/testcurl.rexx
/usr/share/rexxcurl/httppost.rexx
/usr/share/rexxcurl/scp.rexx
/usr/share/rexxcurl/upload.rexx
/usr/share/rexxcurl/getright.rexx
/usr/share/rexxcurl/mirror.rexx
/usr/share/rexxcurl/README.txt
%doc index.html
%doc COPYING-LIB
%doc images

%post
ldconfig /usr/lib
