diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-16 00:09:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-16 00:09:26 +0000 |
commit | 6c0eafbb1395d426a72a74538e0b2a95e8344ca6 (patch) | |
tree | 2a5f80b80fc76086a2602b812c2a182d00f961b7 /Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in | |
parent | 70f7efeb5c9965a63a4143ad1c1f473585dc364c (diff) |
libs 1
git-svn-id: svn://tug.org/texlive/trunk@1483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in')
-rw-r--r-- | Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in b/Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in new file mode 100644 index 00000000000..15713bed80f --- /dev/null +++ b/Build/source/libs/curl/packages/Linux/RPM/curl-ssl.spec.in @@ -0,0 +1,78 @@ +%define name curl-ssl +%define tarball curl +%define version @VERSION@ +%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.se> +Packager: Loic Dachary <loic@senga.org> +Group: Utilities/Console +Source: %{tarball}-%{version}.tar.gz +URL: http://curl.haxx.se/ +BuildRoot: /tmp/%{tarball}-%{version}-root +Requires: openssl >= 0.9.5 + +%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 +Requires: openssl-devel >= 0.9.5 + +%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} --with-ssl +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) %{_bindir}/curl +%attr(0644,root,root) %{_mandir}/man1/* +%{_libdir}/libcurl.so* +%doc CHANGES LEGAL MITX.txt MPL-1.1.txt README docs/BUGS +%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/INSTALL docs/INTERNALS +%doc docs/LIBCURL docs/MANUAL docs/README* docs/RESOURCES docs/TODO +%doc docs/TheArtOfHttpScripting + +%files devel +%defattr(-,root,root) +%attr(0644,root,root) %{_mandir}/man3/* +%attr(0644,root,root) %{_includedir}/curl/* +%{_libdir}/libcurl.a +%{_libdir}/libcurl.la +%doc docs/examples/* |