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 Name: liblastfm
Version: 1.0.9 Version: 1.1.0
Release: 1mamba Release: 1mamba
Summary: A collection of libraries to help integrate Last.fm services into desktop software Summary: A collection of libraries to help integrate Last.fm services into desktop software
Group: System/Libraries Group: System/Libraries
@ -13,9 +13,11 @@ Patch0: liblastfm-0.3.3-curl.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libfftw-devel BuildRequires: libfftw-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -30,21 +32,48 @@ Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %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. 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 %prep
%setup -q %setup -q
#%patch0 -p1 #%patch0 -p1
%build %build
%cmake_kde5 -d build-qt5 \
-DBUILD_TESTS=OFF
%make
cd ..
%cmake -d build \ %cmake -d build \
-DBUILD_WITH_QT4:BOOL=ON -DBUILD_WITH_QT4:BOOL=ON
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
%makeinstall -C build-qt5
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post -n %{name}5 -p /sbin/ldconfig
%postun -n %{name}5 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/liblastfm.so.* %{_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.so
%{_libdir}/liblastfm_fingerprint.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 %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 * Wed Dec 31 2014 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist - automatic version update by autodist