Bug 88 - changes to make gigedit CVS be buildable as an rpm
Summary: changes to make gigedit CVS be buildable as an rpm
Alias: None
Product: gigedit
Classification: Unclassified
Component: gigedit (show other bugs)
Version: SVN Trunk
Hardware: PC Linux
: P2 blocker
Assignee: Andreas Persson
Depends on:
Reported: 2008-04-22 04:41 CEST by Devin Anderson
Modified: 2009-01-10 12:51 CET (History)
0 users

See Also:

gigedit.spec.in (1.01 KB, text/plain)
2008-04-25 10:20 CEST, Devin Anderson
configure.ac diff (50 bytes, patch)
2008-04-25 10:21 CEST, Devin Anderson

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Anderson 2008-04-22 04:41:51 CEST
Here's a working (though minimal) gigedit.spec.in that works for me on Fedora
Core 8:

%define name    @PACKAGE@
%define version @VERSION@
%define release 10
%define prefix  @prefix@

Summary:        instrument editor for Gigasampler files
Name:           %{name}
Version:        %{version}
Release:        %{release}
Prefix:         %{prefix}
License:        GPL
Group:          Sound
Source0:        %{name}-%{version}.tar.bz2
URL:            http://www.linuxsampler.org/
BuildRoot:      /var/tmp/%{name}-%{version}-buildroot

instrument editor for Gigasampler files


if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi

./configure --prefix=%{prefix}

if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
mkdir -p $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install



if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi



Here's a diff against 'configure.ac' to automate the building of a spec file
during 'configure':

> AC_OUTPUT(gigedit.spec)

Instructions for building as an rpm can be found and copied from the README of
linuxsampler or libgig.
Comment 1 Devin Anderson 2008-04-25 10:20:06 CEST
Created attachment 33 [details]
Comment 2 Devin Anderson 2008-04-25 10:21:35 CEST
Created attachment 34 [details]
configure.ac diff
Comment 3 Christian Schoenebeck 2008-12-14 14:22:07 CET
Marking this one as blocker, as it should be resolved before the upcoming 
Comment 4 Christian Schoenebeck 2009-01-10 12:50:54 CET
Just commited it to CVS, slightly modified. As always I have no chance to test 
the rpm packaging stuff, so I just hope it's right that way.

Closing this report now. If anything's wrong, just let us know and feel to 
re-open this report if necessary.

Thanks Devin!