]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - qt/qt.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / qt / qt.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = qt
7 version = 4.7.0
8 release = 3
9
10 groups = System/Libraries
11 url = http://www.qtsoftware.com/
12 license = LGPLv2 with exceptions or GPLv3 with exceptions
13 summary = Qt toolkit.
14
15 description
16 Qt is a software toolkit for developing applications.
17 end
18
19 source_dl =
20 sources = %{name}-everywhere-opensource-src-%{version}.tar.gz
21
22 build
23 requires
24 fontconfig-devel
25 freetype-devel
26 gcc-c++
27 libjpeg-devel
28 libmng-devel
29 libpng-devel
30 libtiff-devel
31 libX11-devel
32 libXext-devel
33 libXfixes-devel
34 libXrandr-devel
35 libXrender-devel
36 libXi-devel
37 pcre-devel
38 pkg-config
39 xorg-x11-proto-devel
40 zlib-devel
41 end
42
43 DIR_APP = %{DIR_SRC}/%{name}-everywhere-opensource-src-%{version}
44
45 configure_options = -v \
46 -prefix /usr \
47 -datadir /usr/lib/qt4 \
48 -headerdir /usr/include \
49 -plugindir /usr/lib/qt4/plugins \
50 -translationdir /usr/share/qt4/translations \
51 -confirm-license \
52 -fontconfig \
53 -largefile \
54 -opensource \
55 -reduce-relocations \
56 -release \
57 -shared \
58 -no-audio-backend \
59 -no-dbus \
60 -no-gtkstyle \
61 -no-cups \
62 -no-javascript-jit \
63 -no-multimedia \
64 -no-nas-sound \
65 -no-nis \
66 -no-openssl \
67 -no-opengl \
68 -no-openvg \
69 -no-qt3support \
70 -no-pch \
71 -no-phonon \
72 -no-phonon-backend \
73 -no-rpath \
74 -no-script \
75 -no-scripttools \
76 -no-separate-debug-info \
77 -no-sm \
78 -no-sql-db2 \
79 -no-sql-ibase \
80 -no-sql-mysql \
81 -no-sql-oci \
82 -no-sql-odbc \
83 -no-sql-psql \
84 -no-sql-sqlite \
85 -no-sql-sqlite2 \
86 -no-sql-sqlite_symbian \
87 -no-sql-tds \
88 -no-stl \
89 -no-svg \
90 -no-webkit \
91 -no-xinerama \
92 -no-xshape \
93 -no-xsync \
94 -no-xvideo \
95 -no-mmx \
96 -no-sse \
97 -no-sse2 \
98 -no-3dnow \
99 -system-libjpeg \
100 -system-libmng \
101 -system-libpng \
102 -system-libtiff \
103 -system-zlib \
104 -nomake demos \
105 -nomake docs \
106 -nomake examples
107
108 prepare_cmds
109 sed -e "s/-O2/%{CFLAGS}/g" -i mkspecs/*/qmake.conf
110 end
111
112 install
113 make install INSTALL_ROOT=%{BUILDROOT}
114 end
115 end
116
117 packages
118 package %{name}
119 end
120
121 package %{name}-devel
122 template DEVEL
123
124 files
125 /usr/lib/*.prl \
126 /usr/lib/qt4/q3porting.xml \
127 /usr/bin \
128 /usr/lib/qt4/*.prl \
129 /usr/lib/qt4/mkspecs
130 end
131 end
132
133 package %{name}-debuginfo
134 template DEBUGINFO
135 end
136 end