From 6b74a49444b3f60fb3e13e1987394ab9f8989e85 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:07:04 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.1.5-2mamba;Wed Jul 31 2013] --- README.md | 2 + libmusicbrainz-2.1.4-gcc43-includes.patch | 57 +++++++++++++++ libmusicbrainz2.spec | 87 +++++++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 libmusicbrainz-2.1.4-gcc43-includes.patch create mode 100644 libmusicbrainz2.spec diff --git a/README.md b/README.md index 921c682..4641061 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmusicbrainz2 +The MusicBrainz client is a library which can be built into other programs. The library allows you to access the data held on the MusicBrainz server. + diff --git a/libmusicbrainz-2.1.4-gcc43-includes.patch b/libmusicbrainz-2.1.4-gcc43-includes.patch new file mode 100644 index 0000000..cc412f3 --- /dev/null +++ b/libmusicbrainz-2.1.4-gcc43-includes.patch @@ -0,0 +1,57 @@ +diff -Naur libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp libmusicbrainz-2.1.4/lib/c_wrapper.cpp +--- libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp 2003-10-16 16:21:10.000000000 -0600 ++++ libmusicbrainz-2.1.4/lib/c_wrapper.cpp 2007-12-16 09:45:21.000000000 -0600 +@@ -24,6 +24,7 @@ + #include "musicbrainz.h" + #include "trm.h" + #include "mb_c.h" ++#include + + extern "C" + { +diff -Naur libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp libmusicbrainz-2.1.4/lib/comhttpsocket.cpp +--- libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp 2006-05-11 12:46:54.000000000 -0600 ++++ libmusicbrainz-2.1.4/lib/comhttpsocket.cpp 2007-12-16 09:46:28.000000000 -0600 +@@ -20,6 +20,7 @@ + #endif + #include + #include ++#include + + const char* g_strCOMVer = "libmusicbrainz/"VERSION; + +diff -Naur libmusicbrainz-2.1.4-orig/lib/comsocket.cpp libmusicbrainz-2.1.4/lib/comsocket.cpp +--- libmusicbrainz-2.1.4-orig/lib/comsocket.cpp 2006-05-11 12:46:54.000000000 -0600 ++++ libmusicbrainz-2.1.4/lib/comsocket.cpp 2007-12-16 09:46:08.000000000 -0600 +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -Naur libmusicbrainz-2.1.4-orig/lib/http.cpp libmusicbrainz-2.1.4/lib/http.cpp +--- libmusicbrainz-2.1.4-orig/lib/http.cpp 2007-12-16 09:52:48.000000000 -0600 ++++ libmusicbrainz-2.1.4/lib/http.cpp 2007-12-16 09:52:36.000000000 -0600 +@@ -31,6 +31,8 @@ + #endif + #include + #include ++#include ++#include + + #ifdef WIN32 + #include +diff -Naur libmusicbrainz-2.1.4-orig/lib/sigclient.cpp libmusicbrainz-2.1.4/lib/sigclient.cpp +--- libmusicbrainz-2.1.4-orig/lib/sigclient.cpp 2006-05-11 12:46:54.000000000 -0600 ++++ libmusicbrainz-2.1.4/lib/sigclient.cpp 2007-12-16 09:54:48.000000000 -0600 +@@ -33,6 +33,8 @@ + #pragma warning(disable:4786) + #endif + ++#include ++ + #include "sigclient.h" + #include "comhttpsocket.h" + diff --git a/libmusicbrainz2.spec b/libmusicbrainz2.spec new file mode 100644 index 0000000..ee2d11b --- /dev/null +++ b/libmusicbrainz2.spec @@ -0,0 +1,87 @@ +Name: libmusicbrainz2 +Version: 2.1.5 +Release: 2mamba +Summary: MusicBrainz Client Library +Group: System/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.musicbrainz.org/ +Source: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz +Patch0: libmusicbrainz-2.1.4-gcc43-includes.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libexpat-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The MusicBrainz client is a library which can be built into other programs. The library allows you to access the data held on the MusicBrainz server. + +%package devel +Group: Development/Libraries +Summary: MusicBrainz Client Development Library +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The MusicBrainz client is a library which can be built into other programs. The library allows you to access the data held on the MusicBrainz server. +This package contains static libraries and header files need for development. + +%prep +%setup -q -n libmusicbrainz-%{version} +%patch0 -p1 + +%build +%configure \ + --enable-cpp-headers + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libmusicbrainz.so.* +%doc AUTHORS COPYING README TODO + +%files devel +%defattr(-,root,root) +%{_includedir}/musicbrainz/*.h +%{_libdir}/libmusicbrainz.a +%{_libdir}/libmusicbrainz.la +%{_libdir}/libmusicbrainz.so +%{_libdir}/pkgconfig/libmusicbrainz.pc + +%changelog +* Wed Jul 31 2013 Automatic Build System 2.1.5-2mamba +- automatic rebuild by autodist + +* Sat Jan 10 2009 Silvan Calarco 2.1.5-1mamba +- update to 2.1.5 +- created from libmusicbrainz as a legacy package + +* Mon Apr 09 2007 Tiziano Pratellesi 2.1.4-1mamba +- update to 2.1.4 + +* Wed Jun 14 2006 Stefano Cotta Ramusino 2.1.2-1qilnx +- update to version 2.1.2 by autospec + +* Thu Jun 09 2005 Davide Madrisan 2.1.1-3qilnx +- specfile updates/fixes + +* Wed Jul 28 2004 Davide Madrisan 2.1.1-2qilnx +- added the missing %%post and %%postun scripts + +* Thu Apr 29 2004 Davide Madrisan 2.1.1-1qilnx +- new version rebuild