1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 16 |
%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: /var/tmp/%{name}-%{version}-buildroot |
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.cvs ]; then make -f Makefile.cvs; fi |
[ -f Makefile.svn ] && %__make -f Makefile.svn |
36 |
|
|
37 |
%build |
%build |
38 |
./configure --prefix=%{prefix} |
%configure |
39 |
make |
%__make |
40 |
|
|
41 |
%install |
%install |
42 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%makeinstall |
43 |
mkdir -p $RPM_BUILD_ROOT |
|
44 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
%clean |
45 |
|
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} |
46 |
|
|
47 |
%post |
%post |
48 |
/sbin/ldconfig |
/sbin/ldconfig |
50 |
%postun |
%postun |
51 |
/sbin/ldconfig |
/sbin/ldconfig |
52 |
|
|
53 |
%clean |
%files -n %{name}6 |
|
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
|
|
|
|
|
%files |
|
54 |
%defattr(-,root,root) |
%defattr(-,root,root) |
55 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
56 |
%{prefix}/lib/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 |
%{prefix}/lib/liblscp.a |
%{_libdir}/liblscp.so |
62 |
%{prefix}/lib/liblscp.la |
%{_libdir}/liblscp.a |
63 |
%{prefix}/lib/pkgconfig/lscp.pc |
%{_libdir}/liblscp.la |
64 |
%{prefix}/include/lscp |
%{_libdir}/pkgconfig/lscp.pc |
65 |
|
%dir %{_includedir}/lscp |
66 |
|
%{_includedir}/lscp/*.h |
67 |
|
|
68 |
%changelog |
%changelog |
69 |
|
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@users.sourceforge.net> |
70 |
|
- New 0.5.6 release. |
71 |
|
|
72 |
* Fri Oct 12 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Fri Oct 12 2007 Rui Nuno Capela <rncbc@users.sourceforge.net> |
73 |
- Changed client interface function, for editing channel instrument. |
- Changed client interface function, for editing channel instrument. |
74 |
- New 0.5.5 release. |
- New 0.5.5 release. |