13 |
Group: Sound |
Group: Sound |
14 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
15 |
URL: http://www.linuxsampler.org/ |
URL: http://www.linuxsampler.org/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) |
17 |
|
|
18 |
%description |
%description |
19 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API. |
32 |
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi |
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi |
33 |
|
|
34 |
%build |
%build |
35 |
./configure --prefix=%{prefix} --libdir=%{_libdir} |
%configure |
36 |
make |
make |
37 |
|
|
38 |
%install |
%install |
39 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%{__rm} -rf %{buildroot} |
40 |
mkdir -p $RPM_BUILD_ROOT |
%makeinstall |
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
|
41 |
|
|
42 |
%post |
%post |
43 |
/sbin/ldconfig |
/sbin/ldconfig |
46 |
/sbin/ldconfig |
/sbin/ldconfig |
47 |
|
|
48 |
%clean |
%clean |
49 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%{__rm} -rf %{buildroot} |
50 |
|
|
51 |
%files |
%files |
52 |
%defattr(-,root,root) |
%defattr(-,root,root) |