Changeset 447 for spec/trunk/SPECS/curl.spec
- Timestamp:
- Sep 2, 2014, 12:24:47 PM (11 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/curl.spec (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/curl.spec
r282 r447 1 1 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) 2 2 Name: curl 3 Version: 7. 21.14 Release: 4%{?dist}3 Version: 7.37.0 4 Release: 1%{?dist} 5 5 License: MIT 6 6 Group: Applications/Internet 7 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.gz 8 9 Patch0: curl-os2.diff 7 #Source: http://curl.haxx.se/download/%{name}-%{version}.tar.gz 10 8 11 9 Provides: webclient … … 13 11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 14 12 15 #BuildRequires: automake 13 %define svn_url http://svn.netlabs.org/repos/ports/curl/trunk 14 %define svn_rev 831 15 16 Source: %{name}-%{version}-r%{svn_rev}.zip 17 18 BuildRequires: gcc make subversion zip automake libtool 19 16 20 #BuildRequires: groff 17 21 #BuildRequires: krb5-devel … … 73 77 74 78 %prep 79 %if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi') 75 80 %setup -q 81 %else 82 %setup -n "%{name}-%{version}" -Tc 83 svn export -r %{svn_rev} %{svn_url} . --force 84 rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" 85 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}") 86 %endif 76 87 77 88 # Convert docs to UTF-8 … … 82 93 #done 83 94 84 %patch0 -p1 -b .os2~ 95 # make sure configure is updated to properly support OS/2 96 buildconf 85 97 86 98 #autoreconf … … 89 101 90 102 %build 91 export CONFIG_SHELL="/@unixroot/usr/bin/sh.exe" 92 export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" ; \ 93 export LIBS="-lurpo -lmmap -lpthread" ; \ 103 104 # curl m4 extensions override the nice autoconf PATH_SEPARATOR check with a very 105 # stupid method designed to always fail on Windows and OS/2 106 export PATH_SEPARATOR=';' 107 108 export CFLAGS="-Zomf $RPM_OPT_FLAGS" 109 export LDFLAGS="-Zomf -Zhigh-mem -Zargs-wild -Zargs-resp -Zbin-files" 110 export LIBS="-lurpo" 94 111 %configure \ 95 112 --disable-ipv6 \ … … 101 118 --without-libssh2 \ 102 119 --with-ssl --without-nss \ 103 --enable-shared --disable-static \ 104 "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache" 120 --enable-shared --disable-static 105 121 106 122 # uncomment to turn off optimizations … … 132 148 install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal 133 149 134 install -m 755 lib/curl7.dll $RPM_BUILD_ROOT/%{_libdir}135 #install -m 755 lib/.libs/curl.lib $RPM_BUILD_ROOT/%{_libdir}136 install -m 755 lib/.libs/curl_s.a $RPM_BUILD_ROOT/%{_libdir}137 138 150 #%define _curlbuild_h curlbuild-32.h 139 151 #mv $RPM_BUILD_ROOT%{_includedir}/curl/curlbuild.h \ … … 143 155 %clean 144 156 rm -rf $RPM_BUILD_ROOT 145 146 #%post -n libcurl -p /sbin/ldconfig147 148 #%postun -n libcurl -p /sbin/ldconfig149 157 150 158 %files … … 168 176 %{_includedir}/curl 169 177 %{_libdir}/*.a 170 #%{_libdir}/*.lib171 178 %{_libdir}/pkgconfig/*.pc 172 179 %{_mandir}/man1/curl-config.1* … … 175 182 176 183 %changelog 184 * Tue Sep 2 2014 Dmitriy Kuminov <coding@dmik.org> 7.37.0-1 185 - Update to version 7.37.0. 186 - Use proper sleep function on OS/2. 187 177 188 * Mon Jan 16 2012 yd 178 189 - rebuild with libc 0.6.4 runtime.
Note:
See TracChangeset
for help on using the changeset viewer.
