1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 24 |
%define release 25 |
5 |
|
|
6 |
%define _soname %{name}6 |
%define _soname %{name}6 |
7 |
|
|
8 |
%define _prefix @prefix@ |
%define _prefix @prefix@ |
9 |
|
|
10 |
Summary: LinuxSampler control protocol API |
%if %{defined fedora} |
11 |
|
%global debug_package %{nil} |
12 |
|
%endif |
13 |
|
|
14 |
|
Summary: LinuxSampler Control Protocol API library |
15 |
Name: %{name} |
Name: %{name} |
16 |
Version: %{version} |
Version: %{version} |
17 |
Release: %{release} |
Release: %{release} |
31 |
BuildRequires: glibc-devel |
BuildRequires: glibc-devel |
32 |
|
|
33 |
%description |
%description |
34 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API library. |
35 |
|
|
36 |
|
|
37 |
%package -n %{_soname} |
%package -n %{_soname} |
38 |
Summary: LinuxSampler control protocol API library |
Summary: LinuxSampler Control Protocol API library |
39 |
Group: Productivity/Multimedia/Sound |
Group: System/Libraries |
40 |
Provides: %{name} |
Provides: %{name} |
41 |
|
|
42 |
%description -n %{_soname} |
%description -n %{_soname} |
43 |
LinuxSampler control protocol API library. |
LinuxSampler Control Protocol C API library - development files. |
44 |
|
. |
45 |
|
This package is for use with the LinuxSampler audio sampling |
46 |
|
engine / library and packages. Wraps the LinuxSampler network |
47 |
|
protocol and offers a convenient API in form of a C library. |
48 |
|
. |
49 |
|
For further informations visit |
50 |
|
http://www.linuxsampler.org |
51 |
|
. |
52 |
|
This package contains the header files needed for |
53 |
|
development with liblscp. You will need this only if you |
54 |
|
intend to compile programs that use this library. |
55 |
|
|
56 |
|
|
57 |
%package devel |
%package devel |
58 |
Summary: LinuxSampler control protocol API libraries and include files |
Summary: LinuxSampler Control Protocol API library - development files |
59 |
Group: Development/Libraries/C and C++ |
Group: Development/Libraries/C and C++ |
60 |
Requires: %{name} = %{version} |
Requires: %{name} >= %{version} |
61 |
|
|
62 |
%description devel |
%description devel |
63 |
LinuxSampler control protocol API libraries and include files. |
LinuxSampler Control Protocol C API library - development files. |
64 |
|
|
65 |
|
This package is for use with the LinuxSampler audio sampling |
66 |
|
engine / library and packages. Wraps the LinuxSampler network |
67 |
|
protocol and offers a convenient API in form of a C library. |
68 |
|
|
69 |
|
For further informations visit |
70 |
|
http://www.linuxsampler.org |
71 |
|
|
72 |
|
This package contains the header files needed for |
73 |
|
development with liblscp. You will need this only if you |
74 |
|
intend to compile programs that use this library. |
75 |
|
|
76 |
|
|
77 |
%prep |
%prep |
80 |
[ -x ./autogen.sh ] && ./autogen.sh |
[ -x ./autogen.sh ] && ./autogen.sh |
81 |
|
|
82 |
%build |
%build |
83 |
|
%if %{undefined fedora} |
84 |
|
export CFLAGS="-ffat-lto-objects" |
85 |
|
%endif |
86 |
%configure |
%configure |
87 |
%__make %{?_smp_mflags} |
%__make %{?_smp_mflags} |
88 |
|
|
89 |
%install |
%install |
90 |
%__make DESTDIR="%{buildroot}" install |
%__make DESTDIR="%{buildroot}" install |
|
find %{buildroot} -name "lib*.*a" -ls -delete |
|
91 |
|
|
92 |
%clean |
%clean |
93 |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
107 |
%defattr(-,root,root) |
%defattr(-,root,root) |
108 |
%doc doc/html/* |
%doc doc/html/* |
109 |
%{_libdir}/liblscp.so |
%{_libdir}/liblscp.so |
110 |
#{_libdir}/liblscp.a |
%{_libdir}/liblscp.a |
111 |
#{_libdir}/liblscp.la |
%{_libdir}/liblscp.la |
112 |
%{_libdir}/pkgconfig/lscp.pc |
%{_libdir}/pkgconfig/lscp.pc |
113 |
%dir %{_includedir}/lscp |
%dir %{_includedir}/lscp |
114 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |