6 %define curlroot
%{_builddir}/%{tarball}-%{version}
8 Summary: get a file from an FTP or HTTP server.
12 Copyright: MIT
/X derivate
13 Vendor: Daniel Stenberg
<Daniel.Stenberg@haxx.se
>
14 Packager: Troy Engel
<tengel@sonic.net
>
15 Group: Utilities
/Console
16 Source: %{tarball}-%{version}.tar.gz
17 URL: http
://curl.haxx.se
/
20 BuildRoot: %{_tmppath}/%{tarball}-%{version}-root
21 Requires: openssl
>= 0.9.5
24 curl is a client to get documents
/files from servers
, using any of the
25 supported protocols. The
command is designed to work without user
26 interaction or any kind of interactivity.
28 curl offers a busload of useful tricks like proxy support
, user
29 authentication
, ftp upload
, HTTP post
, file transfer resume and more.
32 Summary: The includes
, libs
, and man pages to develop with libcurl
33 Group: Development
/Libraries
34 Requires: openssl
-devel
>= 0.9.5
38 libcurl is the core engine of curl
; this packages contains all the libs
,
39 headers
, and manual pages to develop applications using libcurl.
43 %setup -q
-n
%{tarball}-%{version}
46 cd %{curlroot} && (if [ -f configure.
in ]; then mv
-f configure.
in configure.
in.rpm
; fi)
48 cd %{curlroot} && (if [ -f configure.
in.rpm
]; then mv
-f configure.
in.rpm configure.
in; fi)
52 [ "
%{buildroot}" != "/" ] && rm -rf %{buildroot}
53 make DESTDIR
=%{buildroot} install-strip
56 [ "
%{buildroot}" != "/" ] && rm -rf %{buildroot}
57 [ "
%{curlroot}" != "/" ] && rm -rf %{curlroot}
67 %attr(0755,root
,root
) %{_bindir}/curl
68 %attr(0644,root
,root
) %{_mandir}/man1
/curl
.1*
69 %{_libdir}/libcurl.so
*
70 %{_datadir}/curl
/curl
-ca
-bundle.crt
71 %doc CHANGES COPYING README testcurl.sh docs
/BUGS docs
/SSLCERTS
72 %doc docs
/CONTRIBUTE docs
/FAQ docs
/FEATURES docs
/HISTORY docs
/INSTALL
73 %doc docs
/KNOWN_BUGS docs
/MANUAL docs
/RESOURCES docs
/THANKS
74 %doc docs
/TODO docs
/VERSIONS docs
/TheArtOfHttpScripting tests
78 %attr(0755,root
,root
) %{_bindir}/curl
-config
79 %attr(0644,root
,root
) %{_mandir}/man1
/curl
-config
.1*
80 %attr(0644,root
,root
) %{_mandir}/man3
/*
81 %attr(0644,root
,root
) %{_includedir}/curl
/*
84 %doc docs
/BINDINGS docs
/INTERNALS docs
/examples
/* docs
/libcurl
-the
-guide