/[packages]/updates/5/qtbase5/current/SOURCES/qt5.macros
ViewVC logotype

Contents of /updates/5/qtbase5/current/SOURCES/qt5.macros

Parent Directory Parent Directory | Revision Log Revision Log


Revision 834964 - (show annotations) (download)
Fri Jun 19 00:04:08 2015 UTC (4 years, 8 months ago) by umeabot
File size: 992 byte(s)
SILENT Branching for Mageia 5
1 # Qt5 macros
2 %_qt5_prefix %{_libdir}/qt5
3 %_qt5_datadir %{_qt5_prefix}
4 %_qt5_bindir %{_qt5_prefix}/bin
5 %_qt5_docdir %{_docdir}/qt5
6 %_qt5_libdir %{_libdir}
7 %_qt5_includedir %{_qt5_prefix}/include
8 %_qt5_plugindir %{_qt5_prefix}/plugins
9 %_qt5_demosdir %{_qt5_prefix}/demos
10 %_qt5_examplesdir %{_qt5_prefix}/examples
11 %_qt5_importdir %{_qt5_prefix}/imports
12 %_qt5_translationdir %{_datadir}/qt5/translations
13 %_qt5_sysconfigdir %{_sysconfdir}
14 %_qt5_qml %_qt5_prefix/qml
15
16 %qmake_qt5 \
17 %{_qt5_bindir}/qmake \\\
18 %if "%{_lib}" != "lib" \
19 libsuff=64 \\\
20 %endif \
21 QMAKE_CFLAGS="${CFLAGS:-%optflags}" \\\
22 QMAKE_CXXFLAGS="${CXXFLAGS:-%optflags}" \\\
23 QMAKE_LFLAGS="%{?ldflags}" \\\
24 QMAKE_STRIP=
25
26 %cmake_qt5 \
27 QTDIR="%{_qt5_datadir}" ; export QTDIR ; \
28 PATH="%{_qt5_bindir}:$PATH" ; export PATH ; \
29 %cmake \\\
30 -DDBUS_SERVICES_DIR=%{_datadir}/dbus-1/services \\\
31 -DDBUS_INTERFACES_DIR=%{_datadir}/dbus-1/interfaces
32
33 %qmakeinstall_std \
34 make INSTALL_ROOT=$RPM_BUILD_ROOT install

  ViewVC Help
Powered by ViewVC 1.1.26