1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 2 |
%define release 12 |
5 |
%define prefix @prefix@ |
%define prefix @prefix@ |
6 |
|
|
7 |
Summary: LinuxSampler - modular, streaming capable, realtime audio sampler |
Summary: LinuxSampler - modular, streaming capable, realtime audio sampler |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release} |
Release: %{release} |
11 |
Prefix: %{prefix} |
Prefix: %{prefix} |
12 |
Copyright: GPL |
License: GPL |
13 |
Group: Sound |
Group: Sound |
14 |
Source0: %{name}-%{version}.tar.bz2 |
Source0: %{name}-%{version}.tar.bz2 |
15 |
URL: http://www.linuxsampler.org/ |
URL: http://www.linuxsampler.org/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
Requires: libgig >= 2.0.1 |
Requires: libgig >= 3.2.1 |
18 |
|
|
19 |
%description |
%description |
20 |
LinuxSampler is a work in progress. It's goal is to produce a free |
LinuxSampler is a work in progress. It's goal is to produce a free |
32 |
|
|
33 |
For more informations please visit http://www.linuxsampler.org |
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 |
%prep |
45 |
|
|
46 |
%setup |
%setup |
50 |
./configure --prefix=%{prefix} --enable-optimize |
./configure --prefix=%{prefix} --enable-optimize |
51 |
[ -f Makefile.cvs ] && make parser |
[ -f Makefile.cvs ] && make parser |
52 |
make |
make |
53 |
|
make docs |
54 |
|
|
55 |
%install |
%install |
56 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
57 |
mkdir -p $RPM_BUILD_ROOT |
mkdir -p $RPM_BUILD_ROOT |
58 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
make DESTDIR=%{buildroot} install |
59 |
|
|
60 |
|
%post |
61 |
|
/sbin/ldconfig |
62 |
|
|
63 |
|
%postun |
64 |
|
/sbin/ldconfig |
65 |
|
|
66 |
%clean |
%clean |
67 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
70 |
%defattr(-,root,root) |
%defattr(-,root,root) |
71 |
%doc AUTHORS COPYING ChangeLog README |
%doc AUTHORS COPYING ChangeLog README |
72 |
%{prefix}/bin/linuxsampler |
%{prefix}/bin/linuxsampler |
73 |
%{prefix}/lib/linuxsampler/liblinuxsampler.* |
%{prefix}/lib/linuxsampler/liblinuxsampler.so* |
74 |
%{prefix}/man/man1/linuxsampler.* |
%{prefix}/share/man/man1/linuxsampler.* |
75 |
|
%{prefix}/lib/dssi/* |
76 |
|
%{prefix}/lib/lv2/linuxsampler* |
77 |
|
/var/lib/linuxsampler/instruments.db |
78 |
|
|
79 |
|
%files devel |
80 |
|
%defattr(-,root,root) |
81 |
|
%doc doc/html/* |
82 |
|
%{prefix}/lib/linuxsampler/liblinuxsampler.a |
83 |
|
%{prefix}/lib/linuxsampler/liblinuxsampler.la |
84 |
|
%{prefix}/lib/pkgconfig/linuxsampler.pc |
85 |
|
%{prefix}/include/* |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
|
* Fri Mar 27 2009 Christian Schoenebeck <cuse@users.sourceforge.net> |
89 |
|
- included DSSI and LV2 binaries into linuxsampler package |
90 |
|
* Wed Dec 03 2008 Christian Schoenebeck <cuse@users.sourceforge.net> |
91 |
|
- fixed rpmbuild: config.h is no longer exported |
92 |
|
(fixes #87, patch by Devin Anderson) |
93 |
|
* Thu Dec 06 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
94 |
|
- Going for linuxsampler 0.5.1 release. |
95 |
|
* Mon Oct 15 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
96 |
|
- Going for linuxsampler 0.5.0 release. |
97 |
|
* Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
98 |
|
- Going for linuxsampler 0.4.0 release. |
99 |
|
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
100 |
|
- changed deprecated copyright attribute to license |
101 |
|
- added ldconfig to post-(un)install steps |
102 |
|
- added devel package for liblinuxsampler |
103 |
|
* Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
104 |
|
- Going for linuxsampler 0.3.3 bugfix release. |
105 |
|
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
106 |
|
- Ready for linuxsampler 0.3.2 bugfix release. |
107 |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
108 |
- Created first official linuxsampler.spec |
- Created first official linuxsampler.spec |