X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=curl.spec;h=d1d11ea9c2e46065fa4ecb09aafef1d6a6df25a4;hb=8941bb350e8cdbfe59a1d118d76a143396fb82e5;hp=73d80dc46a5741fb10599d83ad293ce459c1dbe9;hpb=f0842a096bcf89556e7c378280e68fba10a316a4;p=packages%2Fcurl.git diff --git a/curl.spec b/curl.spec index 73d80dc..d1d11ea 100644 --- a/curl.spec +++ b/curl.spec @@ -1,14 +1,16 @@ 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: 6.5.2 -Release: 1 +Version: 7.8 +Release: 2 License: MPL Vendor: Daniel Stenberg Group: Applications/Networking +Group(de): Applikationen/Netzwerkwesen Group(pl): Aplikacje/Sieciowe -Source0: http://curl.haxx.nu/stuff/%{name}-%{version}.tar.gz -URL: http://curl.haxx.nu/ -BuildRequires: openssl-devel +Source0: http://curl.haxx.se/download/%{name}-%{version}.tar.gz +URL: http://curl.haxx.se/ +%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.6a} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -23,9 +25,7 @@ cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. cURL is designed to work without user interaction or any kind of interactivity. cURL offers many useful capabilities, like proxy support, user -authentication, FTP upload, HTTP post, and file transfer resume. Note -that while cURL also supports the SSL protocol, this version is -compiled without SSL (https:) support. +authentication, FTP upload, HTTP post, and file transfer resume. %description -l pl cURL jest narzêdziem do ¶ci±gania plików o sk³adni URL. Obs³uguje FTP, @@ -34,30 +34,76 @@ HTTP POST, HTTP PUT, za oparte na formularzu, serwery proksy, ciasteczka, autoryzacja u¿ytkownik/has³o oraz wiele innych u¿ytecznych sztuczek. Curla u¿ywa siê g³ównie wtedy, kiedy chce siê automatycznie ¶ci±gn±æ lub wys³aæ -pliki z/na serwer u¿ywaj±c jednego z dostêpnych protoko³ów. Chocia¿ -cURL obs³uguje równie¿ protokó³ SSL, wersja ta jest skompilowana bez -obs³ugi SSL (https:). +pliki z/na serwer u¿ywaj±c jednego z dostêpnych protoko³ów. + +%package devel +Summary: Header files and development documentation for curl library +Summary(pl): Pliki nag³ówkowe i dokumentacja do biblioteki curl +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Requires: %{name} = %{version} + +%description devel +Header files and development documentation for curl library. + +%description -l pl devel +Pliki nag³ówkowe i dokumentacja do biblioteki curl. + +%package static +Summary: Static version of curl library +Summary(pl): Statyczna wersja biblioteki curl +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Requires: %{name}-devel = %{version} + +%description static +Static version of curl library. + +%description -l pl static +Statyczna wersja biblioteki curl. %prep -%setup -q +%setup -q %build -LDFLAGS="-s"; export LDFLAGS %configure \ - --with-ssl=/usr +%{!?_without_ssl:--with-ssl=%{_prefix}} \ + --with-ipv6 + %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} DESTDIR=$RPM_BUILD_ROOT install -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ - README* CHANGES CONTRIBUTE FAQ LEGAL MPL-1.0.txt RESOURCES TODO +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +gzip -9nf docs/{BUGS,RESOURCES,CONTRIBUTE,FEATURES,FAQ,INTERNALS,README*,TODO,TheArtOfHttpScripting} + %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(644,root,root,755) -%doc *.gz -%attr(755,root,root) %{_bindir}/curl +%doc docs/*.gz +%attr(755,root,root) %{_bindir}/%{name} +%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/* +%{_includedir}/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a