From 92c0aac668214eb94549cb960fa936abf4e63503 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:57:22 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.8-1mamba;Tue May 06 2014] --- README.md | 2 + liblastfm-0.3.3-curl.patch | 35 +++++++++++++++++ liblastfm.spec | 80 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 liblastfm-0.3.3-curl.patch create mode 100644 liblastfm.spec diff --git a/README.md b/README.md index ba426e7..6377ace 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # liblastfm +liblastfm is a collection of libraries to help you integrate Last.fm services into your rich desktop software. + diff --git a/liblastfm-0.3.3-curl.patch b/liblastfm-0.3.3-curl.patch new file mode 100644 index 0000000..8e757ac --- /dev/null +++ b/liblastfm-0.3.3-curl.patch @@ -0,0 +1,35 @@ +diff -Nru liblastfm-0.3.3.orig/src/lastfm.h liblastfm-0.3.3/src/lastfm.h +--- liblastfm-0.3.3.orig/src/lastfm.h 2010-11-12 06:42:08.000000000 +0100 ++++ liblastfm-0.3.3/src/lastfm.h 2012-05-15 13:28:47.429508325 +0200 +@@ -1,8 +1,6 @@ + #include + #include + #include +-#include +-#include + #ifndef LASTFM_H + #define LASTFM_H + +diff -Nru liblastfm-0.3.3.orig/src/lfm_helper.c liblastfm-0.3.3/src/lfm_helper.c +--- liblastfm-0.3.3.orig/src/lfm_helper.c 2011-01-07 01:15:19.000000000 +0100 ++++ liblastfm-0.3.3/src/lfm_helper.c 2012-05-15 13:29:01.839357892 +0200 +@@ -10,8 +10,6 @@ + #include + + #include +-#include +-#include + + #include + +diff -Nru liblastfm-0.3.3.orig/src/lfm_helper.h liblastfm-0.3.3/src/lfm_helper.h +--- liblastfm-0.3.3.orig/src/lfm_helper.h 2010-08-11 04:02:05.000000000 +0200 ++++ liblastfm-0.3.3/src/lfm_helper.h 2012-05-15 13:28:57.135406999 +0200 +@@ -1,7 +1,5 @@ + #include + #include +-#include +-#include + #include + #ifndef HELPERS_H + #define HELPERS_H diff --git a/liblastfm.spec b/liblastfm.spec new file mode 100644 index 0000000..dd5035c --- /dev/null +++ b/liblastfm.spec @@ -0,0 +1,80 @@ +Name: liblastfm +Version: 1.0.8 +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 +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 +%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 +* Tue May 06 2014 Automatic Build System 1.0.8-1mamba +- automatic version update by autodist + +* Mon Apr 22 2013 Automatic Build System 1.0.7-1mamba +- update to 1.0.7 + +* Sun Feb 17 2013 Silvan Calarco 1.0.3-1mamba +- update to 1.0.3 + +* Tue May 15 2012 Silvan Calarco 0.3.3-1mamba +- update to 0.3.3 + +* Thu Sep 10 2009 Silvan Calarco 0.3.0-1mamba +- package created by autospec