1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Libraries
11 url = http://qt-project.org/
12 license = LGPLv2 with exceptions or GPLv3 with exceptions
16 Qt is a software toolkit for developing applications.
19 source_dl = http://releases.qt-project.org/qt4/source/
20 sources = %{name}-everywhere-opensource-src-%{version}.tar.gz
45 DIR_APP = %{DIR_SRC}/%{name}-everywhere-opensource-src-%{version}
47 configure_options = -v \
50 -datadir %{datadir}/qt4 \
51 -headerdir %{includedir} \
52 -plugindir %{libdir}/qt4/plugins \
53 -translationdir %{datadir}/qt4/translations \
78 -no-separate-debug-info \
88 -no-sql-sqlite_symbian \
116 sed -e "s/-O2/%{CFLAGS}/g" -i mkspecs/*/qmake.conf
118 # Disable the strip command to get a useful debuginfo package.
119 sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
123 make install INSTALL_ROOT=%{BUILDROOT}
133 files += %{libdir}/qt4/plugins
134 files += %{datadir}/qt4/phrasebooks
135 files += %{datadir}/qt4/translations
138 package %{name}-devel
141 files += %{libdir}/*.prl
142 files += %{libdir}/qt4/q3porting.xml
143 files += %{libdir}/qt4/*.prl
144 files += %{datadir}/qt4/mkspecs
147 package %{name}-debuginfo