-
Notifications
You must be signed in to change notification settings - Fork 0
/
gigedit.spec.in
59 lines (48 loc) · 1.41 KB
/
gigedit.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%define name @PACKAGE@
%define version @VERSION@
%define release 3
%define prefix @prefix@
Summary: instrument editor for GigaStudio/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}-%{release}-buildroot
%description
instrument editor for GigaStudio/Gigasampler (.gig) files
%prep
%setup
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi
%build
./configure --prefix=%{prefix}
make
%install
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
mkdir -p $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%clean
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README NEWS
%{prefix}/bin/*
%{prefix}/lib/gigedit/libgigedit.*
%{prefix}/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.*
%{prefix}/share/doc/gigedit/*
%{prefix}/share/gigedit/*.xpm
%{prefix}/share/locale/*
%changelog
* Fri Jul 17 2015 Christian Schoenebeck <[email protected]>
- Going for release 1.0.0
* Fri Jul 31 2009 Christian Schoenebeck <[email protected]>
- Going for release 0.2.0
* Sat Jan 10 2009 Christian Schoenebeck <[email protected]>
- Created initial gigedit.spec (patch by Devin Anderson, slightly modified)