Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Summary(pl): narzêdziem do ¶ci±gania plików z serwerów (FTP, HTTP i innych)
Name: curl
-Version: 7.6
-Release: 1
+Version: 7.8
+Release: 2
License: MPL
Vendor: Daniel Stenberg <Daniel.Stenberg@sth.frontec.se>
Group: Applications/Networking
Group(de): Applikationen/Netzwerkwesen
Group(pl): Aplikacje/Sieciowe
-Source0: http://curl.haxx.se/stuff/%{name}-%{version}.tar.gz
+Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.gz
URL: http://curl.haxx.se/
-BuildRequires: openssl-devel
+%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Requires: %{name}-devel = %{version}
%description static
-Static version of curl library
+Static version of curl library.
%description -l pl static
Statyczna wersja biblioteki curl.
%prep
-%setup -q
+%setup -q
%build
%configure \
- --with-ssl=/usr
+%{!?_without_ssl:--with-ssl=%{_prefix}} \
+ --with-ipv6
+
%{__make}
%install
%defattr(644,root,root,755)
%doc docs/*.gz
%attr(755,root,root) %{_bindir}/%{name}
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
%{_mandir}/man1/*
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}-config
%attr(755,root,root) %{_libdir}/lib*.so
%attr(755,root,root) %{_libdir}/lib*.la
%{_mandir}/man3/*