📄 curl-ssl.spec.in
字号:
%define name curl-ssl%define tarball curl%define version @VERSION@%define release 1%define prefix /usr%define builddir $RPM_BUILD_DIR/%{tarball}-%{version}Summary: get a file from a FTP, GOPHER or HTTP server.Name: %{name}Version: %{version}Release: %{release}Copyright: MPLVendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>Packager: Loic Dachary <loic@senga.org>Group: Utilities/ConsoleSource: %{tarball}-%{version}.tar.gzURL: http://curl.haxx.se/BuildRoot: /tmp/%{tarball}-%{version}-rootRequires: openssl >= 0.9.5%descriptioncurl is a client to get documents/files from servers, using any of thesupported protocols. The command is designed to work without userinteraction or any kind of interactivity.curl offers a busload of useful tricks like proxy support, userauthentication, ftp upload, HTTP post, file transfer resume and more.%package develSummary: The includes, libs, and man pages to develop with libcurlGroup: Development/LibrariesRequires: openssl-devel >= 0.9.5%description devellibcurl is the core engine of curl; this packages contains all the libs,headers, and manual pages to develop applications using libcurl.%preprm -rf %{builddir}%setup -n %{tarball}-%{version} %build%configure --prefix=%{prefix} --with-sslmake %installrm -rf $RPM_BUILD_ROOTmake DESTDIR=$RPM_BUILD_ROOT install-strip%cleanrm -rf $RPM_BUILD_ROOTrm -rf %{builddir}%post/sbin/ldconfig%postun/sbin/ldconfig%files%defattr(-,root,root)%attr(0755,root,root) %{_bindir}/curl%attr(0644,root,root) %{_mandir}/man1/*%{_libdir}/libcurl.so*%doc CHANGES LEGAL MITX.txt MPL-1.1.txt README docs/BUGS%doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/INSTALL docs/INTERNALS%doc docs/LIBCURL docs/MANUAL docs/README* docs/RESOURCES docs/TODO%doc docs/TheArtOfHttpScripting%files devel%defattr(-,root,root)%attr(0644,root,root) %{_mandir}/man3/*%attr(0644,root,root) %{_includedir}/curl/*%{_libdir}/libcurl.a%{_libdir}/libcurl.la%doc docs/examples/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -