]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - qt/qt.nm
make: The man page has been installed in a wrong directory.
[people/amarx/ipfire-3.x.git] / qt / qt.nm
CommitLineData
6bd477eb 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
6bd477eb
SS
4###############################################################################
5
802ea3af
MT
6name = qt
7version = 4.7.0
f2f0bf39 8release = 4
6bd477eb 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.qtsoftware.com/
12license = LGPLv2 with exceptions or GPLv3 with exceptions
13summary = Qt toolkit.
6bd477eb 14
802ea3af
MT
15description
16 Qt is a software toolkit for developing applications.
17end
6ffdb2b8 18
802ea3af
MT
19source_dl =
20sources = %{name}-everywhere-opensource-src-%{version}.tar.gz
6ffdb2b8 21
802ea3af
MT
22build
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
6bd477eb 42
802ea3af 43 DIR_APP = %{DIR_SRC}/%{name}-everywhere-opensource-src-%{version}
6bd477eb 44
802ea3af
MT
45 configure_options = -v \
46 -prefix /usr \
f2f0bf39
MT
47 -libdir %{libdir} \
48 -datadir %{datadir}/qt4 \
49 -headerdir %{includedir} \
50 -plugindir %{libdir}/qt4/plugins \
51 -translationdir %{datadir}/qt4/translations \
802ea3af
MT
52 -confirm-license \
53 -fontconfig \
54 -largefile \
55 -opensource \
56 -reduce-relocations \
57 -release \
58 -shared \
59 -no-audio-backend \
60 -no-dbus \
61 -no-gtkstyle \
62 -no-cups \
63 -no-javascript-jit \
64 -no-multimedia \
65 -no-nas-sound \
66 -no-nis \
67 -no-openssl \
68 -no-opengl \
69 -no-openvg \
70 -no-qt3support \
71 -no-pch \
72 -no-phonon \
73 -no-phonon-backend \
74 -no-rpath \
75 -no-script \
76 -no-scripttools \
77 -no-separate-debug-info \
78 -no-sm \
79 -no-sql-db2 \
80 -no-sql-ibase \
81 -no-sql-mysql \
82 -no-sql-oci \
83 -no-sql-odbc \
84 -no-sql-psql \
85 -no-sql-sqlite \
86 -no-sql-sqlite2 \
87 -no-sql-sqlite_symbian \
88 -no-sql-tds \
89 -no-stl \
90 -no-svg \
91 -no-webkit \
92 -no-xinerama \
93 -no-xshape \
94 -no-xsync \
95 -no-xvideo \
96 -no-mmx \
97 -no-sse \
98 -no-sse2 \
99 -no-3dnow \
100 -system-libjpeg \
101 -system-libmng \
102 -system-libpng \
103 -system-libtiff \
104 -system-zlib \
105 -nomake demos \
106 -nomake docs \
107 -nomake examples
6bd477eb 108
802ea3af
MT
109 prepare_cmds
110 sed -e "s/-O2/%{CFLAGS}/g" -i mkspecs/*/qmake.conf
f2f0bf39
MT
111
112 # Disable the strip command to get a useful debuginfo package.
113 sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
802ea3af 114 end
6bd477eb 115
802ea3af
MT
116 install
117 make install INSTALL_ROOT=%{BUILDROOT}
118 end
119end
6bd477eb 120
802ea3af
MT
121packages
122 package %{name}
f2f0bf39
MT
123
124 package %{name}-libs
125 template LIBS
126
127 files += %{libdir}/qt4/plugins
128 files += %{datadir}/qt4/phrasebooks
129 files += %{datadir}/qt4/translations
802ea3af 130 end
1f9bc2f0 131
802ea3af
MT
132 package %{name}-devel
133 template DEVEL
1f9bc2f0 134
f2f0bf39
MT
135 files += %{libdir}/*.prl
136 files += %{libdir}/qt4/q3porting.xml
137 files += %{libdir}/qt4/*.prl
138 files += %{datadir}/qt4/mkspecs
802ea3af 139 end
1f9bc2f0
MT
140
141 package %{name}-debuginfo
142 template DEBUGINFO
143 end
802ea3af 144end