ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/soqt.spec
(Generate patch)

Comparing COMP/CMSDIST/soqt.spec (file contents):
Revision 1.2 by eulisse, Fri Mar 10 10:58:27 2006 UTC vs.
Revision 1.13 by elmer, Fri Nov 2 16:40:18 2007 UTC

# Line 1 | Line 1
1 < ### RPM external soqt 1.3.0
1 > ### RPM external soqt 1.3.0-CMS18
2   # 1.3.0-tgs, 1.3.0-coin (default: coin)
3 < # FIXME: make type part of installation location!
4 < %define soqttype %(echo %v | sed 's/[-0-9.]*//')
5 < %define soqtversion %(echo %v | sed 's/-.*//')
3 > # FIXME: make type part of installation location!  
4 > %define soqttype %(echo %realversion | sed 's/[-0-9.]*//')
5 > %define soqtversion %(echo %realversion | sed 's/-.*//')
6   %if "%soqttype" == ""
7   %define type    coin
8   %else
# Line 18 | Line 18 | Requires: tgsinventorfix
18   Requires: coin
19   %endif
20  
21 < Source: ftp://ftp.coin3d.org/pub/coin/src/SoQt-%{soqtversion}.tar.gz
21 > Source: ftp://ftp.coin3d.org/pub/coin/src/all/SoQt-%{soqtversion}.tar.gz
22   # FIXME: forget about the patch for the time being.
23   # I need to ask lassi where to find it.
24 < #Patch: soqt
24 > Patch: soqt
25  
26   %prep
27   %setup -n SoQt-%{soqtversion}
28 < #%patch0
28 > %patch0
29  
30   %build
31   case $(uname) in
# Line 70 | Line 70 | case "%type" in
70      exit 1 ;;
71   esac
72   make %makeprocesses
73 +
74 + %install
75 + make install
76 + # SCRAM ToolBox toolfile
77 + mkdir -p %i/etc/scram.d
78 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
79 + <doc type=BuildSystem::ToolDoc version=1.0>
80 + <Tool name=SoQt version=%v>
81 + <info url=http://www.coin3d.org></info>
82 + <Lib name=SoQt>
83 + <Client>                                                                                  
84 + <Environment name=SOQT_BASE default="%i"></Environment>
85 + <Environment name=LIBDIR default="$SOQT_BASE/lib"></Environment>
86 + <Environment name=INCLUDE default="$SOQT_BASE/include"></Environment>
87 + </Client>
88 + <use name=OpenInventor>
89 + <use name=Qt>                                                                        
90 + </Tool>
91 + EOF_TOOLFILE
92 +
93 + %post
94 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines