ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/gccxml.spec
Revision: 1.7
Committed: Tue May 22 10:24:07 2007 UTC (17 years, 11 months ago) by elmer
Branch: MAIN
CVS Tags: ge20070629, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, pe20070607a-ports
Changes since 1.6: +3 -3 lines
Log Message:
o Updates to use %realversion from rpm-preamble
o Versions all updated to -XXXX (we can choose the actual rebuild naming
  convention in a second pass)

File Contents

# User Rev Content
1 elmer 1.7 ### RPM external gccxml 0.6.0-XXXX
2 eulisse 1.1
3     Requires: cmake
4 elmer 1.7 Source: http://www.gccxml.org/files/v0.6/%n-%realversion.tar.gz
5 eulisse 1.1 Patch0: gccxml1
6     Patch1: gccxml2
7     Patch2: gccxml3
8    
9     %prep
10 elmer 1.7 %setup -n %{n}-%{realversion}
11 eulisse 1.1 %patch1 -p1
12    
13     %build
14     mkdir gccxml-build
15     cd gccxml-build
16     cmake -DCMAKE_INSTALL_PREFIX:PATH=%i ..
17 eulisse 1.2 make %makeprocesses
18 eulisse 1.1
19     %install
20     cd gccxml-build
21     make install
22     cd %i
23     patch -p1 <%{_sourcedir}/gccxml1
24     patch -p1 <%{_sourcedir}/gccxml3
25    
26 eulisse 1.4 %post
27     %{relocateConfig}share/gccxml-0.6/gccxml_config