diff --git a/qcma.pro b/qcma.pro index 39554d9..4d6b305 100644 --- a/qcma.pro +++ b/qcma.pro @@ -101,10 +101,10 @@ unix { DATADIR = $$PREFIX/share desktop.path = $$DATADIR/applications/$${TARGET} - desktop.files += $${TARGET}.desktop + desktop.files += resources/$${TARGET}.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps - icon64.files += resources/$${TARGET}.png + icon64.files += resources/images/$${TARGET}.png target.path = $$BINDIR INSTALLS += target desktop icon64 diff --git a/rpmbuild/qcma.spec b/rpmbuild/qcma.spec index 0e10df4..8ee0aea 100644 --- a/rpmbuild/qcma.spec +++ b/rpmbuild/qcma.spec @@ -28,7 +28,7 @@ cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma %setup -n qcma -DT %build -lrelease qcma.pro +lrelease resources/translations/*.ts qmake PREFIX=/usr make diff --git a/rpmbuild/qcma64.spec b/rpmbuild/qcma64.spec index 0e10df4..8ee0aea 100644 --- a/rpmbuild/qcma64.spec +++ b/rpmbuild/qcma64.spec @@ -28,7 +28,7 @@ cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma %setup -n qcma -DT %build -lrelease qcma.pro +lrelease resources/translations/*.ts qmake PREFIX=/usr make