ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gccxml.spec
Revision: 1.27
Committed: Wed Aug 31 17:07:15 2011 UTC (13 years, 7 months ago) by eulisse
Branch: MAIN
Changes since 1.26: +11 -3 lines
Log Message:
Experimental: DO NOT USE.

* Updated to latest gratest gccxml (for the moment found in my area).
* Removed patch which does not seem to be needed anymore.
Ã* Remove incompatible options for gcc 4.6.1 on macosx.

File Contents

# User Rev Content
1 elmer 1.24 ### RPM external gccxml 0.9.0_20100308
2 lsexton 1.19 %define gccxmlmajorver %(echo %realversion | cut -f1 -d_)
3 elmer 1.22 %define gccxmlconfigver %(echo %realversion | cut -f1 -d_ | cut -f1,2 -d.)
4 eulisse 1.1 Requires: cmake
5 eulisse 1.27 Source: http://eulisse.web.cern.ch/eulisse/gccxml-20110825.tgz
6     #ource: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%realversion.tar.gz
7 elmer 1.24 Patch0: gccxml-0.9.0_20100308-gcc45-iomanip
8 eulisse 1.1
9     %prep
10 elmer 1.17 %setup -n %{n}
11 eulisse 1.27 #patch0 -p1
12     case %cmsos in
13     osx*_*_gcc421) ;;
14     osx*)
15     perl -p -i -e 's|-no-cpp-precomp||g' GCC/CMakeLists.txt \
16     GCC/configure.in \
17     GCC/configure
18     ;;
19     esac
20 eulisse 1.1 %build
21 elmer 1.17 cd GCC_XML/Support
22     cd ../../
23 eulisse 1.1 mkdir gccxml-build
24     cd gccxml-build
25     cmake -DCMAKE_INSTALL_PREFIX:PATH=%i ..
26 eulisse 1.2 make %makeprocesses
27 eulisse 1.1
28     %install
29     cd gccxml-build
30     make install
31 muzaffar 1.9
32 eulisse 1.4 %post
33 elmer 1.22 %{relocateConfig}share/gccxml-%{gccxmlconfigver}/gccxml_config