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://www.qtsoftware.com/
12 license = LGPLv2 with exceptions or GPLv3 with exceptions
16 Qt is a software toolkit for developing applications.
20 sources = %{name}-everywhere-opensource-src-%{version}.tar.gz
43 DIR_APP = %{DIR_SRC}/%{name}-everywhere-opensource-src-%{version}
45 configure_options = -v \
48 -datadir %{datadir}/qt4 \
49 -headerdir %{includedir} \
50 -plugindir %{libdir}/qt4/plugins \
51 -translationdir %{datadir}/qt4/translations \
77 -no-separate-debug-info \
87 -no-sql-sqlite_symbian \
110 sed -e "s/-O2/%{CFLAGS}/g" -i mkspecs/*/qmake.conf
112 # Disable the strip command to get a useful debuginfo package.
113 sed -i -e "s|^QMAKE_STRIP.*=.*|QMAKE_STRIP =|" mkspecs/common/linux.conf
117 make install INSTALL_ROOT=%{BUILDROOT}
127 files += %{libdir}/qt4/plugins
128 files += %{datadir}/qt4/phrasebooks
129 files += %{datadir}/qt4/translations
132 package %{name}-devel
135 files += %{libdir}/*.prl
136 files += %{libdir}/qt4/q3porting.xml
137 files += %{libdir}/qt4/*.prl
138 files += %{datadir}/qt4/mkspecs
141 package %{name}-debuginfo