2 %define version @VERSION@
6 %define builddir $RPM_BUILD_DIR
/%{name}-%{version}
8 Summary: get a file from an FTP or HTTP server.
13 Vendor: Daniel Stenberg
<Daniel.Stenberg@haxx.se
>
14 Packager: Loic Dachary
<loic@senga.org
>
15 Group: Utilities
/Console
16 Source: %{name}-%{version}.tar.gz
17 URL: http
://curl.haxx.se
/
18 BuildRoot: /tmp
/%{name}-%{version}-root
21 curl is a client to get documents
/files from servers
, using any of the
22 supported protocols. The
command is designed to work without user
23 interaction or any kind of interactivity.
25 curl offers a busload of useful tricks like proxy support
, user
26 authentication
, ftp upload
, HTTP post
, file transfer resume and more.
28 Note
: this version is compiled without SSL
(https
:) support.
31 Summary: The includes
, libs
, and man pages to develop with libcurl
32 Group: Development
/Libraries
35 libcurl is the core engine of curl
; this packages contains all the libs
,
36 headers
, and manual pages to develop applications using libcurl.
44 %configure --without
-ssl
--prefix
=%{prefix}
48 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR
=$RPM_BUILD_ROOT
install-strip
52 rm -rf $RPM_BUILD_ROOT
63 %attr(0755,root
,root
) %{_bindir}/curl
64 %attr(0644,root
,root
) %{_mandir}/man1
/*
65 %{prefix}/lib
/libcurl.so
*
66 %doc CHANGES LEGAL MITX.txt MPL
-1.1.txt README docs
/BUGS
67 %doc docs
/CONTRIBUTE docs
/FAQ docs
/FEATURES docs
/INSTALL docs
/INTERNALS
68 %doc docs
/LIBCURL docs
/MANUAL docs
/README
* docs
/RESOURCES docs
/TODO
69 %doc docs
/TheArtOfHttpScripting
73 %attr(0644,root
,root
) %{_mandir}/man3
/*
74 %attr(0644,root
,root
) %{_includedir}/curl
/*
75 %{prefix}/lib
/libcurl.a
76 %{prefix}/lib
/libcurl.la
80 * Sun Jan
7 2001 Loic Dachary
<loic@senga.org
>
82 - use _mandir instead of prefix to locate man pages because
83 _mandir is not always prefix
/man
/man?.