[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: A utility for getting files from remote servers (FTP, HTTP, and others). |
---|
| 4 | Summary(ja): リモートサーバ(FTP,HTTPなど)からファイルを取得するためのユーティリティ |
---|
| 5 | Name: curl |
---|
[890] | 6 | Version: 7.20.1 |
---|
[1919] | 7 | Release: 2%{?_dist_release} |
---|
[521] | 8 | License: MIT/X |
---|
| 9 | Group: Applications/Internet |
---|
| 10 | Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2 |
---|
| 11 | URL: http://curl.haxx.se/ |
---|
[890] | 12 | |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[890] | 14 | BuildRequires: openssl-devel libidn-devel zlib-devel |
---|
| 15 | BuildRequires: openldap-devel gnutls-devel |
---|
[521] | 16 | Requires: openssl libidn zlib |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and |
---|
| 20 | Dict servers, using any of the supported protocols. cURL is designed |
---|
| 21 | to work without user interaction or any kind of interactivity. cURL |
---|
| 22 | offers many useful capabilities, like proxy support, user |
---|
| 23 | authentication, FTP upload, HTTP post, and file transfer resume. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
[890] | 26 | Summary: Files needed for building applications with libcurl. |
---|
[521] | 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: openssl-devel libidn-devel zlib-devel |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and |
---|
| 33 | Dict servers, using any of the supported protocols. The curl-devel |
---|
| 34 | package includes files needed for developing applications which can |
---|
| 35 | use cURL's capabilities internally. |
---|
| 36 | #' |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | ## to build compat32 for x86_64 architecture support |
---|
| 40 | %package -n compat32-%{name} |
---|
| 41 | Summary: A utility for getting files from remote servers (FTP, HTTP, and others). |
---|
| 42 | Summary(ja): リモートサーバ(FTP,HTTPなど)からファイルを取得するためのユーティリティ |
---|
| 43 | Group: System Environment/Libraries |
---|
| 44 | |
---|
| 45 | %description -n compat32-%{name} |
---|
| 46 | cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and |
---|
| 47 | Dict servers, using any of the supported protocols. cURL is designed |
---|
| 48 | to work without user interaction or any kind of interactivity. cURL |
---|
| 49 | offers many useful capabilities, like proxy support, user |
---|
| 50 | authentication, FTP upload, HTTP post, and file transfer resume. |
---|
| 51 | |
---|
| 52 | %package -n compat32-%{name}-devel |
---|
| 53 | Summary: Files needed for building applications with libcurl. |
---|
| 54 | Group: Development/Libraries |
---|
| 55 | |
---|
| 56 | %description -n compat32-%{name}-devel |
---|
| 57 | cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and |
---|
| 58 | Dict servers, using any of the supported protocols. The curl-devel |
---|
| 59 | package includes files needed for developing applications which can |
---|
| 60 | use cURL's capabilities internally. |
---|
| 61 | #' |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %prep |
---|
| 65 | %setup -q |
---|
| 66 | |
---|
| 67 | %build |
---|
[890] | 68 | %configure --with-ssl=%{_prefix} --with-gnutls --with-libidn --enable-ipv6 --disable-static |
---|
[521] | 69 | %ifarch alpha |
---|
| 70 | make %{?_smp_mflags} CFLAGS="" |
---|
| 71 | %else |
---|
| 72 | make %{?_smp_mflags} |
---|
| 73 | %endif |
---|
| 74 | |
---|
| 75 | %install |
---|
| 76 | rm -rf $RPM_BUILD_ROOT |
---|
| 77 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 78 | |
---|
| 79 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
| 83 | |
---|
| 84 | %post -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %postun -p /sbin/ldconfig |
---|
| 87 | |
---|
| 88 | %files |
---|
| 89 | %defattr(-,root,root) |
---|
| 90 | %doc CHANGES COPYING README |
---|
| 91 | %doc docs/BUGS docs/CONTRIBUTE docs/examples docs/FAQ docs/FEATURES |
---|
| 92 | %doc docs/INSTALL docs/INTERNALS docs/MANUAL docs/RESOURCES |
---|
| 93 | %doc docs/TheArtOfHttpScripting docs/TODO |
---|
| 94 | %{_bindir}/curl |
---|
| 95 | #{_datadir}/curl/* |
---|
| 96 | %{_libdir}/*.so.* |
---|
| 97 | %{_mandir}/man1/curl.1* |
---|
| 98 | |
---|
| 99 | %files devel |
---|
| 100 | %defattr(-,root,root) |
---|
| 101 | %{_bindir}/curl-config |
---|
| 102 | %{_includedir}/curl |
---|
| 103 | %{_libdir}/*.so |
---|
| 104 | %{_libdir}/pkgconfig/*.pc |
---|
| 105 | %{_mandir}/man1/curl-config.1* |
---|
| 106 | %{_mandir}/man3/* |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | ## to build compat32 for x86_64 architecture support |
---|
| 110 | %if %{build_compat32} |
---|
| 111 | %files -n compat32-%{name} |
---|
| 112 | %defattr(-,root,root) |
---|
| 113 | %{_libdir}/*.so.* |
---|
| 114 | |
---|
| 115 | %files -n compat32-%{name}-devel |
---|
| 116 | %defattr(-,root,root) |
---|
| 117 | %{_libdir}/*.so |
---|
| 118 | %{_libdir}/pkgconfig/*.pc |
---|
| 119 | %endif |
---|
| 120 | |
---|
| 121 | %changelog |
---|
[1919] | 122 | * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 7.20.1-2 |
---|
| 123 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 124 | |
---|
[890] | 125 | * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.20.1-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[521] | 128 | * Thu Aug 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.19.6-1 |
---|
| 129 | - new upstream release with security fix |
---|
| 130 | |
---|
| 131 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 7.19.5-2 |
---|
| 132 | - added compat32 subpackages |
---|
| 133 | |
---|
| 134 | * Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 7.19.5-1 |
---|
| 135 | - new upstream release |
---|
| 136 | - use "_smp_mflags" flag |
---|
| 137 | |
---|
| 138 | * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.19.4-2 |
---|
| 139 | - rebuild with openldap-2.4.11 |
---|
| 140 | - add BR: openldap-devel |
---|
| 141 | - remove static library |
---|
| 142 | |
---|
| 143 | * Sat Mar 07 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 7.19.4-1 |
---|
| 144 | - new upstream release with security fix (CVE-2009-0037) |
---|
| 145 | |
---|
| 146 | * Sun Jul 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.18.2-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
| 149 | * Tue Apr 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.18.1-1vl5 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
| 152 | * Wed Mar 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.18.0-1vl5 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
| 155 | * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.17.1-0vl1 |
---|
| 156 | - new upstream release |
---|
| 157 | |
---|
| 158 | * Wed Jul 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.16.4-0vl1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
| 161 | * Sat May 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.16.2-0vl2 |
---|
| 162 | - rebuilt with openssl-0.9.8e |
---|
| 163 | |
---|
| 164 | * Sun May 13 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.16.2-0vl1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
| 167 | * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.15.3-0vl1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
| 170 | * Tue Feb 28 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.15.2-0vl1 |
---|
| 171 | - new upstream release |
---|
| 172 | - add pkgconfig file to devel package |
---|
| 173 | |
---|
| 174 | * Wed Dec 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.15.1-0vl1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
| 177 | * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.15.0-0vl1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
| 180 | * Fri Sep 2 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.14.1-0vl1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
| 183 | * Mon Feb 14 2005 Satoshi MACHINO <machino@vinelinux.org> 7.13.0-0vl3 |
---|
| 184 | - added libidn, zlib in Requires |
---|
| 185 | - added libidn-devel, zlib-devel in BuildPrereq |
---|
| 186 | - added zlib-devel in curl-devel's Requires |
---|
| 187 | |
---|
| 188 | * Sun Feb 13 2005 Satoshi MACHINO <machino@vinelinux.org> 7.13.0-0vl2 |
---|
| 189 | - added openssl-devel, libidn-devel in curl-devel's Requires |
---|
| 190 | |
---|
| 191 | * Sun Feb 13 2005 Satoshi MACHINO <machino@vinelinux.org> 7.13.0-0vl1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Tue Mar 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.11.1-0vl1 |
---|
| 195 | - new upstream release |
---|
| 196 | - rebuild with openssl-0.9.7d |
---|
| 197 | |
---|
| 198 | * Sun Sep 14 2003 HOTTA Michihide <hotta@net-newbie.com> 7.10.7-0vl1 |
---|
| 199 | - upstream release |
---|
| 200 | |
---|
| 201 | * Sat Feb 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.10.3-0vl2 |
---|
| 202 | - add %%{_datadir}/curl/* to %%files section |
---|
| 203 | |
---|
| 204 | * Sun Jan 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.10.3-0vl1 |
---|
| 205 | - source upgrade |
---|
| 206 | |
---|
| 207 | * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.9.8-0vl1 |
---|
| 208 | - source upgrade |
---|
| 209 | - add PreReq: ldconfig |
---|
| 210 | - add %%{_libdir}/*.la to %%files devel section |
---|
| 211 | |
---|
| 212 | * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 7.9.2-2vl1 |
---|
| 213 | - build for VineSeed |
---|
| 214 | - add Requires: openssl |
---|
| 215 | |
---|
| 216 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
| 217 | - automated rebuild |
---|
| 218 | |
---|
| 219 | * Wed Jan 9 2002 Trond Eivind Glomsr.A綬d <teg@redhat.com> 7.9.2-1 |
---|
| 220 | - 7.9.2 |
---|
| 221 | |
---|
| 222 | * Fri Aug 17 2001 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 223 | - include curl-config in curl-devel |
---|
| 224 | - update to 7.8 to fix memory leak and strlcat() symbol pollution from libcurl |
---|
| 225 | |
---|
| 226 | * Wed Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> |
---|
| 227 | - added openssl-devel build req |
---|
| 228 | |
---|
| 229 | * Mon May 21 2001 Tim Powers <timp@redhat.com> |
---|
| 230 | - built for the distro |
---|
| 231 | |
---|
| 232 | * Tue Apr 24 2001 Jeff Johnson <jbj@redhat.com> |
---|
| 233 | - upgrade to curl-7.7.2. |
---|
| 234 | - enable IPv6. |
---|
| 235 | |
---|
| 236 | * Fri Mar 2 2001 Tim Powers <timp@redhat.com> |
---|
| 237 | - rebuilt against openssl-0.9.6-1 |
---|
| 238 | |
---|
| 239 | * Thu Jan 4 2001 Tim Powers <timp@redhat.com> |
---|
| 240 | - fixed mising ldconfigs |
---|
| 241 | - updated to 7.5.2, bug fixes |
---|
| 242 | |
---|
| 243 | * Mon Dec 11 2000 Tim Powers <timp@redhat.com> |
---|
| 244 | - updated to 7.5.1 |
---|
| 245 | |
---|
| 246 | * Mon Nov 6 2000 Tim Powers <timp@redhat.com> |
---|
| 247 | - update to 7.4.1 to fix bug #20337, problems with curl -c |
---|
| 248 | - not using patch anymore, it's included in the new source. Keeping |
---|
| 249 | for reference |
---|
| 250 | |
---|
| 251 | * Fri Oct 20 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 252 | - fix bogus req in -devel package |
---|
| 253 | |
---|
| 254 | * Fri Oct 20 2000 Tim Powers <timp@redhat.com> |
---|
| 255 | - devel package needed defattr so that root owns the files |
---|
| 256 | |
---|
| 257 | * Mon Oct 16 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 258 | - update to 7.3 |
---|
| 259 | - apply vsprintf/vsnprintf patch from Colin Phipps via Debian |
---|
| 260 | |
---|
| 261 | * Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 262 | - enable SSL support |
---|
| 263 | - fix packager tag |
---|
| 264 | - move buildroot to %%{_tmppath} |
---|
| 265 | |
---|
| 266 | * Tue Aug 1 2000 Tim Powers <timp@redhat.com> |
---|
| 267 | - fixed vendor tag for bug #15028 |
---|
| 268 | |
---|
| 269 | * Mon Jul 24 2000 Prospector <prospector@redhat.com> |
---|
| 270 | - rebuilt |
---|
| 271 | |
---|
| 272 | * Tue Jul 11 2000 Tim Powers <timp@redhat.com> |
---|
| 273 | - workaround alpha build problems with optimizations |
---|
| 274 | |
---|
| 275 | * Mon Jul 10 2000 Tim Powers <timp@redhat.com> |
---|
| 276 | - rebuilt |
---|
| 277 | |
---|
| 278 | * Mon Jun 5 2000 Tim Powers <timp@redhat.com> |
---|
| 279 | - put man pages in correct place |
---|
| 280 | - use %%makeinstall |
---|
| 281 | |
---|
| 282 | * Mon Apr 24 2000 Tim Powers <timp@redhat.com> |
---|
| 283 | - updated to 6.5.2 |
---|
| 284 | |
---|
| 285 | * Wed Nov 3 1999 Tim Powers <timp@redhat.com> |
---|
| 286 | - updated sources to 6.2 |
---|
| 287 | - gzip man page |
---|
| 288 | |
---|
| 289 | * Mon Aug 30 1999 Tim Powers <timp@redhat.com> |
---|
| 290 | - changed group |
---|
| 291 | |
---|
| 292 | * Thu Aug 26 1999 Tim Powers <timp@redhat.com> |
---|
| 293 | - changelog started |
---|
| 294 | - general cleanups, changed prefix to /usr, added manpage to files section |
---|
| 295 | - including in Powertools |
---|