--- liblscp/trunk/liblscp.spec.in 2009/08/01 17:23:32 1966 +++ liblscp/trunk/liblscp.spec.in 2016/11/13 18:43:46 3045 @@ -1,152 +1,152 @@ %define name @PACKAGE@ %define version @VERSION@ -%define release 17 -%define prefix @prefix@ +%define release 20 -Summary: LinuxSampler control protocol API. +%define _prefix @prefix@ + +Summary: LinuxSampler control protocol API 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: /var/tmp/%{name}-%{version}-buildroot +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +#Packager: rncbc.org + +BuildRequires: doxygen +%if %{defined fedora} +BuildRequires: pkgconfig +%else +BuildRequires: pkg-config +%endif +BuildRequires: glibc-devel %description LinuxSampler control protocol API. + +%package -n %{name}6 +Summary: LinuxSampler control protocol API library +Group: Productivity/Multimedia/Sound +Provides: %{name} + +%description -n %{name}6 +LinuxSampler control protocol API library. + + %package devel -Summary: LinuxSampler control protocol API libraries and include files. -Group: Development/Libraries +Summary: LinuxSampler control protocol API libraries and include files +Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel LinuxSampler control protocol API libraries and include files. + %prep %setup -if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi +[ -x ./autogen.sh ] && ./autogen.sh %build -./configure --prefix=%{prefix} -make +%configure +%__make %{?_smp_mflags} %install -if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi -mkdir -p $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install +%__make DESTDIR="%{buildroot}" install -%post -/sbin/ldconfig +%clean +[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}" -%postun +%post -n %{name}6 /sbin/ldconfig -%clean -if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi +%postun -n %{name}6 +/sbin/ldconfig -%files +%files -n %{name}6 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO -%{_libdir}/liblscp.so* +%{_libdir}/liblscp.so.* %files devel %defattr(-,root,root) %doc doc/html/* +%{_libdir}/liblscp.so %{_libdir}/liblscp.a %{_libdir}/liblscp.la %{_libdir}/pkgconfig/lscp.pc -%{_includedir}/lscp +%dir %{_includedir}/lscp +%{_includedir}/lscp/*.h %changelog -* Sat Aug 1 2009 Rui Nuno Capela +* 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