]> git.pld-linux.org Git - packages/curl.git/commitdiff
- updated to 6.3.1, curl-6_3_1-1
authorkloczek <kloczek@pld-linux.org>
Thu, 6 Jan 2000 02:21:17 +0000 (02:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rewritesd in PLD packaging style,
- updated Source url and URL.

Changed files:
    curl.spec -> 1.2

curl.spec

index a03a2ed738462846c90534d83bbc6882e5db11cd..bc421643d6efcb8f70d292bd8c3e33db7860ac0a 100644 (file)
--- a/curl.spec
+++ b/curl.spec
@@ -1,60 +1,51 @@
-%define name curl
-%define version 5.11
-%define release 3
-%define prefix /usr
-
-%define builddir $RPM_BUILD_DIR/%{name}-%{version}
-
-Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Copyright: MPL
-Vendor: Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
-Packager: Troy Engel <tengel@sonic.net>
-Group: Applications/Internet
-Source: %{name}-%{version}.tar.gz
-URL: http://www.fts.frontec.se/~dast/curl/
-BuildRoot: /var/tmp/%{name}-%{version}-root
+Summary:       A utility for getting files from remote servers (FTP, HTTP, and others).
+Name:          curl
+Version:       6.3.1
+Release:       1
+Copyright:     MPL
+Vendor:                Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
+Group:         Applications/Networking
+Group(pl):     Aplikacje/Sieciowe
+Source:                http://curl.haxx.nu/stuff/%{name}-%{version}.tar.gz
+URL:           http://curl.haxx.nu/
+BuildRequires: openssl-devel
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
-cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and
-Dict servers, using any of the supported protocols. cURL is designed
-to work without user interaction or any kind of interactivity. cURL
-offers many useful capabilities, like proxy support, user
-authentication, FTP upload, HTTP post, and file transfer resume.  Note
-that while cURL also supports the SSL protocol, this version is
-compiled without SSL (https:) support.
+cURL is a tool for getting files with URL syntax, supporting FTP, HTTP,
+HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. cURL supports HTTP POST, HTTP
+PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password
+authentication and a busload of other useful tricks. The main use for curl
+is when you want to get or send files automatically to or from a site using
+one of the supported protocols.
+
+cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict
+servers, using any of the supported protocols. cURL is designed to work
+without user interaction or any kind of interactivity. cURL offers many
+useful capabilities, like proxy support, user authentication, FTP upload,
+HTTP post, and file transfer resume. Note that while cURL also supports the
+SSL protocol, this version is compiled without SSL (https:) support.
 
 %prep
-rm -rf $RPM_BUILD_ROOT
-rm -rf %{builddir}
-
 %setup -q 
 
 %build
-export CFLAGS=$RPM_OPT_FLAGS 
-./configure --prefix=%{prefix}
+LDFLAGS="-s"; export LDFLAGS
+%configure \
+       --with-ssl=/usr
 make 
 
 %install
-make prefix=$RPM_BUILD_ROOT%{prefix} install-strip
+rm -rf $RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
 
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
+       README* CHANGES CONTRIBUTE FAQ LEGAL MPL-1.0.txt RESOURCES TODO
 %clean
 rm -rf $RPM_BUILD_ROOT
-rm -rf %{builddir}
 
 %files
-%defattr(-,root,root)
-%attr(0755,root,root) %{prefix}/bin/curl
-/usr/man/man1/curl.1
-%doc curl.1 README* CHANGES CONTRIBUTE FAQ INSTALL LEGAL MPL-1.0.txt RESOURCES TODO perl/
-
-%changelog 
-* Mon Aug 30 1999 Tim Powers <timp@redhat.com>
-- changed group
-
-* Thu Aug 26 1999 Tim Powers <timp@redhat.com>
-- changelog started
-- general cleanups, changed prefix to /usr, added manpage to files section
-- including in Powertools
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/curl
+%{_mandir}/man1/*
This page took 0.277215 seconds and 4 git commands to generate.