qt tools don't work in fedora/opensuse; refs #40

master
Marc Wäckerlin 11 years ago
parent 9f77c5ed28
commit f038e6a03e
  1. 7
      proxyface.spec.in

@ -22,8 +22,11 @@ This package contains only the shared libraries required at runtime.
%prep %prep
%setup -q %setup -q
MOC="/usr/bin/moc" UIC="/usr/bin/uic" RCC="/usr/bin/rcc" \ function checkqt() {
LUPDATE="/usr/bin/lupdate" LRELEASE="/usr/bin/lrelease" \ which /usr/bin/$1 || /usr/bin/$1-qt5 || /usr/bin/$1-qt4
}
MOC="$(checkqt moc)" UIC="$(checkqt uic)" RCC="$(checkqt rcc)" \
LUPDATE="$(checkqt lupdate)" LRELEASE="$(checkqt lrelease)" \
CPPFLAGS="-std=c++0x -I/usr/include/PCSC -I/usr/include/pkcs11-helper-1.0" \ CPPFLAGS="-std=c++0x -I/usr/include/PCSC -I/usr/include/pkcs11-helper-1.0" \
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \ --docdir=/usr/share/doc/packages/@PACKAGENAME@ \

Loading…
Cancel
Save