automatic version update by autodist [release 1.0.8-1mamba;Tue May 06 2014]
This commit is contained in:
parent
0610b926c2
commit
92c0aac668
@ -1,2 +1,4 @@
|
||||
# liblastfm
|
||||
|
||||
liblastfm is a collection of libraries to help you integrate Last.fm services into your rich desktop software.
|
||||
|
||||
|
35
liblastfm-0.3.3-curl.patch
Normal file
35
liblastfm-0.3.3-curl.patch
Normal file
@ -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 <time.h>
|
||||
#include <stdio.h>
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
-#include <curl/easy.h>
|
||||
#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 <ctype.h>
|
||||
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
-#include <curl/easy.h>
|
||||
|
||||
#include <openssl/md5.h>
|
||||
|
||||
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 <stdlib.h>
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/types.h>
|
||||
-#include <curl/easy.h>
|
||||
#include <openssl/md5.h>
|
||||
#ifndef HELPERS_H
|
||||
#define HELPERS_H
|
80
liblastfm.spec
Normal file
80
liblastfm.spec
Normal file
@ -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 <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
|
||||
%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 <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
|
Loading…
Reference in New Issue
Block a user