more curl via Wayback machine
This commit is contained in:
parent
ac751a9cb7
commit
7c4ffebbd0
2 changed files with 163 additions and 0 deletions
81
curl/curl-7.10.2-1.spec
Normal file
81
curl/curl-7.10.2-1.spec
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
%define name curl
|
||||||
|
%define version 7.10.2
|
||||||
|
%define release 1
|
||||||
|
|
||||||
|
%define curlroot %{_builddir}/%{name}-%{version}
|
||||||
|
|
||||||
|
Summary: get a file from a FTP, GOPHER or HTTP server.
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}
|
||||||
|
Copyright: MIT/X derivate
|
||||||
|
Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
|
||||||
|
Packager: Troy Engel <tengel@sonic.net>
|
||||||
|
Group: Utilities/Console
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Provides: curl
|
||||||
|
URL: http://curl.haxx.se/
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{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.
|
||||||
|
|
||||||
|
Note: this version is compiled without SSL (https:) support.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: The includes, libs, and man pages to develop with libcurl
|
||||||
|
Group: Development/Libraries
|
||||||
|
Provides: curl-devel
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
|
||||||
|
%configure --without-ssl
|
||||||
|
cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
make DESTDIR=%{buildroot} install-strip
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
[ "%{curlroot}" != "/" ] && rm -rf %{curlroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(0755,root,root) %{_bindir}/curl
|
||||||
|
%attr(0644,root,root) %{_mandir}/man1/curl.1*
|
||||||
|
%{_libdir}/libcurl.so*
|
||||||
|
%doc CHANGES COPYING README SSLCERTS docs/BUGS
|
||||||
|
%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY docs/INSTALL
|
||||||
|
%doc docs/KNOWN_BUGS docs/MANUAL docs/RESOURCES docs/THANKS
|
||||||
|
%doc docs/TODO docs/VERSIONS docs/TheArtOfHttpScripting tests
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(0755,root,root) %{_bindir}/curl-config
|
||||||
|
%attr(0644,root,root) %{_mandir}/man1/curl-config.1*
|
||||||
|
%attr(0644,root,root) %{_mandir}/man3/*
|
||||||
|
%attr(0644,root,root) %{_includedir}/curl/*
|
||||||
|
%{_libdir}/libcurl.a
|
||||||
|
%{_libdir}/libcurl.la
|
||||||
|
%doc docs/BINDINGS docs/INTERNALS docs/examples/* docs/libcurl-the-guide
|
||||||
82
curl/curl-7.10.2-2.spec
Normal file
82
curl/curl-7.10.2-2.spec
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
%define name curl
|
||||||
|
%define version 7.10.2
|
||||||
|
%define release 2
|
||||||
|
|
||||||
|
%define curlroot %{_builddir}/%{name}-%{version}
|
||||||
|
|
||||||
|
Summary: get a file from a FTP, GOPHER or HTTP server.
|
||||||
|
Name: %{name}
|
||||||
|
Version: %{version}
|
||||||
|
Release: %{release}
|
||||||
|
Copyright: MIT/X derivate
|
||||||
|
Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
|
||||||
|
Packager: Troy Engel <tengel@sonic.net>
|
||||||
|
Group: Utilities/Console
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Provides: curl
|
||||||
|
URL: http://curl.haxx.se/
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{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.
|
||||||
|
|
||||||
|
Note: this version is compiled without SSL (https:) support.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: The includes, libs, and man pages to develop with libcurl
|
||||||
|
Group: Development/Libraries
|
||||||
|
Provides: curl-devel
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
|
||||||
|
%configure --without-ssl
|
||||||
|
cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
make DESTDIR=%{buildroot} install-strip
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||||
|
[ "%{curlroot}" != "/" ] && rm -rf %{curlroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(0755,root,root) %{_bindir}/curl
|
||||||
|
%attr(0644,root,root) %{_mandir}/man1/curl.1*
|
||||||
|
%{_libdir}/libcurl.so*
|
||||||
|
%{_datadir}/curl/curl-ca-bundle.crt
|
||||||
|
%doc CHANGES COPYING README SSLCERTS docs/BUGS
|
||||||
|
%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY docs/INSTALL
|
||||||
|
%doc docs/KNOWN_BUGS docs/MANUAL docs/RESOURCES docs/THANKS
|
||||||
|
%doc docs/TODO docs/VERSIONS docs/TheArtOfHttpScripting tests
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(0755,root,root) %{_bindir}/curl-config
|
||||||
|
%attr(0644,root,root) %{_mandir}/man1/curl-config.1*
|
||||||
|
%attr(0644,root,root) %{_mandir}/man3/*
|
||||||
|
%attr(0644,root,root) %{_includedir}/curl/*
|
||||||
|
%{_libdir}/libcurl.a
|
||||||
|
%{_libdir}/libcurl.la
|
||||||
|
%doc docs/BINDINGS docs/INTERNALS docs/examples/* docs/libcurl-the-guide
|
||||||
Reference in a new issue