--- liblscp/trunk/liblscp.spec.in 2016/04/12 16:44:46 2873 +++ liblscp/trunk/liblscp.spec.in 2019/09/08 09:47:23 3597 @@ -1,7 +1,9 @@ %define name @PACKAGE@ %define version @VERSION@ -%define release 20 +%define release 24 + +%define _soname %{name}6 %define _prefix @prefix@ @@ -15,19 +17,25 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Packager: rncbc.org -BuildRequires: doxygen, pkg-config -BuildRequires: glibc-devel +BuildRequires: libtool +BuildRequires: doxygen +%if %{defined fedora} +BuildRequires: pkgconfig +%else +BuildRequires: pkg-config +%endif +BuildRequires: glibc-devel %description LinuxSampler control protocol API. -%package -n %{name}6 +%package -n %{_soname} Summary: LinuxSampler control protocol API library Group: Productivity/Multimedia/Sound Provides: %{name} -%description -n %{name}6 +%description -n %{_soname} LinuxSampler control protocol API library. @@ -43,25 +51,26 @@ %prep %setup -[ -f Makefile.git ] && %__make -f Makefile.git +[ -x ./autogen.sh ] && ./autogen.sh %build %configure -%__make +%__make %{?_smp_mflags} %install -%makeinstall +%__make DESTDIR="%{buildroot}" install +find %{buildroot} -name "lib*.*a" -ls -delete %clean -[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot} +[ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}" -%post -n %{name}6 +%post -n %{_soname} /sbin/ldconfig -%postun -n %{name}6 +%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.* @@ -70,13 +79,17 @@ %defattr(-,root,root) %doc doc/html/* %{_libdir}/liblscp.so -%{_libdir}/liblscp.a -%{_libdir}/liblscp.la +#{_libdir}/liblscp.a +#{_libdir}/liblscp.la %{_libdir}/pkgconfig/lscp.pc %dir %{_includedir}/lscp %{_includedir}/lscp/*.h %changelog +* 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 @@ -107,31 +120,31 @@ * 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 0.3.3 +* 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 0.3.2 - Fixed for 0.3.2 release. -* Tue Aug 10 2005 Rui Nuno Capela 0.3.1 +* 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 0.3.0 +* 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 0.2.9 - Prepare 0.2.9 release due to event subscription LSCP command changes. -* Tue May 6 2005 Rui Nuno Capela 0.2.8 +* 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 0.2.7 +* 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 0.2.6 - Prepare 0.2.6 bug-fix release. -* Tue Feb 14 2005 Rui Nuno Capela 0.2.5 +* Mon Feb 14 2005 Rui Nuno Capela 0.2.5 - Prepare 0.2.5 release. -* Tue Oct 11 2004 Rui Nuno Capela 0.2.4 +* Mon Oct 11 2004 Rui Nuno Capela 0.2.4 - Fixed 0.2.4 release. * Tue Sep 28 2004 Rui Nuno Capela 0.2.3 - Fixed 0.2.3 release. -* Tue Jul 29 2004 Rui Nuno Capela 0.2.2 +* 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