2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 17 |
%define release 17 |
|
%define prefix @prefix@ |
|
5 |
|
|
6 |
Summary: LinuxSampler control protocol API. |
%define _prefix @prefix@ |
7 |
|
|
8 |
|
Summary: LinuxSampler control protocol API |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release} |
Release: %{release} |
14 |
Group: Sound |
Group: Sound |
15 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
16 |
URL: http://www.linuxsampler.org/ |
URL: http://www.linuxsampler.org/ |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
19 |
|
BuildRequires: doxygen, pkg-config |
20 |
|
|
21 |
%description |
%description |
22 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API. |
32 |
%prep |
%prep |
33 |
|
|
34 |
%setup |
%setup |
35 |
if [ -f Makefile.svn ]; then make -f Makefile.svn; fi |
[ -f Makefile.svn ] && %__make -f Makefile.svn |
36 |
|
|
37 |
%build |
%build |
38 |
%configure |
%configure |
39 |
make |
%__make |
40 |
|
|
41 |
%install |
%install |
|
%{__rm} -rf %{buildroot} |
|
42 |
%makeinstall |
%makeinstall |
43 |
|
|
44 |
|
%clean |
45 |
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
46 |
|
|
47 |
%post |
%post |
48 |
/sbin/ldconfig |
/sbin/ldconfig |
49 |
|
|
50 |
%postun |
%postun |
51 |
/sbin/ldconfig |
/sbin/ldconfig |
52 |
|
|
53 |
%clean |
%files -n %{name}6 |
|
%{__rm} -rf %{buildroot} |
|
|
|
|
|
%files |
|
54 |
%defattr(-,root,root) |
%defattr(-,root,root) |
55 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
56 |
%{_libdir}/liblscp.so* |
%{_libdir}/liblscp.so.* |
57 |
|
|
58 |
%files devel |
%files devel |
59 |
%defattr(-,root,root) |
%defattr(-,root,root) |
60 |
%doc doc/html/* |
%doc doc/html/* |
61 |
|
%{_libdir}/liblscp.so |
62 |
%{_libdir}/liblscp.a |
%{_libdir}/liblscp.a |
63 |
%{_libdir}/liblscp.la |
%{_libdir}/liblscp.la |
64 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |