qtcreator/qtcreator.spec

changeset 260
2a1b1cf8080a
parent 246
6407001a5df7
child 261
4f973c756446
equal deleted inserted replaced
3:8ae011e98a33 4:d0c1bb48c8dc
29 Packager: Michael Schloh von Bennewitz 29 Packager: Michael Schloh von Bennewitz
30 Distribution: MSvB Recherche Production 30 Distribution: MSvB Recherche Production
31 Class: EVAL 31 Class: EVAL
32 Group: Development 32 Group: Development
33 License: GPL 33 License: GPL
34 Version: 1.2.90 34 Version: 2.0.1
35 Release: 20091014 35 Release: 20101010
36 36
37 # list of sources 37 # list of sources
38 Source0: ftp://ftp.qt.nokia.com/qtcreator/qt-creator-%{version}-src.tar.gz 38 Source0: ftp://ftp.qt.nokia.com/qtcreator/qt-creator-%{version}-src.tgz
39 39
40 # build information 40 # build information
41 Prefix: %{l_prefix} 41 Prefix: %{l_prefix}
42 BuildRoot: %{l_buildroot} 42 BuildRoot: %{l_buildroot}
43 BuildPreReq: OpenPKG, openpkg >= 20050726, qt, gcc 43 BuildPreReq: OpenPKG, openpkg >= 20050726, QTSDK, gcc
44 PreReq: OpenPKG, openpkg >= 20050726, qt 44 PreReq: OpenPKG, openpkg >= 20050726, QTSDK
45 AutoReq: no 45 AutoReq: no
46 AutoReqProv: no 46 AutoReqProv: no
47 47
48 %description 48 %description
49 Qt Creator is a cross platform integrated development environment 49 Qt Creator is a cross platform integrated development environment
61 } 61 }
62 62
63 %prep 63 %prep
64 %setup -q -n qt-creator-%{version}-src 64 %setup -q -n qt-creator-%{version}-src
65 %{l_shtool} subst \ 65 %{l_shtool} subst \
66 -e 's;\(CONFIG[\ \t]*+=\)\(.*\);\1 static\2;' \ 66 -e 's;\(CONFIG[\ \t]*+=\)[\ \t]*\(.*\);\1 static \2;' \
67 qtcreator.pro 67 qtcreator.pro
68 %{l_shtool} subst \ 68 %{l_shtool} subst \
69 -e 's;\(QMAKE_RPATHDIR +=\);#\1;g' \ 69 -e 's;\(QMAKE_RPATHDIR +=\);#\1;g' \
70 -e 's;\(QMAKE_RPATHDIR =\)$;\1 %{l_prefix}/lib/qtcreator:%{l_prefix}/lib/qt/dynamic;' \ 70 -e 's;\(QMAKE_RPATHDIR =\)$;\1 %{l_prefix}/lib/qtcreator:%{l_prefix}/lib/qt/dynamic;' \
71 src/qtcreatorplugin.pri \ 71 src/qtcreatorplugin.pri \
80 80
81 # carry out installation procedure 81 # carry out installation procedure
82 %{l_make} %{l_mflags} install_subtargets INSTALL_ROOT="$RPM_BUILD_ROOT%{l_prefix}" 82 %{l_make} %{l_mflags} install_subtargets INSTALL_ROOT="$RPM_BUILD_ROOT%{l_prefix}"
83 83
84 # clean up installation 84 # clean up installation
85 ( cd $RPM_BUILD_ROOT/%{l_prefix} 85 rm $RPM_BUILD_ROOT/%{l_prefix}/bin/qtcreator_process_stub
86 mv bin/qtcreator.bin bin/qtcreator
87 rm bin/qtcreator_process_stub
88 mv share/pixmaps share/qtcreator
89 ) || exit $?
90 86
91 # determine internal file listing 87 # determine internal file listing
92 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 88 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
93 89
94 %files -f files 90 %files -f files

mercurial