Use the %cmake macro in the RPM spec file, and package the projectm-presets directory
This commit is contained in:
parent
63861f2ee5
commit
fc3cb7db69
6
dist/clementine.spec.in
vendored
6
dist/clementine.spec.in
vendored
@ -31,12 +31,12 @@ advantage of Qt4.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd bin
|
cd bin
|
||||||
cmake .. -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr/
|
%{cmake} .. -DVISUALISATIONS_USE_INSTALL_PREFIX=OFF
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd bin
|
cd bin
|
||||||
make install
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
cd bin
|
cd bin
|
||||||
@ -49,7 +49,7 @@ make clean
|
|||||||
%{_bindir}/clementine
|
%{_bindir}/clementine
|
||||||
%{_datadir}/applications/clementine.desktop
|
%{_datadir}/applications/clementine.desktop
|
||||||
%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
|
%{_datadir}/icons/hicolor/64x64/apps/application-x-clementine.png
|
||||||
|
%{_datadir}/clementine/projectm-presets
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 6 2010 David Sansome <me@davidsansome.com> - 0.3
|
* Thu May 6 2010 David Sansome <me@davidsansome.com> - 0.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user