Bug 114 - linuxsampler.spec broken
Summary: linuxsampler.spec broken
Status: CLOSED FIXED
Alias: None
Product: LinuxSampler
Classification: Unclassified
Component: other (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P2 normal
Assignee: Christian Schoenebeck
URL:
Depends on:
Blocks:
 
Reported: 2009-01-10 17:00 CET by Luis Garrido
Modified: 2009-03-02 15:16 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!