-%define ver 7.7.4
-%define prerel pre2
-
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: %{ver}%{prerel}
-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}-%{ver}-%{prerel}.tar.gz
+Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.gz
URL: http://curl.haxx.se/
-%{!?bcond_off_ssl:BuildRequires: openssl-devel >= 0.9.6a}
+%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Statyczna wersja biblioteki curl.
%prep
-%setup -q -n %{name}-%{ver}-%{prerel}
+%setup -q
%build
%configure \
- %{!?bcond_off_ssl:--with-ssl=/usr}
+%{!?_without_ssl:--with-ssl=%{_prefix}} \
+ --with-ipv6
%{__make}
%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/*