Bug 114

Summary: linuxsampler.spec broken
Product: LinuxSampler Reporter: Luis Garrido <luisgarrido>
Component: otherAssignee: Christian Schoenebeck <cuse>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: SVN Trunk   
Hardware: PC   
OS: Linux   

Description Luis Garrido 2009-01-10 17:00:26 CET
The piece of script that creates the instrument database in Makefile.am uses
$(DESTDIR) as a prefix. When I try to build an rpm from the linuxsampler.spec
file the installation step fails because DESTDIR is empty.

At linuxsampler.spec.in substitute 

make prefix=$RPM_BUILD_ROOT%{prefix} install

for

make DESTDIR=%{buildroot} install

and add

/var/lib/linuxsampler/instruments.db

to the %files section to fix it.
Comment 1 Christian Schoenebeck 2009-03-02 15:16:19 CET
Just commited it to CVS, untested. Hope it works, if not let me know! Thanks!