1 |
|
# |
2 |
|
# spec file for package liblscp |
3 |
|
# |
4 |
|
# Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
# Copyright (C) 2007,2008,2015 Christian Schoenebeck |
6 |
|
# |
7 |
|
# All modifications and additions to the file contributed by third parties |
8 |
|
# remain the property of their copyright owners, unless otherwise agreed |
9 |
|
# upon. The license for this file, and modifications and additions to the |
10 |
|
# file, is the same license as for the pristine package itself (unless the |
11 |
|
# license for the pristine package is not an Open Source License, in which |
12 |
|
# case the license is the MIT License). An "Open Source License" is a |
13 |
|
# license that conforms to the Open Source Definition (Version 1.9) |
14 |
|
# published by the Open Source Initiative. |
15 |
|
# |
16 |
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 |
|
# |
18 |
|
|
19 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
20 |
%define version @VERSION@ |
%define version @VERSION@ |
21 |
%define release 20 |
%define release 25 |
22 |
|
|
23 |
|
%define _soname %{name}6 |
24 |
|
|
25 |
%define _prefix @prefix@ |
%define _prefix @prefix@ |
26 |
|
|
27 |
Summary: LinuxSampler control protocol API |
%if %{defined fedora} |
28 |
|
%global debug_package %{nil} |
29 |
|
%endif |
30 |
|
|
31 |
|
Summary: LinuxSampler Control Protocol API library |
32 |
Name: %{name} |
Name: %{name} |
33 |
Version: %{version} |
Version: %{version} |
34 |
Release: %{release} |
Release: %{release} |
38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
39 |
#Packager: rncbc.org |
#Packager: rncbc.org |
40 |
|
|
41 |
|
BuildRequires: libtool |
42 |
BuildRequires: doxygen |
BuildRequires: doxygen |
43 |
%if %{defined fedora} |
%if %{defined fedora} |
44 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
48 |
BuildRequires: glibc-devel |
BuildRequires: glibc-devel |
49 |
|
|
50 |
%description |
%description |
51 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API library. |
52 |
|
|
53 |
|
|
54 |
%package -n %{name}6 |
%package -n %{_soname} |
55 |
Summary: LinuxSampler control protocol API library |
Summary: LinuxSampler Control Protocol API library |
56 |
Group: Productivity/Multimedia/Sound |
Group: System/Libraries |
57 |
Provides: %{name} |
Provides: %{name} |
58 |
|
|
59 |
%description -n %{name}6 |
%description -n %{_soname} |
60 |
LinuxSampler control protocol API library. |
LinuxSampler Control Protocol C API library - development files. |
61 |
|
. |
62 |
|
This package is for use with the LinuxSampler audio sampling |
63 |
|
engine / library and packages. Wraps the LinuxSampler network |
64 |
|
protocol and offers a convenient API in form of a C library. |
65 |
|
. |
66 |
|
For further informations visit |
67 |
|
http://www.linuxsampler.org |
68 |
|
. |
69 |
|
This package contains the header files needed for |
70 |
|
development with liblscp. You will need this only if you |
71 |
|
intend to compile programs that use this library. |
72 |
|
|
73 |
|
|
74 |
%package devel |
%package devel |
75 |
Summary: LinuxSampler control protocol API libraries and include files |
Summary: LinuxSampler Control Protocol API library - development files |
76 |
Group: Development/Libraries/C and C++ |
Group: Development/Libraries/C and C++ |
77 |
Requires: %{name} = %{version} |
Requires: %{name} >= %{version} |
78 |
|
|
79 |
%description devel |
%description devel |
80 |
LinuxSampler control protocol API libraries and include files. |
LinuxSampler Control Protocol C API library - development files. |
81 |
|
|
82 |
|
This package is for use with the LinuxSampler audio sampling |
83 |
|
engine / library and packages. Wraps the LinuxSampler network |
84 |
|
protocol and offers a convenient API in form of a C library. |
85 |
|
|
86 |
|
For further informations visit |
87 |
|
http://www.linuxsampler.org |
88 |
|
|
89 |
|
This package contains the header files needed for |
90 |
|
development with liblscp. You will need this only if you |
91 |
|
intend to compile programs that use this library. |
92 |
|
|
93 |
|
|
94 |
%prep |
%prep |
97 |
[ -x ./autogen.sh ] && ./autogen.sh |
[ -x ./autogen.sh ] && ./autogen.sh |
98 |
|
|
99 |
%build |
%build |
100 |
|
%if %{undefined fedora} |
101 |
|
export CFLAGS="-ffat-lto-objects" |
102 |
|
%endif |
103 |
%configure |
%configure |
104 |
%__make %{?_smp_mflags} |
%__make %{?_smp_mflags} |
105 |
|
|
107 |
%__make DESTDIR="%{buildroot}" install |
%__make DESTDIR="%{buildroot}" install |
108 |
|
|
109 |
%clean |
%clean |
110 |
[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
111 |
|
|
112 |
%post -n %{name}6 |
%post -n %{_soname} |
113 |
/sbin/ldconfig |
/sbin/ldconfig |
114 |
|
|
115 |
%postun -n %{name}6 |
%postun -n %{_soname} |
116 |
/sbin/ldconfig |
/sbin/ldconfig |
117 |
|
|
118 |
%files -n %{name}6 |
%files -n %{_soname} |
119 |
%defattr(-,root,root) |
%defattr(-,root,root) |
120 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
121 |
%{_libdir}/liblscp.so.* |
%{_libdir}/liblscp.so.* |
131 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |
132 |
|
|
133 |
%changelog |
%changelog |
134 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0 |
135 |
|
- An Autumn'17 release: bumped directly to 0.6.0. |
136 |
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.5.8 |
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.5.8 |
137 |
- A Fall'16 release. |
- A Fall'16 release. |
138 |
* Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.5.7 |
* Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.5.7 |