adding curl history
This commit is contained in:
parent
5527d7206d
commit
71391738a5
61 changed files with 4564 additions and 0 deletions
75
curl/curl-ssl-7.1-1.spec
Normal file
75
curl/curl-ssl-7.1-1.spec
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
%define name curl-ssl
|
||||
%define tarball curl
|
||||
%define version 7.1
|
||||
%define release 1
|
||||
%define prefix /usr
|
||||
|
||||
%define builddir $RPM_BUILD_DIR/%{tarball}-%{version}
|
||||
|
||||
Summary: get a file from a FTP, GOPHER or HTTP server.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Copyright: MPL
|
||||
Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.nu>
|
||||
Packager: Troy Engel <tengel@sonic.net>
|
||||
Group: Utilities/Console
|
||||
Source: %{tarball}-%{version}.tar.gz
|
||||
URL: http://curl.haxx.nu/
|
||||
BuildRoot: /tmp/%{tarball}-%{version}-root
|
||||
|
||||
%description
|
||||
curl is a client to get documents/files from servers, using any of the
|
||||
supported protocols. The command is designed to work without user
|
||||
interaction or any kind of interactivity.
|
||||
|
||||
curl offers a busload of useful tricks like proxy support, user
|
||||
authentication, ftp upload, HTTP post, file transfer resume and more.
|
||||
|
||||
%package devel
|
||||
Summary: The includes, libs, and man pages to develop with libcurl
|
||||
Group: Development/Libraries
|
||||
|
||||
%description devel
|
||||
libcurl is the core engine of curl; this packages contains all the libs,
|
||||
headers, and manual pages to develop applications using libcurl.
|
||||
|
||||
%prep
|
||||
rm -rf %{builddir}
|
||||
|
||||
%setup -n %{tarball}-%{version}
|
||||
|
||||
%build
|
||||
%configure --prefix=%{prefix}
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-strip
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{builddir}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%attr(0755,root,root) %{prefix}/bin/curl
|
||||
%attr(0644,root,root) %{prefix}/man/man1/*
|
||||
%{prefix}/lib/libcurl.so*
|
||||
%doc CHANGES FILES LEGAL MPL-1.0.txt README docs/BUGS docs/CONTRIBUTE
|
||||
%doc docs/FAQ docs/FEATURES docs/INSTALL docs/README* docs/RESOURCES
|
||||
%doc docs/TODO docs/TheArtOfHttpScripting docs/INTERNALS
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%attr(0644,root,root) %{prefix}/man/man3/*
|
||||
%attr(0644,root,root) %{prefix}/include/curl/*
|
||||
%{prefix}/lib/libcurl.a
|
||||
%{prefix}/lib/libcurl.la
|
||||
|
||||
Reference in a new issue