--- liblscp/trunk/liblscp.spec.in 2010/05/21 09:16:35 2096 +++ liblscp/trunk/liblscp.spec.in 2019/12/23 11:06:05 3670 @@ -1,56 +1,121 @@ +# +# spec file for package liblscp +# +# Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved. +# Copyright (C) 2007,2008,2015 Christian Schoenebeck +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %define name @PACKAGE@ %define version @VERSION@ -%define release 17 +%define release 40 + +%define _soname %{name}6 %define _prefix @prefix@ -Summary: LinuxSampler control protocol API +%if %{defined fedora} +%global debug_package %{nil} +%endif + +Summary: LinuxSampler Control Protocol API library Name: %{name} Version: %{version} Release: %{release} -Prefix: %{prefix} -License: LGPL -Group: Sound +License: LGPL-2.0+ Source0: %{name}-%{version}.tar.gz URL: http://www.linuxsampler.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +#Packager: rncbc.org -BuildRequires: doxygen, pkg-config +BuildRequires: libtool +BuildRequires: doxygen +%if %{defined fedora} +BuildRequires: pkgconfig +%else +BuildRequires: pkg-config +%endif +BuildRequires: glibc-devel %description -LinuxSampler control protocol API. +LinuxSampler control protocol API library. + + +%package -n %{_soname} +Summary: LinuxSampler Control Protocol API library +Group: System/Libraries +Provides: %{name} + +%description -n %{_soname} + LinuxSampler Control Protocol C API library - development files. + . + This package is for use with the LinuxSampler audio sampling + engine / library and packages. Wraps the LinuxSampler network + protocol and offers a convenient API in form of a C library. + . + For further informations visit + http://www.linuxsampler.org + . + This package contains the header files needed for + development with liblscp. You will need this only if you + intend to compile programs that use this library. + %package devel -Summary: LinuxSampler control protocol API libraries and include files. -Group: Development/Libraries -Requires: %{name} = %{version} +Summary: LinuxSampler Control Protocol API library - development files +Group: Development/Libraries/C and C++ +Requires: %{name} >= %{version} %description devel -LinuxSampler control protocol API libraries and include files. +LinuxSampler Control Protocol C API library - development files. + +This package is for use with the LinuxSampler audio sampling +engine / library and packages. Wraps the LinuxSampler network +protocol and offers a convenient API in form of a C library. + +For further informations visit +http://www.linuxsampler.org + +This package contains the header files needed for +development with liblscp. You will need this only if you +intend to compile programs that use this library. + %prep %setup -[ -f Makefile.svn ] && %__make -f Makefile.svn +[ -x ./autogen.sh ] && ./autogen.sh %build +%if %{undefined fedora} +export CFLAGS="-ffat-lto-objects" +%endif %configure -%__make +%__make %{?_smp_mflags} %install -%makeinstall +%__make DESTDIR="%{buildroot}" install %clean -[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} +[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" -%post +%post -n %{_soname} /sbin/ldconfig -%postun +%postun -n %{_soname} /sbin/ldconfig -%files -n %{name}6 +%files -n %{_soname} %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_libdir}/liblscp.so.* @@ -66,90 +131,75 @@ %{_includedir}/lscp/*.h %changelog -* Sat Aug 1 2009 Rui Nuno Capela +* Sun Dec 22 2019 Rui Nuno Capela 0.6.1 +- Winter'19 release. +* Tue Dec 12 2017 Rui Nuno Capela 0.6.0 +- An Autumn'17 release: bumped directly to 0.6.0. +* Mon Nov 14 2016 Rui Nuno Capela 0.5.8 +- A Fall'16 release. +* Tue Dec 31 2013 Rui Nuno Capela 0.5.7 +- A fifth of a Jubilee release. +* Sun Feb 24 2013 Rui Nuno Capela +- Use getaddrinfo() instead of deprecated gethostbyname(). +* Sat Aug 1 2009 Rui Nuno Capela 0.5.6 - New 0.5.6 release. - -* Fri Oct 12 2007 Rui Nuno Capela +* Fri Oct 12 2007 Rui Nuno Capela 0.5.5 - Changed client interface function, for editing channel instrument. - New 0.5.5 release. - -* Tue Oct 2 2007 Rui Nuno Capela +* Tue Oct 2 2007 Rui Nuno Capela 0.5.4 - Added new client interface function, for editing instrument. - New 0.5.4 release. - -* Mon Jan 15 2007 Rui Nuno Capela +* Mon Jan 15 2007 Rui Nuno Capela 0.5.3 - New 0.5.3 release. - -* Thu Jan 11 2007 Rui Nuno Capela +* Thu Jan 11 2007 Rui Nuno Capela 0.5.2 - Sampler channel effect sends control and global volume support. - Audio routing representation changed to integer array. - New 0.5.2 release. - -* Fri Dec 22 2006 Rui Nuno Capela +* Fri Dec 22 2006 Rui Nuno Capela 0.5.1 - Added support for new (un)subscribable events. - Examples update. - Prepared for 0.5.1 maintenance release. - -* Sun Dec 17 2006 Rui Nuno Capela +* Sun Dec 17 2006 Rui Nuno Capela 0.5.0 - Multi MIDI instrument maps introduced, sampler channel assignable. - Moved on up to a brand new 0.5.0 release. - -* Mon Dec 4 2006 Rui Nuno Capela +* Mon Dec 4 2006 Rui Nuno Capela 0.4.2 - Going up to 0.4.2 fast. - -* Tue Nov 28 2006 Rui Nuno Capela +* Tue Nov 28 2006 Rui Nuno Capela 0.4.1 - Bumped directly to 0.4.1 release. - Getting ready for the new MIDI instrument mapping features. - -* Thu Jun 01 2006 Rui Nuno Capela +* Thu Jun 1 2006 Rui Nuno Capela 0.3.3 - Take a chance for a new 0.3.3 release. - Changed deprecated copyright attribute to license. - Added ldconfig to post-(un)install steps. - -* Mon Aug 29 2005 Rui Nuno Capela +* Mon Aug 29 2005 Rui Nuno Capela 0.3.2 - Fixed for 0.3.2 release. - -* Tue Aug 10 2005 Rui Nuno Capela +* Wed Aug 10 2005 Rui Nuno Capela 0.3.1 - Prepare 0.3.1 release for sampler channel mute/solo support. - -* Thu Jun 10 2005 Rui Nuno Capela +* Fri Jun 10 2005 Rui Nuno Capela 0.3.0 - Prepare 0.3.0 release featuring timeout flush idiosyncrasies. - -* Sun May 22 2005 Rui Nuno Capela +* Sun May 22 2005 Rui Nuno Capela 0.2.9 - Prepare 0.2.9 release due to event subscription LSCP command changes. - -* Tue May 6 2005 Rui Nuno Capela +* Fri May 6 2005 Rui Nuno Capela 0.2.8 - Prepare 0.2.8 release in response to [bug #9]. - -* Tue Mar 10 2005 Rui Nuno Capela +* Thu Mar 10 2005 Rui Nuno Capela 0.2.7 - Prepare 0.2.7 yet another bug-fix release. - -* Tue Mar 1 2005 Rui Nuno Capela +* Tue Mar 1 2005 Rui Nuno Capela 0.2.6 - Prepare 0.2.6 bug-fix release. - -* Tue Feb 14 2005 Rui Nuno Capela +* Mon Feb 14 2005 Rui Nuno Capela 0.2.5 - Prepare 0.2.5 release. - -* Tue Oct 11 2004 Rui Nuno Capela +* Mon Oct 11 2004 Rui Nuno Capela 0.2.4 - Fixed 0.2.4 release. - -* Tue Sep 28 2004 Rui Nuno Capela +* Tue Sep 28 2004 Rui Nuno Capela 0.2.3 - Fixed 0.2.3 release. - -* Tue Jul 29 2004 Rui Nuno Capela +* Thu Jul 29 2004 Rui Nuno Capela 0.2.2 - Prepare 0.2.2 release. - * Tue Jul 13 2004 Christian Schoenebeck - renamed 'liblscp.pc' to 'lscp.pc' as well as the pkg-config lib name - -* Thu Jul 8 2004 Rui Nuno Capela +* Thu Jul 8 2004 Rui Nuno Capela 0.2.1 - Prepare 0.2.1 bugfix release. - -* Tue Jul 6 2004 Rui Nuno Capela +* Tue Jul 6 2004 Rui Nuno Capela 0.2.2 - Catch up on 0.2.0 release. - -* Mon Apr 26 2004 Rui Nuno Capela +* Mon Apr 26 2004 Rui Nuno Capela - Server stuff moved out (stays on examples source package) - -* Sat Apr 24 2004 Rui Nuno Capela +* Sat Apr 24 2004 Rui Nuno Capela - Created initial liblscp.spec.in