Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / packages / Linux / RPM / curl.spec.in
blob8b81726b7a98c9b7366fd87753be1d30f3573648
1 %define name curl
2 %define version @VERSION@
3 %define release 1
4 %define prefix /usr
6 %define builddir $RPM_BUILD_DIR/%{name}-%{version}
8 Summary: get a file from an FTP or HTTP server.
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Copyright: MPL
13 Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se>
14 Packager: Loic Dachary <loic@senga.org>
15 Group: Utilities/Console
16 Source: %{name}-%{version}.tar.gz
17 URL: http://curl.haxx.se/
18 BuildRoot: /tmp/%{name}-%{version}-root
20 %description
21 curl is a client to get documents/files from servers, using any of the
22 supported protocols. The command is designed to work without user
23 interaction or any kind of interactivity.
25 curl offers a busload of useful tricks like proxy support, user
26 authentication, ftp upload, HTTP post, file transfer resume and more.
28 Note: this version is compiled without SSL (https:) support.
30 %package devel
31 Summary: The includes, libs, and man pages to develop with libcurl
32 Group: Development/Libraries
34 %description devel
35 libcurl is the core engine of curl; this packages contains all the libs,
36 headers, and manual pages to develop applications using libcurl.
38 %prep
39 rm -rf %{builddir}
41 %setup
43 %build
44 %configure --without-ssl --prefix=%{prefix}
45 make
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR=$RPM_BUILD_ROOT install-strip
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53 rm -rf %{builddir}
55 %post
56 /sbin/ldconfig
58 %postun
59 /sbin/ldconfig
61 %files
62 %defattr(-,root,root)
63 %attr(0755,root,root) %{_bindir}/curl
64 %attr(0644,root,root) %{_mandir}/man1/*
65 %{prefix}/lib/libcurl.so*
66 %doc CHANGES LEGAL MITX.txt MPL-1.1.txt README docs/BUGS
67 %doc docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/INSTALL docs/INTERNALS
68 %doc docs/LIBCURL docs/MANUAL docs/README* docs/RESOURCES docs/TODO
69 %doc docs/TheArtOfHttpScripting
71 %files devel
72 %defattr(-,root,root)
73 %attr(0644,root,root) %{_mandir}/man3/*
74 %attr(0644,root,root) %{_includedir}/curl/*
75 %{prefix}/lib/libcurl.a
76 %{prefix}/lib/libcurl.la
77 %doc docs/examples/*
79 %changelog
80 * Sun Jan 7 2001 Loic Dachary <loic@senga.org>
82 - use _mandir instead of prefix to locate man pages because
83 _mandir is not always prefix/man/man?.