1 |
|
2 |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
4 |
%define release 16 |
5 |
%define prefix @prefix@ |
6 |
|
7 |
Summary: LinuxSampler - modular, streaming capable, realtime audio sampler |
8 |
Name: %{name} |
9 |
Version: %{version} |
10 |
Release: %{release} |
11 |
Prefix: %{prefix} |
12 |
License: GPL |
13 |
Group: Sound |
14 |
Source0: %{name}-%{version}.tar.bz2 |
15 |
URL: https://www.linuxsampler.org/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
Requires: libgig >= 4.2.0 |
18 |
|
19 |
%description |
20 |
LinuxSampler is a free software audio sampler with professional grade |
21 |
features. It offers disk streaming capability, real-time instrument |
22 |
scripts, and supports the following three sampler formats: |
23 |
|
24 |
- GigaStudio 4, previously known as Gigasampler (.gig) |
25 |
- SFZ2 (.sfz) |
26 |
- SoundFont 2 (.sf2) |
27 |
|
28 |
This package provides the backend of LinuxSampler, that is the |
29 |
sampler engine together with audio and MIDI drivers. LinuxSampler |
30 |
can be controlled via network interface which uses an ASCII based |
31 |
protocol called LSCP. You might consider to install a GUI frontend |
32 |
for LinuxSampler as well. |
33 |
|
34 |
For more information please visit https://www.linuxsampler.org |
35 |
|
36 |
%package devel |
37 |
Summary: Linuxsampler development files |
38 |
Group: Development/Libraries |
39 |
Requires: %{name} = %{version} |
40 |
|
41 |
%description devel |
42 |
Linuxsampler development files for allowing 3rd party applications |
43 |
to link against liblinuxsampler |
44 |
|
45 |
%prep |
46 |
|
47 |
%setup |
48 |
[ -f Makefile.cvs ] && make -f Makefile.cvs |
49 |
|
50 |
%build |
51 |
./configure --prefix=%{prefix} --enable-optimize |
52 |
[ -f Makefile.cvs ] && make parser |
53 |
make |
54 |
make docs |
55 |
|
56 |
%install |
57 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
58 |
mkdir -p $RPM_BUILD_ROOT |
59 |
make DESTDIR=%{buildroot} install |
60 |
|
61 |
%post |
62 |
/sbin/ldconfig |
63 |
|
64 |
%postun |
65 |
/sbin/ldconfig |
66 |
|
67 |
%clean |
68 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
69 |
|
70 |
%files |
71 |
%defattr(-,root,root) |
72 |
%doc AUTHORS COPYING ChangeLog README |
73 |
%{prefix}/bin/linuxsampler |
74 |
%{prefix}/bin/lscp |
75 |
%{prefix}/lib/linuxsampler/liblinuxsampler.so* |
76 |
%{prefix}/share/man/man1/linuxsampler.* |
77 |
%{prefix}/share/man/man1/lscp.* |
78 |
%{prefix}/lib/dssi/* |
79 |
%{prefix}/lib/lv2/linuxsampler* |
80 |
/var/lib/linuxsampler/instruments.db |
81 |
|
82 |
%files devel |
83 |
%defattr(-,root,root) |
84 |
%doc doc/html/* |
85 |
%{prefix}/lib/linuxsampler/liblinuxsampler.a |
86 |
%{prefix}/lib/linuxsampler/liblinuxsampler.la |
87 |
%{prefix}/lib/pkgconfig/linuxsampler.pc |
88 |
%{prefix}/include/* |
89 |
|
90 |
%changelog |
91 |
* Sat Jul 27 2019 Christian Schoenebeck <cuse@users.sourceforge.net> |
92 |
- Going for linuxsampler 2.1.1 bugfix release. |
93 |
* Wed Nov 25 2017 Christian Schoenebeck <cuse@users.sourceforge.net> |
94 |
- Going for linuxsampler 2.1.0 release. |
95 |
* Wed Jul 15 2015 Christian Schoenebeck <cuse@users.sourceforge.net> |
96 |
- Going for linuxsampler 2.0.0 release. |
97 |
- Added "lscp" shell binary (and its man page) to package. |
98 |
* Fri Jul 31 2009 Christian Schoenebeck <cuse@users.sourceforge.net> |
99 |
- Going for linuxsampler 1.0.0 release. |
100 |
* Fri Mar 27 2009 Christian Schoenebeck <cuse@users.sourceforge.net> |
101 |
- included DSSI and LV2 binaries into linuxsampler package |
102 |
* Wed Dec 03 2008 Christian Schoenebeck <cuse@users.sourceforge.net> |
103 |
- fixed rpmbuild: config.h is no longer exported |
104 |
(fixes #87, patch by Devin Anderson) |
105 |
* Thu Dec 06 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
106 |
- Going for linuxsampler 0.5.1 release. |
107 |
* Mon Oct 15 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
108 |
- Going for linuxsampler 0.5.0 release. |
109 |
* Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
110 |
- Going for linuxsampler 0.4.0 release. |
111 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
112 |
- changed deprecated copyright attribute to license |
113 |
- added ldconfig to post-(un)install steps |
114 |
- added devel package for liblinuxsampler |
115 |
* Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
116 |
- Going for linuxsampler 0.3.3 bugfix release. |
117 |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
118 |
- Ready for linuxsampler 0.3.2 bugfix release. |
119 |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
120 |
- Created first official linuxsampler.spec |