Hello community,
here is the log from the commit of package liblastfm for openSUSE:Factory
checked in at Tue May 31 14:38:28 CEST 2011.
--------
--- KDE/liblastfm/liblastfm.changes 2010-05-11 18:50:47.000000000 +0200
+++ /mounts/work_src_done/STABLE/liblastfm/liblastfm.changes 2011-05-23 22:33:57.000000000 +0200
@@ -1,0 +2,13 @@
+Mon May 23 20:33:15 UTC 2011 - asterios.dramis@gmail.com
+
+- Update to version 0.3.3.
+- Spec file updates:
+ * Changes based on spec-cleaner run.
+ * Changed License: to GPLv3+.
+ * Added description for the patches based on openSUSE Patches Guidelines.
+ * Minor other updates.
+- Compile package with optflags (added -fPIC to fix compilation error).
+- Rebased liblastfm-sort.patch to apply cleanly.
+- Rebased liblastfm-0.3.0-qmake.patch and renamed it to liblastfm_qmake.patch.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
liblastfm-0.3.0-qmake.patch
liblastfm-0.3.0.tar.bz2
New:
----
liblastfm_qmake.patch
mxcl-liblastfm-0.3.3-0-gf0b3239.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ liblastfm.spec ++++++
--- /var/tmp/diff_new_pack.YUgCqG/_old 2011-05-31 14:37:24.000000000 +0200
+++ /var/tmp/diff_new_pack.YUgCqG/_new 2011-05-31 14:37:24.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package liblastfm (Version 0.3.0)
+# spec file for package liblastfm
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright 2009 Buschmann
#
# All modifications and additions to the file contributed by third parties
@@ -18,54 +18,47 @@
# norootforbuild
-BuildRequires: fdupes fftw3-devel libsamplerate-devel ruby
-BuildRequires: libqt4-devel >= 4.4.0
Name: liblastfm
+Version: 0.3.3
+Release: 1
+License: GPLv3+
Summary: A Qt C++ Library for the Last.fm Webservices
-Version: 0.3.0
-Release: 2
-License: GPLv3
+Url: http://github.com/mxcl/liblastfm
Group: System/Libraries
-Source0: liblastfm-%{version}.tar.bz2
-Patch0: liblastfm-%{version}-qmake.patch
+# https://download.github.com/mxcl-liblastfm-0.3.3-0-gf0b3239.zip
+Source0: mxcl-liblastfm-%{version}-0-gf0b3239.tar.bz2
+# PATCH-FIX-OPENSUSE liblastfm_qmake.patch -- Fix hard-coded libdir
+Patch0: liblastfm_qmake.patch
+# PATCH-FIX-OPENSUSE liblastfm-sort.patch aj@suse.de -- Sort lastfm.h to have same order each build
Patch1: liblastfm-sort.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-AutoReqProv: yes
+BuildRequires: fdupes
+BuildRequires: fftw3-devel
+BuildRequires: libqt4-devel >= 4.4.0
+BuildRequires: libsamplerate-devel
+BuildRequires: ruby
Requires: ruby
-Url: http://github.com/mxcl/liblastfm
%description
liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
-Authors:
--------
- Max Howell
- Jono Cole
- Doug Mansell
-
%package -n liblastfm0
-License: GPLv3
-Group: System/Libraries
+License: GPLv3+
Summary: A Qt C++ Library for the Last.fm Webservices
+Group: System/Libraries
%description -n liblastfm0
liblastfm is a collection of libraries to help you integrate Last.fm services
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
-Authors:
--------
- Max Howell
- Jono Cole
- Doug Mansell
-
%package -n liblastfm-devel
-License: GPLv3
+License: GPLv3+
+Summary: Development Files for the Last.fm Webservices
Group: Development/Libraries/C and C++
-Summary: Development Files for the Last.fm Webservices Qt C++ Library
Requires: liblastfm0 = %{version}
%description -n liblastfm-devel
@@ -73,43 +66,37 @@
into your rich desktop software. It is officially supported software developed
by Last.fm staff.
-Development files.
-
-Authors:
--------
- Max Howell
- Jono Cole
- Doug Mansell
+This package contains development files for liblastfm.
%prep
-%setup -qn liblastfm-%{version}
-%patch0
+%setup -qn mxcl-liblastfm-1c739eb
+%patch0 -p1
%patch1
%build
- LIB=%{_lib} ; export LIB
- ./configure --prefix %{_prefix} --release
- %{__make} %{?jobs:-j %{jobs}} VERBOSE=1
+ export LIB=%{_lib}
+ ./configure --prefix %{_prefix} --release --no-strip
+ make CXXFLAGS+="%{optflags} -fPIC" %{?_smp_mflags} VERBOSE=1
%install
- %{__make} DESTDIR=%buildroot install
- %fdupes -s $RPM_BUILD_ROOT
+ make DESTDIR=%{buildroot} install
+ %fdupes -s %{buildroot}
%clean
- rm -rf $RPM_BUILD_ROOT
+ rm -rf %{buildroot}
%post -n liblastfm0 -p /sbin/ldconfig
%postun -n liblastfm0 -p /sbin/ldconfig
%files -n liblastfm0
-%defattr(644,root,root,755)
+%defattr(-,root,root,-)
%doc COPYING README
-%{_libdir}/liblastfm.so.*
-%{_libdir}/liblastfm_fingerprint.so.*
+%{_libdir}/liblastfm.so.0*
+%{_libdir}/liblastfm_fingerprint.so.0*
%files -n liblastfm-devel
-%defattr(644,root,root,755)
+%defattr(-,root,root,-)
%{_libdir}/liblastfm_fingerprint.so
%{_libdir}/liblastfm.so
%{_includedir}/lastfm.h
++++++ liblastfm-sort.patch ++++++
--- /var/tmp/diff_new_pack.YUgCqG/_old 2011-05-31 14:37:24.000000000 +0200
+++ /var/tmp/diff_new_pack.YUgCqG/_new 2011-05-31 14:37:24.000000000 +0200
@@ -1,12 +1,10 @@
-Index: admin/lastfm.h.rb
-===================================================================
---- admin/lastfm.h.rb.orig
-+++ admin/lastfm.h.rb
-@@ -1,6 +1,6 @@
+--- admin/lastfm.h.rb.orig 2010-09-25 10:30:00.000000000 +0300
++++ admin/lastfm.h.rb 2011-05-23 22:36:35.277000096 +0300
+@@ -1,5 +1,5 @@
#!/usr/bin/ruby
-
f = File.new(ARGV[0], "w")
-Dir["_include/lastfm/*"].each do |h|
+Dir["_include/lastfm/*"].sort.each do |h|
f.write %Q{#include "lastfm/#{File.basename h}"\n}
end
+\ No newline at end of file
++++++ liblastfm_qmake.patch ++++++
diff -uNr mxcl-liblastfm-1c739eb.orig/src/fingerprint/fingerprint.pro mxcl-liblastfm-1c739eb/src/fingerprint/fingerprint.pro
--- mxcl-liblastfm-1c739eb.orig/src/fingerprint/fingerprint.pro 2010-09-25 10:30:00.000000000 +0300
+++ mxcl-liblastfm-1c739eb/src/fingerprint/fingerprint.pro 2011-05-23 22:33:10.090000095 +0300
@@ -6,7 +6,7 @@
DEFINES += LASTFM_OHAI_QMAKE
INSTALLS = target
-target.path = /lib
+target.path = /$$(LIB)
mac:CONFIG( app_bundle ) {
LIBS += libfftw3f.a libsamplerate.a -L/opt/local/include
diff -uNr mxcl-liblastfm-1c739eb.orig/src/lastfm.pro mxcl-liblastfm-1c739eb/src/lastfm.pro
--- mxcl-liblastfm-1c739eb.orig/src/lastfm.pro 2010-09-25 10:30:00.000000000 +0300
+++ mxcl-liblastfm-1c739eb/src/lastfm.pro 2011-05-23 22:32:38.683000089 +0300
@@ -3,7 +3,7 @@
include( _files.qmake )
INSTALLS = target
-target.path = /lib
+target.path = /$$(LIB)
win32{
DEFINES += LASTFM_OHAI_QMAKE _ATL_DLL
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org