/[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 907652 - (show annotations) (download)
Wed Dec 2 11:44:59 2015 UTC (4 years ago) by neoclust
File size: 1071 byte(s)
SILENT: Fix _qt5_sysconfdir macros
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_settingsdir %{_sysconfdir}/xdg
14 %_qt5_sysconfigdir %{_qt5_settingsdir}
15 %_qt5_sysconfdir %{_qt5_settingsdir}
16 %_qt5_qml %_qt5_prefix/qml
17
18 %qmake_qt5 \
19 %{_qt5_bindir}/qmake \\\
20 %if "%{_lib}" != "lib" \
21 libsuff=64 \\\
22 %endif \
23 QMAKE_CFLAGS="${CFLAGS:-%optflags}" \\\
24 QMAKE_CXXFLAGS="${CXXFLAGS:-%optflags}" \\\
25 QMAKE_LFLAGS="%{?ldflags}" \\\
26 QMAKE_STRIP=
27
28 %cmake_qt5 \
29 QTDIR="%{_qt5_datadir}" ; export QTDIR ; \
30 PATH="%{_qt5_bindir}:$PATH" ; export PATH ; \
31 %cmake \\\
32 -DDBUS_SERVICES_DIR=%{_datadir}/dbus-1/services \\\
33 -DDBUS_INTERFACES_DIR=%{_datadir}/dbus-1/interfaces
34
35 %qmakeinstall_std \
36 make INSTALL_ROOT=$RPM_BUILD_ROOT install

  ViewVC Help
Powered by ViewVC 1.1.26