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@ |
20 |
|
%define version @VERSION@ |
21 |
|
%define release 40 |
22 |
|
|
23 |
|
%define _soname %{name}6 |
24 |
|
|
25 |
|
%define _prefix @prefix@ |
26 |
|
|
27 |
|
%if %{defined fedora} |
28 |
|
%global debug_package %{nil} |
29 |
|
%endif |
30 |
|
|
31 |
%define name @PACKAGE@ |
Summary: LinuxSampler Control Protocol API library |
|
%define version @VERSION@ |
|
|
%define release 7 |
|
|
%define prefix @prefix@ |
|
|
|
|
|
Summary: LinuxSampler control protocol API. |
|
32 |
Name: %{name} |
Name: %{name} |
33 |
Version: %{version} |
Version: %{version} |
34 |
Release: %{release} |
Release: %{release} |
35 |
Prefix: %{prefix} |
License: LGPL-2.0+ |
|
Copyright: LGPL |
|
|
Group: Sound |
|
36 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
37 |
URL: http://www.linuxsampler.org/ |
URL: http://www.linuxsampler.org/ |
38 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
39 |
|
#Packager: rncbc.org |
40 |
|
|
41 |
|
BuildRequires: libtool |
42 |
|
BuildRequires: doxygen |
43 |
|
%if %{defined fedora} |
44 |
|
BuildRequires: pkgconfig |
45 |
|
%else |
46 |
|
BuildRequires: pkg-config |
47 |
|
%endif |
48 |
|
BuildRequires: glibc-devel |
49 |
|
|
50 |
%description |
%description |
51 |
LinuxSampler control protocol API. |
LinuxSampler control protocol API library. |
52 |
|
|
53 |
|
|
54 |
|
%package -n %{_soname} |
55 |
|
Summary: LinuxSampler Control Protocol API library |
56 |
|
Group: System/Libraries |
57 |
|
Provides: %{name} |
58 |
|
|
59 |
|
%description -n %{_soname} |
60 |
|
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 |
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 |
95 |
|
|
96 |
%setup |
%setup |
97 |
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi |
[ -x ./autogen.sh ] && ./autogen.sh |
98 |
|
|
99 |
%build |
%build |
100 |
./configure --prefix=%{prefix} |
%if %{undefined fedora} |
101 |
make |
export CFLAGS="-ffat-lto-objects" |
102 |
|
%endif |
103 |
|
%configure |
104 |
|
%__make %{?_smp_mflags} |
105 |
|
|
106 |
%install |
%install |
107 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
%__make DESTDIR="%{buildroot}" install |
|
mkdir -p $RPM_BUILD_ROOT |
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install |
|
108 |
|
|
109 |
%clean |
%clean |
110 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" |
111 |
|
|
112 |
|
%post -n %{_soname} |
113 |
|
/sbin/ldconfig |
114 |
|
|
115 |
|
%postun -n %{_soname} |
116 |
|
/sbin/ldconfig |
117 |
|
|
118 |
%files |
%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 |
%{prefix}/lib/liblscp.so* |
%{_libdir}/liblscp.so.* |
122 |
|
|
123 |
%files devel |
%files devel |
124 |
%defattr(-,root,root) |
%defattr(-,root,root) |
125 |
%doc doc/html/* |
%doc doc/html/* |
126 |
%{prefix}/lib/liblscp.a |
%{_libdir}/liblscp.so |
127 |
%{prefix}/lib/liblscp.la |
%{_libdir}/liblscp.a |
128 |
%{prefix}/lib/pkgconfig/lscp.pc |
%{_libdir}/liblscp.la |
129 |
%{prefix}/include/lscp |
%{_libdir}/pkgconfig/lscp.pc |
130 |
|
%dir %{_includedir}/lscp |
131 |
|
%{_includedir}/lscp/*.h |
132 |
|
|
133 |
%changelog |
%changelog |
134 |
* Thu Jun 10 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Sun Dec 22 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.1 |
135 |
|
- Winter'19 release. |
136 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0 |
137 |
|
- An Autumn'17 release: bumped directly to 0.6.0. |
138 |
|
* Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.5.8 |
139 |
|
- A Fall'16 release. |
140 |
|
* Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.5.7 |
141 |
|
- A fifth of a Jubilee release. |
142 |
|
* Sun Feb 24 2013 Rui Nuno Capela <rncbc@rncbc.org> |
143 |
|
- Use getaddrinfo() instead of deprecated gethostbyname(). |
144 |
|
* Sat Aug 1 2009 Rui Nuno Capela <rncbc@rncbc.org> 0.5.6 |
145 |
|
- New 0.5.6 release. |
146 |
|
* Fri Oct 12 2007 Rui Nuno Capela <rncbc@rncbc.org> 0.5.5 |
147 |
|
- Changed client interface function, for editing channel instrument. |
148 |
|
- New 0.5.5 release. |
149 |
|
* Tue Oct 2 2007 Rui Nuno Capela <rncbc@rncbc.org> 0.5.4 |
150 |
|
- Added new client interface function, for editing instrument. |
151 |
|
- New 0.5.4 release. |
152 |
|
* Mon Jan 15 2007 Rui Nuno Capela <rncbc@rncbc.org> 0.5.3 |
153 |
|
- New 0.5.3 release. |
154 |
|
* Thu Jan 11 2007 Rui Nuno Capela <rncbc@rncbc.org> 0.5.2 |
155 |
|
- Sampler channel effect sends control and global volume support. |
156 |
|
- Audio routing representation changed to integer array. |
157 |
|
- New 0.5.2 release. |
158 |
|
* Fri Dec 22 2006 Rui Nuno Capela <rncbc@rncbc.org> 0.5.1 |
159 |
|
- Added support for new (un)subscribable events. |
160 |
|
- Examples update. |
161 |
|
- Prepared for 0.5.1 maintenance release. |
162 |
|
* Sun Dec 17 2006 Rui Nuno Capela <rncbc@rncbc.org> 0.5.0 |
163 |
|
- Multi MIDI instrument maps introduced, sampler channel assignable. |
164 |
|
- Moved on up to a brand new 0.5.0 release. |
165 |
|
* Mon Dec 4 2006 Rui Nuno Capela <rncbc@rncbc.org> 0.4.2 |
166 |
|
- Going up to 0.4.2 fast. |
167 |
|
* Tue Nov 28 2006 Rui Nuno Capela <rncbc@rncbc.org> 0.4.1 |
168 |
|
- Bumped directly to 0.4.1 release. |
169 |
|
- Getting ready for the new MIDI instrument mapping features. |
170 |
|
* Thu Jun 1 2006 Rui Nuno Capela <rncbc@rncbc.org> 0.3.3 |
171 |
|
- Take a chance for a new 0.3.3 release. |
172 |
|
- Changed deprecated copyright attribute to license. |
173 |
|
- Added ldconfig to post-(un)install steps. |
174 |
|
* Mon Aug 29 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.3.2 |
175 |
|
- Fixed for 0.3.2 release. |
176 |
|
* Wed Aug 10 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1 |
177 |
|
- Prepare 0.3.1 release for sampler channel mute/solo support. |
178 |
|
* Fri Jun 10 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0 |
179 |
- Prepare 0.3.0 release featuring timeout flush idiosyncrasies. |
- Prepare 0.3.0 release featuring timeout flush idiosyncrasies. |
180 |
|
* Sun May 22 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.2.9 |
|
* Sun May 22 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
181 |
- Prepare 0.2.9 release due to event subscription LSCP command changes. |
- Prepare 0.2.9 release due to event subscription LSCP command changes. |
182 |
|
* Fri May 6 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.2.8 |
|
* Tue May 6 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
183 |
- Prepare 0.2.8 release in response to [bug #9]. |
- Prepare 0.2.8 release in response to [bug #9]. |
184 |
|
* Thu Mar 10 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.2.7 |
|
* Tue Mar 10 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
185 |
- Prepare 0.2.7 yet another bug-fix release. |
- Prepare 0.2.7 yet another bug-fix release. |
186 |
|
* Tue Mar 1 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.2.6 |
|
* Tue Mar 1 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
187 |
- Prepare 0.2.6 bug-fix release. |
- Prepare 0.2.6 bug-fix release. |
188 |
|
* Mon Feb 14 2005 Rui Nuno Capela <rncbc@rncbc.org> 0.2.5 |
|
* Tue Feb 14 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
189 |
- Prepare 0.2.5 release. |
- Prepare 0.2.5 release. |
190 |
|
* Mon Oct 11 2004 Rui Nuno Capela <rncbc@rncbc.org> 0.2.4 |
|
* Tue Oct 11 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
191 |
- Fixed 0.2.4 release. |
- Fixed 0.2.4 release. |
192 |
|
* Tue Sep 28 2004 Rui Nuno Capela <rncbc@rncbc.org> 0.2.3 |
|
* Tue Sep 28 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
193 |
- Fixed 0.2.3 release. |
- Fixed 0.2.3 release. |
194 |
|
* Thu Jul 29 2004 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2 |
|
* Tue Jul 29 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
195 |
- Prepare 0.2.2 release. |
- Prepare 0.2.2 release. |
|
|
|
196 |
* Tue Jul 13 2004 Christian Schoenebeck <cuse@users.sourceforge.net> |
* Tue Jul 13 2004 Christian Schoenebeck <cuse@users.sourceforge.net> |
197 |
- renamed 'liblscp.pc' to 'lscp.pc' as well as the pkg-config lib name |
- renamed 'liblscp.pc' to 'lscp.pc' as well as the pkg-config lib name |
198 |
|
* Thu Jul 8 2004 Rui Nuno Capela <rncbc@rncbc.org> 0.2.1 |
|
* Thu Jul 8 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
199 |
- Prepare 0.2.1 bugfix release. |
- Prepare 0.2.1 bugfix release. |
200 |
|
* Tue Jul 6 2004 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2 |
|
* Tue Jul 6 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
201 |
- Catch up on 0.2.0 release. |
- Catch up on 0.2.0 release. |
202 |
|
* Mon Apr 26 2004 Rui Nuno Capela <rncbc@rncbc.org> |
|
* Mon Apr 26 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
203 |
- Server stuff moved out (stays on examples source package) |
- Server stuff moved out (stays on examples source package) |
204 |
|
* Sat Apr 24 2004 Rui Nuno Capela <rncbc@rncbc.org> |
|
* Sat Apr 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
|
205 |
- Created initial liblscp.spec.in |
- Created initial liblscp.spec.in |