forked from jpbarrette/curlpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
curlpp.spec.in
96 lines (70 loc) · 2.75 KB
/
curlpp.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Summary: cURLpp is a libcurl C++ wrapper
Name: cURLpp
Version: @RPM_VERSION@
Release: 1
License: MIT
Group: Development/Libraries
URL: http://rrette.com/curlpp.html
Source0: curlpp-@VERSION@.tar.gz
BuildRoot: %{_tmppath}/curlpp-@VERSION@-%{release}-buildroot
Requires: curl >= 7.10.0
%package devel
Summary: The includes and libs to develop with cURLpp
Group: Development/Libraries
Requires: curl >= 7.10.0
Provides: curlpp-devel
%description
cURLpp is a libcurl C++ wrapper. There is the libcurl description: "libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!
libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, Net/Free/Open BSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS and more... "
%description devel
This packages contains all the libs and headers to develop applications using cURLpp.
%prep
%setup -qn curlpp-@VERSION@
%build
%configure
make
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcurlpp.so*
%files devel
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/curlpp-config
%dir %{_includedir}/curlpp
%{_includedir}/curlpp/*.hpp
%{_includedir}/curlpp/*.inl
%{_includedir}/curlpp/*.h
%dir %{_includedir}/curlpp/utilspp
%dir %{_includedir}/curlpp/utilspp/singleton
%{_includedir}/curlpp/utilspp/singleton/*.hpp
%{_includedir}/curlpp/utilspp/singleton/*.inl
%dir %{_includedir}/utilspp
%{_includedir}/utilspp/*.hpp
%{_includedir}/utilspp/*.inl
%dir %{_includedir}/utilspp/functor
%{_includedir}/utilspp/functor/*.hpp
%{_libdir}/libcurlpp.la
%{_libdir}/libcurlpp.a
%{_libdir}/pkgconfig/curlpp.pc
%dir
%changelog
* Sun Jul 17 2005 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.5.1-1
- removed {%name} use
* Wed Jan 5 2005 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.3.2-rc1-1
- Version depends now on configure script
* Thu Sep 30 2004 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> 0.3.1-1
- Removed any utilspp reference. (Not used anymore)
* Thu Jun 17 2004 Jean-Philippe Barrette-LaPierre <jpbarrette@savoirfairelinux.net> 0.3.1-1
- Removed the unusefull BuildRequires
* Mon Oct 20 2003 Jean-Philippe Barrette-LaPierre <jpbarrette@savoirfairelinux.net> - 0.3.0-2
- Added the devel package
* Wed Oct 15 2003 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.3.0-1
- Initial build.