89 lines
2.6 KiB
RPMSpec
89 lines
2.6 KiB
RPMSpec
Name: liblastfm
|
|
Version: 1.0.9
|
|
Release: 1mamba
|
|
Summary: A collection of libraries to help integrate Last.fm services into desktop software
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://liblastfm.sourceforge.net/
|
|
Source: git://github.com/lastfm/liblastfm.git/master/liblastfm-%{version}.tar.bz2
|
|
#Source: http://downloads.sourceforge.net/project/liblastfm/liblastfm-%{version}.tar.gz
|
|
Patch0: liblastfm-0.3.3-curl.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libfftw-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libsamplerate-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
liblastfm is a collection of libraries to help you integrate Last.fm services into your rich desktop software.
|
|
|
|
%package devel
|
|
Summary: Static libraries and header for %{name}
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DBUILD_WITH_QT4:BOOL=ON
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liblastfm.so.*
|
|
%{_libdir}/liblastfm_fingerprint.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/lastfm
|
|
%{_includedir}/lastfm/*.h
|
|
%{_libdir}/liblastfm.so
|
|
%{_libdir}/liblastfm_fingerprint.so
|
|
|
|
%changelog
|
|
* Wed Dec 31 2014 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.8-2mamba
|
|
- force building against qt4 instead of qt5 (breaks amarok)
|
|
|
|
* Tue May 06 2014 Automatic Build System <autodist@mambasoft.it> 1.0.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
|
|
- update to 1.0.7
|
|
|
|
* Sun Feb 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
|
|
- update to 1.0.3
|
|
|
|
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3-1mamba
|
|
- update to 0.3.3
|
|
|
|
* Thu Sep 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
- package created by autospec
|