remove non-free xmlParser.cpp
This commit is contained in:
parent
965a919ffb
commit
af5dea8335
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/libmusicbrainz-5.0.1.tar.gz
|
/libmusicbrainz-5.0.1.tar.gz
|
||||||
|
/libmusicbrainz-5.0.1-clean.tar.gz
|
||||||
|
1370
0001-xmlparsing.patch
Normal file
1370
0001-xmlparsing.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -4,15 +4,22 @@
|
|||||||
Summary: Library for accessing MusicBrainz servers
|
Summary: Library for accessing MusicBrainz servers
|
||||||
Name: libmusicbrainz5
|
Name: libmusicbrainz5
|
||||||
Version: 5.0.1
|
Version: 5.0.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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/downloads/metabrainz/libmusicbrainz/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
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: neon-devel
|
BuildRequires: neon-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The MusicBrainz client library allows applications to make metadata
|
The MusicBrainz client library allows applications to make metadata
|
||||||
@ -30,6 +37,7 @@ applications which will use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libmusicbrainz-%{version}
|
%setup -q -n libmusicbrainz-%{version}
|
||||||
|
%patch0 -p1 -b .xmlParser
|
||||||
|
|
||||||
# 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
|
||||||
@ -68,6 +76,9 @@ rm -f docs/installdox
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 7 2013 Tom Callaway <spot@fedoraproject.org> - 5.0.1-3
|
||||||
|
- remove non-free xmlParser.cpp
|
||||||
|
|
||||||
* Mon Aug 27 2012 Christophe Fergeau <cfergeau@redhat.com> - 5.0.1-2
|
* Mon Aug 27 2012 Christophe Fergeau <cfergeau@redhat.com> - 5.0.1-2
|
||||||
- Address review comments (rhbz#832670)
|
- Address review comments (rhbz#832670)
|
||||||
fix licence (LGPLv2+ -> LGPLv2)
|
fix licence (LGPLv2+ -> LGPLv2)
|
||||||
|
Loading…
Reference in New Issue
Block a user