Update to libmusicbrainz 5.1.0

This commit is contained in:
David King 2014-11-27 09:44:50 +01:00 committed by Christophe Fergeau
parent 3e29c2ee6e
commit dd5cea87a1
4 changed files with 15 additions and 1391 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/libmusicbrainz-5.0.1.tar.gz /libmusicbrainz-5.0.1.tar.gz
/libmusicbrainz-5.0.1-clean.tar.gz /libmusicbrainz-5.0.1-clean.tar.gz
/libmusicbrainz-5.1.0.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -3,25 +3,18 @@
Summary: Library for accessing MusicBrainz servers Summary: Library for accessing MusicBrainz servers
Name: libmusicbrainz5 Name: libmusicbrainz5
Version: 5.0.1 Version: 5.1.0
Release: 11%{?dist} Release: 1%{?dist}
License: LGPLv2 License: LGPLv2
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.musicbrainz.org/ URL: http://www.musicbrainz.org/
# Source0: https://github.com/downloads/metabrainz/libmusicbrainz/libmusicbrainz-%{version}.tar.gz Source0: https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-%{version}.tar.gz
# We need to remove src/xmlParser.cpp, as it is non-free and prohibits commercial distribution.
# Just unpack and rm -rf src/xmlParser.cpp, then
# tar cfz libmusicbrainz-%{version}-clean.tar.gz libmusicbrainz-%{version}/
Source0: libmusicbrainz-%{version}-clean.tar.gz
# This patch replaces the removed src/xmlParser.cpp support with libxml2
# and fixes up the cinterface.xml file (libxml2 seems to be stricter).
Patch0: 0001-xmlparsing.patch
# Filed upstream as http://tickets.musicbrainz.org/browse/LMB-41 # Filed upstream as http://tickets.musicbrainz.org/browse/LMB-41
Patch1: doxygen.patch Patch0: doxygen.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: neon-devel BuildRequires: pkgconfig(neon)
BuildRequires: libxml2-devel BuildRequires: pkgconfig(libxml-2.0)
Obsoletes: libmusicbrainz4 < 4.0.3-5 Obsoletes: libmusicbrainz4 < 4.0.3-5
%description %description
@ -42,8 +35,7 @@ applications which will use %{name}.
%prep %prep
%setup -q -n libmusicbrainz-%{version} %setup -q -n libmusicbrainz-%{version}
%patch0 -p1 -b .xmlParser %patch0 -p1 -b .doxygen
%patch1 -p1 -b .doxygen
# omit "Generated on ..." timestamps that induce multilib conflicts # omit "Generated on ..." timestamps that induce multilib conflicts
# this is *supposed* to be the doxygen default in fedora these days, but # this is *supposed* to be the doxygen default in fedora these days, but
@ -72,7 +64,7 @@ rm -f docs/installdox
%files %files
%doc AUTHORS.txt COPYING.txt NEWS.txt README.md %doc AUTHORS.txt COPYING.txt NEWS.txt README.md
%{_libdir}/libmusicbrainz5.so.0* %{_libdir}/libmusicbrainz5.so.1*
%files devel %files devel
%doc docs/* %doc docs/*
@ -82,6 +74,11 @@ rm -f docs/installdox
%changelog %changelog
* Sat Nov 15 2014 David King <amigadave@amigadave.com> 5.1.0-1
- Update to 5.1.0 (#1164434)
- Drop libxml2 patch (fixed upstream)
- Use pkgconfig for BuildRequires
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-11 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
1abebd606bca260c5f5f6936f6e304ff libmusicbrainz-5.0.1-clean.tar.gz 4cc5556aa40ff7ab8f8cb83965535bc3 libmusicbrainz-5.1.0.tar.gz