Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / packages / Linux / RPM / curl-ssl.spec.in
blobd953b3960047150fe67a4db57becd07464c79a01
1 %define name curl-ssl
2 %define tarball curl
3 %define version 7.11.0
4 %define release 1
6 %define curlroot %{_builddir}/%{tarball}-%{version}
8 Summary: get a file from an FTP or HTTP server.
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Copyright: MIT/X derivate
13 Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
14 Packager: Troy Engel <tengel@sonic.net>
15 Group: Utilities/Console
16 Source: %{tarball}-%{version}.tar.gz
17 URL: http://curl.haxx.se/
18 Provides: curl
19 Obsoletes: curl
20 BuildRoot: %{_tmppath}/%{tarball}-%{version}-root
21 Requires: openssl >= 0.9.5
23 %description
24 curl is a client to get documents/files from servers, using any of the
25 supported protocols. The command is designed to work without user
26 interaction or any kind of interactivity.
28 curl offers a busload of useful tricks like proxy support, user
29 authentication, ftp upload, HTTP post, file transfer resume and more.
31 %package devel
32 Summary: The includes, libs, and man pages to develop with libcurl
33 Group: Development/Libraries
34 Requires: openssl-devel >= 0.9.5
35 Provides: curl-devel
37 %description devel
38 libcurl is the core engine of curl; this packages contains all the libs,
39 headers, and manual pages to develop applications using libcurl.
41 %prep
43 %setup -q -n %{tarball}-%{version}
45 %build
46 cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in.rpm; fi)
47 %configure
48 cd %{curlroot} && (if [ -f configure.in.rpm ]; then mv -f configure.in.rpm configure.in; fi)
49 make
51 %install
52 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
53 make DESTDIR=%{buildroot} install-strip
55 %clean
56 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
57 [ "%{curlroot}" != "/" ] && rm -rf %{curlroot}
59 %post
60 /sbin/ldconfig
62 %postun
63 /sbin/ldconfig
65 %files
66 %defattr(-,root,root)
67 %attr(0755,root,root) %{_bindir}/curl
68 %attr(0644,root,root) %{_mandir}/man1/curl.1*
69 %{_libdir}/libcurl.so*
70 %{_datadir}/curl/curl-ca-bundle.crt
71 %doc CHANGES COPYING README testcurl.sh docs/BUGS docs/SSLCERTS
72 %doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY docs/INSTALL
73 %doc docs/KNOWN_BUGS docs/MANUAL docs/RESOURCES docs/THANKS
74 %doc docs/TODO docs/VERSIONS docs/TheArtOfHttpScripting tests
76 %files devel
77 %defattr(-,root,root)
78 %attr(0755,root,root) %{_bindir}/curl-config
79 %attr(0644,root,root) %{_mandir}/man1/curl-config.1*
80 %attr(0644,root,root) %{_mandir}/man3/*
81 %attr(0644,root,root) %{_includedir}/curl/*
82 %{_libdir}/libcurl.a
83 %{_libdir}/libcurl.la
84 %doc docs/BINDINGS docs/INTERNALS docs/examples/* docs/libcurl-the-guide