1 |
|
2 |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
4 |
%define release 11 |
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: http://www.linuxsampler.org/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
Requires: libgig >= 3.2.1 |
18 |
|
19 |
%description |
20 |
LinuxSampler is a work in progress. It's goal is to produce a free |
21 |
software audio sampler with professional grade features. |
22 |
|
23 |
It offers disk streaming capability and supports the Gigasampler |
24 |
format which is currently considered to be the best sampler format |
25 |
in regards of possibilities and sound quality. |
26 |
|
27 |
This package provides the backend of LinuxSampler, that is the |
28 |
sampler engine together with audio and MIDI drivers. LinuxSampler |
29 |
can be controlled via network interface which uses an ASCII based |
30 |
protocol called LSCP. You might consider to install a GUI frontend |
31 |
for LinuxSampler as well. |
32 |
|
33 |
For more informations please visit http://www.linuxsampler.org |
34 |
|
35 |
%package devel |
36 |
Summary: Linuxsampler development files |
37 |
Group: Development/Libraries |
38 |
Requires: %{name} = %{version} |
39 |
|
40 |
%description devel |
41 |
Linuxsampler development files for allowing 3rd party applications |
42 |
to link against liblinuxsampler |
43 |
|
44 |
%prep |
45 |
|
46 |
%setup |
47 |
[ -f Makefile.cvs ] && make -f Makefile.cvs |
48 |
|
49 |
%build |
50 |
./configure --prefix=%{prefix} --enable-optimize |
51 |
[ -f Makefile.cvs ] && make parser |
52 |
make |
53 |
make docs |
54 |
|
55 |
%install |
56 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
57 |
mkdir -p $RPM_BUILD_ROOT |
58 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
59 |
|
60 |
%post |
61 |
/sbin/ldconfig |
62 |
|
63 |
%postun |
64 |
/sbin/ldconfig |
65 |
|
66 |
%clean |
67 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
68 |
|
69 |
%files |
70 |
%defattr(-,root,root) |
71 |
%doc AUTHORS COPYING ChangeLog README |
72 |
%{prefix}/bin/linuxsampler |
73 |
%{prefix}/lib/linuxsampler/liblinuxsampler.so* |
74 |
%{prefix}/share/man/man1/linuxsampler.* |
75 |
|
76 |
%files devel |
77 |
%defattr(-,root,root) |
78 |
%doc doc/html/* |
79 |
%{prefix}/lib/linuxsampler/include/config.h |
80 |
%{prefix}/lib/linuxsampler/liblinuxsampler.a |
81 |
%{prefix}/lib/linuxsampler/liblinuxsampler.la |
82 |
%{prefix}/lib/pkgconfig/linuxsampler.pc |
83 |
%{prefix}/include/* |
84 |
|
85 |
%changelog |
86 |
* Thu Dec 06 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
87 |
- Going for linuxsampler 0.5.1 release. |
88 |
* Mon Oct 15 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
89 |
- Going for linuxsampler 0.5.0 release. |
90 |
* Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
91 |
- Going for linuxsampler 0.4.0 release. |
92 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
93 |
- changed deprecated copyright attribute to license |
94 |
- added ldconfig to post-(un)install steps |
95 |
- added devel package for liblinuxsampler |
96 |
* Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
97 |
- Going for linuxsampler 0.3.3 bugfix release. |
98 |
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
99 |
- Ready for linuxsampler 0.3.2 bugfix release. |
100 |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
101 |
- Created first official linuxsampler.spec |