Name: curl
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
-Version: 7.50.2
+Version: 7.53.1
Release: 1
Group: Applications/Internet
License: MIT
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(openssl)
-BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libcares)
BuildRequires: pkgconfig(libnghttp2)
%endif
--with-ca-path==/etc/ssl/certs \
--with-ca-bundle=/etc/ssl/ca-bundle.pem \
---with-libidn \
+--with-glib2 \
--with-lber-lib=lber \
--enable-manual --enable-versioned-symbols --enable-ares --enable-debug --enable-curldebug \
--disable-static \
find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
rm -rf ${RPM_BUILD_ROOT}/usr/share/man
-# LICENSE
-rm -rf %{buildroot}/usr/share/license
-mkdir -p %{buildroot}/usr/share/license
-cp COPYING %{buildroot}/usr/share/license/%{name}
-
%post -n libcurl -p /sbin/ldconfig
%postun -n libcurl -p /sbin/ldconfig
%files
%{_bindir}/curl
+%license COPYING
%files -n libcurl
%manifest %{name}.manifest
%{_libdir}/libcurl.so.*
-/usr/share/license/%{name}
+%license COPYING
%files -n libcurl-devel
%{_bindir}/curl-config*