1 |
capela |
52 |
|
2 |
|
|
%define name @PACKAGE@ |
3 |
|
|
%define version @VERSION@ |
4 |
|
|
%define release 1 |
5 |
|
|
%define prefix @prefix@ |
6 |
|
|
|
7 |
|
|
Summary: LinuxSampler control protocol API. |
8 |
|
|
Name: %{name} |
9 |
|
|
Version: %{version} |
10 |
|
|
Release: %{release} |
11 |
|
|
Prefix: %{prefix} |
12 |
|
|
Copyright: LGPL |
13 |
|
|
Group: Sound |
14 |
|
|
Source0: %{name}-%{version}.tar.gz |
15 |
|
|
URL: http://www.linuxsampler.org/ |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
LinuxSampler control protocol API. |
20 |
|
|
|
21 |
|
|
%package devel |
22 |
|
|
Summary: LinuxSampler control protocol API libraries and include files. |
23 |
|
|
Group: Development/Libraries |
24 |
|
|
Requires: %{name} = %{version} |
25 |
|
|
|
26 |
|
|
%description devel |
27 |
|
|
LinuxSampler control protocol API libraries and include files. |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
|
31 |
|
|
%setup |
32 |
|
|
|
33 |
|
|
%build |
34 |
|
|
make -f Makefile.cvs |
35 |
|
|
./configure --prefix=%{prefix} |
36 |
|
|
make |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
40 |
|
|
mkdir -p $RPM_BUILD_ROOT |
41 |
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
42 |
|
|
|
43 |
|
|
%clean |
44 |
|
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
45 |
|
|
|
46 |
|
|
%files |
47 |
|
|
%defattr(-,root,root) |
48 |
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
49 |
|
|
%{prefix}/lib/liblscp.so* |
50 |
|
|
|
51 |
|
|
%files devel |
52 |
|
|
%defattr(-,root,root) |
53 |
|
|
%doc doc/html/* |
54 |
|
|
%{prefix}/lib/liblscp.a |
55 |
|
|
%{prefix}/lib/liblscp.la |
56 |
|
|
%{prefix}/lib/pkgconfig/liblscp.pc |
57 |
|
|
%{prefix}/include/lscp |
58 |
|
|
|
59 |
|
|
%changelog |
60 |
|
|
* Mon Apr 26 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
61 |
|
|
- Server stuff moved out (stays on examples source package) |
62 |
|
|
|
63 |
|
|
* Sat Apr 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
64 |
|
|
- Created initial liblscp.spec.in |