1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 2 |
%define release 8 |
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/ |
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 prefix=$RPM_BUILD_ROOT%{prefix} 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 |
68 |
|
|
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}/man/man1/linuxsampler.* |
75 |
|
|
76 |
|
%files devel |
77 |
|
%defattr(-,root,root) |
78 |
|
%doc doc/html/* |
79 |
|
%{prefix}/lib/linuxsampler/liblinuxsampler.a |
80 |
|
%{prefix}/lib/linuxsampler/liblinuxsampler.la |
81 |
|
%{prefix}/lib/pkgconfig/linuxsampler.pc |
82 |
|
%{prefix}/include/* |
83 |
|
|
84 |
%changelog |
%changelog |
85 |
|
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
86 |
|
- changed deprecated copyright attribute to license |
87 |
|
- added ldconfig to post-(un)install steps |
88 |
|
- added devel package for liblinuxsampler |
89 |
|
* Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
90 |
|
- Going for linuxsampler 0.3.3 bugfix release. |
91 |
|
* Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
92 |
|
- Ready for linuxsampler 0.3.2 bugfix release. |
93 |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
94 |
- Created first official linuxsampler.spec |
- Created first official linuxsampler.spec |