update to 1.1.0 [release 1.1.0-1mamba;Sun May 31 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:57:23 +01:00
parent 9c6e42a0e3
commit 49ece17582

View File

@ -1,5 +1,5 @@
Name: liblastfm
Version: 1.0.9
Version: 1.1.0
Release: 1mamba
Summary: A collection of libraries to help integrate Last.fm services into desktop software
Group: System/Libraries
@ -13,9 +13,11 @@ Patch0: liblastfm-0.3.3-curl.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libsamplerate-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
@ -30,21 +32,48 @@ Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
liblastfm is a collection of libraries to help you integrate Last.fm services into.
This package contains header files needed for development.
%package -n %{name}5
Summary: Static libraries and header for %{name} for Qt5
Group: System/Libraries
%description -n %{name}5
liblastfm is a collection of libraries to help you integrate Last.fm services into your rich desktop software.
%package -n %{name}5-devel
Summary: Static libraries and header for %{name} for Qt5
Group: Development/Libraries
Requires: %{name}5 = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{name}5-devel
liblastfm is a collection of libraries to help you integrate Last.fm services into This package contains header files needed for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%cmake_kde5 -d build-qt5 \
-DBUILD_TESTS=OFF
%make
cd ..
%cmake -d build \
-DBUILD_WITH_QT4:BOOL=ON
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%makeinstall -C build-qt5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -52,6 +81,9 @@ liblastfm is a collection of libraries to help you integrate Last.fm services in
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n %{name}5 -p /sbin/ldconfig
%postun -n %{name}5 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/liblastfm.so.*
@ -65,7 +97,23 @@ liblastfm is a collection of libraries to help you integrate Last.fm services in
%{_libdir}/liblastfm.so
%{_libdir}/liblastfm_fingerprint.so
%files -n %{name}5
%defattr(-,root,root)
%{_libdir}/liblastfm5.so.*
%{_libdir}/liblastfm_fingerprint5.so.*
%doc COPYING
%files -n %{name}5-devel
%defattr(-,root,root)
%dir %{_includedir}/lastfm5
%{_includedir}/lastfm5/*.h
%{_libdir}/liblastfm5.so
%{_libdir}/liblastfm_fingerprint5.so
%changelog
* Sun May 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- update to 1.1.0
* Wed Dec 31 2014 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist