From fc3cb7db69ac62891ad6cdf32b41af9c58d7f3cc Mon Sep 17 00:00:00 2001 From: David Sansome Date: Tue, 22 Jun 2010 16:26:00 +0000 Subject: [PATCH] Use the %cmake macro in the RPM spec file, and package the projectm-presets directory --- dist/clementine.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/clementine.spec.in b/dist/clementine.spec.in index 7eb7db61d..750d4ab50 100644 --- a/dist/clementine.spec.in +++ b/dist/clementine.spec.in @@ -31,12 +31,12 @@ advantage of Qt4. %build cd bin -cmake .. -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr/ +%{cmake} .. -DVISUALISATIONS_USE_INSTALL_PREFIX=OFF make %{?_smp_mflags} %install cd bin -make install +make install DESTDIR=$RPM_BUILD_ROOT %clean cd bin @@ -49,7 +49,7 @@ make clean %{_bindir}/clementine %{_datadir}/applications/clementine.desktop %{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png - +%{_datadir}/clementine/projectm-presets %changelog * Thu May 6 2010 David Sansome - 0.3