ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/curl.spec
Revision: 1.19
Committed: Tue Jan 11 16:48:41 2011 UTC (14 years, 3 months ago) by eulisse
Branch: MAIN
CVS Tags: CMSSW_3_11_3, CMSSW_3_11_2, CMSSW_3_11_1_hclpatch1, sjgFor3111hclp1, sjgFor3111hcalp1, pe20110225a-for311X, CMSSW_3_11_1_hltpatch1, CMSSW_3_11_1_patch3, fwFor410pre2online, CMSSW_3_11_1_onlpatch1_ONLINE, CMSSW_4_2_0_pre5-ports, CMSSW_4_2_0_pre5, azFor420p5g451a, fwFor3111op1-online, azFor420p5g451, azFor420p5g434, azFor420pre5gcc451a, azFor420pre5gcc451, azFor420pre5gcc434, CMSSW_3_11_1_patch2, CMSSW_4_1_0_pre2, pe20110215-for410p2, CMSSW_4_2_0_pre4-ports, CMSSW_4_2_0_pre4, azFor420pre4gcc451, azFor420pre4gcc434, azFor420p4g451, azFor420p4g434, pe20110213a-for4XY-ports, pe20110213a-for4XY, CMSSW_3_11_1_patch1, CMSSW_4_2_0_pre3-ports, CMSSW_4_2_0_pre3, sjgFor3111p1b, sjgFor3111p1, azFor420pre3gcc451, azFor420pre3gcc434, DQMGUI_5_3_2b, pe20110210a-for4XY-ports, pe20110210a-for4XY, DQMGUI_5_3_2a, CMSSW_3_11_1_ONLINE, CMSSW_3_11_1, fwFor3111, pe20110208a-for4XY, pe20110208a-for4XY-ports, pe20110207b-for4XY-ports, pe20110207b-for4XY, pe20110207a-for4XY, CMSSW_4_2_0_pre2-ports, CMSSW_4_2_0_pre2, azFor420pre2gcc434c, azFor420pre2gcc434b, azFor420pre2gcc451, CMSSW_4_1_0_pre1, azFor420pre2gcc434, pe20110205-for410p1, pe20110203a-for4XY-ports, pe20110203a-for4XY, pe20110203-for410p1, pe20110202a-for311X, pe20110202a-for4XY-ports, pe20110202a-for4XY, fw20110201-41X-online, pe20110131b-for4XY-ports, pe20110131b-for4XY, pe20110131a-for4XY-ports, pe20110131a-for4XY, fw20110131-311x-online, CMSSW_3_11_0_pre5r52706bT2, CMSSW_3_11_0_ONLINE, fw20110128-311X-online, CMSSW_4_2_0_pre1-ports, CMSSW_4_2_0_pre1, CMSSW_3_11_0, azFor420pre1gcc451, azFor420pre1g451n, azFor420pre1g434, pe20110127a-for311X-ports, pe20110127a-for311X, azFor420pre1g451, azFor420pre1, fw20110127a-311X, fw20110127-311X, fwFor3110, pe20110126b-for311X-ports, pe20110126b-for311X, fw20110126a-311X-online, fw20110126a-311X-ports, pe20110126a-for311X-ports, pe20110126a-for311X, sm110126a, sm110126, fw20110126-311X-online, sm110125, pe20110125-for3110p5r52706bT2, pe20110124b-311X-ports, pe20110124b-311X, pe20110124a-311X, fw20110122-311X-ports, fw20110122-311X-online, pe20110122b-311X-ports, pe20110122a-311X-ports, pe20110122a-311X, CMSSW_3_11_0_pre5_ONLINE, fw20110121b-311X-ports, fw20110121b-311X-online, pe20110121-for3110p5r52706b, fw20110121a-311X-ports, fw20110121a-311X-online, fw20110121-311X-ports, fw20110121-311X-online, fw20110121, pe20110120b-311X, pe20110120a-311X-ports, pe20110120a-311X, fw20110120b-311X-ports, fw20110120b-311X-online, CMSSW_3_11_0_pre5-ports, CMSSW_3_11_0_pre5, fw20110120a-311X-ports, fw20110120a-311X-online, fw20110120-311X-online, fw20110119-311X-online, fwFor3110pre5-online, fwFor3110pre5-ports, fwFor3110pre5, pe20110118b-311X-ports, pe20110118b-311X, pe20110118a-311X, CMSSW_3_11_0_pre4, fwFor3110pre4online, pe20110117c-311X-ports, pe20110117b-311X-ports, pe20110117c-311X, fwFor3110pre4, fw20110117-for311X, pe20110117a-311X-ports, pe20110117b-311X, pe20110112d-for311X, pe20110112c-for311X-ports, pe20110112b-for311X-ports, pe20110112a-for311X-ports, pe20110112a-for311X, pe20110111b-for311X, pe20110111a-ports
Changes since 1.18: +8 -0 lines
Log Message:
Remove pkg-config stuff from distribution.

We remove pkg-config files for two reasons:
* it's actually not required (macosx does not even have it).
* rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
  on linux.

In the case at some point we build a package that can be build
only via pkg-config we have to think on how to ship our own
version.

File Contents

# User Rev Content
1 diego 1.16 ### RPM external curl 7.20.0
2 elmer 1.8 Source: http://curl.haxx.se/download/%n-%realversion.tar.gz
3 diego 1.16 Provides: libcurl.so.3()(64bit)
4 elmer 1.8
5     %prep
6     %setup -n %n-%{realversion}
7 eulisse 1.1
8     %build
9 elmer 1.18 ./configure --prefix=%i --without-libidn --disable-crypto-auth --disable-ldap --without-ssl
10     # This should change link from "-lz" to "-lrt -lz", needed by gold linker
11     # This is a fairly ugly way to do it, however.
12     perl -p -i -e "s!\(LIBS\)!(LIBCURL_LIBS)!" src/Makefile
13 eulisse 1.1 make %makeprocesses
14 muzaffar 1.10
15     %install
16     make install
17 eulisse 1.19 # We remove pkg-config files for two reasons:
18     # * it's actually not required (macosx does not even have it).
19     # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
20     # on linux.
21     # In the case at some point we build a package that can be build
22     # only via pkg-config we have to think on how to ship our own
23     # version.
24     rm -rf %i/lib/pkgconfig
25 diego 1.16 cd %i/lib
26     ln -s libcurl.so libcurl.so.3
27 muzaffar 1.10
28 eulisse 1.2 %post
29     %{relocateConfig}bin/curl-config