3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 24 |
%define release 24 |
5 |
|
|
6 |
|
%define _soname %{name}6 |
7 |
|
|
8 |
%define _prefix @prefix@ |
%define _prefix @prefix@ |
9 |
|
|
10 |
Summary: LinuxSampler control protocol API |
Summary: LinuxSampler control protocol API |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
18 |
#Packager: rncbc.org |
#Packager: rncbc.org |
19 |
|
|
20 |
|
BuildRequires: libtool |
21 |
BuildRequires: doxygen |
BuildRequires: doxygen |
22 |
%if %{defined fedora} |
%if %{defined fedora} |
23 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
30 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API. |
31 |
|
|
32 |
|
|
33 |
%package -n %{name}6 |
%package -n %{_soname} |
34 |
Summary: LinuxSampler control protocol API library |
Summary: LinuxSampler control protocol API library |
35 |
Group: Productivity/Multimedia/Sound |
Group: Productivity/Multimedia/Sound |
36 |
Provides: %{name} |
Provides: %{name} |
37 |
|
|
38 |
%description -n %{name}6 |
%description -n %{_soname} |
39 |
LinuxSampler control protocol API library. |
LinuxSampler control protocol API library. |
40 |
|
|
41 |
|
|
59 |
|
|
60 |
%install |
%install |
61 |
%__make DESTDIR="%{buildroot}" install |
%__make DESTDIR="%{buildroot}" install |
62 |
|
find %{buildroot} -name "lib*.*a" -ls -delete |
63 |
|
|
64 |
%clean |
%clean |
65 |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
66 |
|
|
67 |
%post -n %{name}6 |
%post -n %{_soname} |
68 |
/sbin/ldconfig |
/sbin/ldconfig |
69 |
|
|
70 |
%postun -n %{name}6 |
%postun -n %{_soname} |
71 |
/sbin/ldconfig |
/sbin/ldconfig |
72 |
|
|
73 |
%files -n %{name}6 |
%files -n %{_soname} |
74 |
%defattr(-,root,root) |
%defattr(-,root,root) |
75 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
76 |
%{_libdir}/liblscp.so.* |
%{_libdir}/liblscp.so.* |
79 |
%defattr(-,root,root) |
%defattr(-,root,root) |
80 |
%doc doc/html/* |
%doc doc/html/* |
81 |
%{_libdir}/liblscp.so |
%{_libdir}/liblscp.so |
82 |
%{_libdir}/liblscp.a |
#{_libdir}/liblscp.a |
83 |
%{_libdir}/liblscp.la |
#{_libdir}/liblscp.la |
84 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |
85 |
%dir %{_includedir}/lscp |
%dir %{_includedir}/lscp |
86 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |