|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
|
|
|
|
|
## 1.11 currently disables tests with BUILD_SHARED_LIBS=ON
|
|
|
|
|
#bcond_without tests
|
|
|
|
|
#bcond_without doc
|
|
|
|
|
%global apidocdir __api-doc_fedora
|
|
|
|
|
|
|
|
|
|
Name: taglib
|
|
|
|
|
Name: taglib
|
|
|
|
|
Summary: Audio Meta-Data Library
|
|
|
|
|
Version: 1.12
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 1.11.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPLv2 or MPLv1.1
|
|
|
|
|
#URL: http://launchpad.net/taglib
|
|
|
|
|
URL: http://taglib.github.io/
|
|
|
|
|
%if 0%{?snap:1}
|
|
|
|
|
Source0: taglib-%{version}-%{snap}.tar.gz
|
|
|
|
@ -21,11 +21,16 @@ Source0: http://taglib.github.io/releases/taglib-%{version}%{?beta}.tar.gz
|
|
|
|
|
Source1: taglib-snapshot.sh
|
|
|
|
|
|
|
|
|
|
# http://bugzilla.redhat.com/343241
|
|
|
|
|
# fix multilib, and drop -lz flag to consumers (probably only needed for static linking)
|
|
|
|
|
Patch0: taglib-1.12-multilib.patch
|
|
|
|
|
Patch102: taglib-1.5rc1-multilib.patch
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
|
# sbooth fork/pull-request
|
|
|
|
|
# https://github.com/taglib/taglib/pull/831/commits/eb9ded1206f18f2c319157337edea2533a40bea6
|
|
|
|
|
Patch1: 0001-Don-t-assume-TDRC-is-an-instance-of-TextIdentificati.patch
|
|
|
|
|
|
|
|
|
|
# CVE fixes
|
|
|
|
|
Patch50: taglib-CVE-2018-11439.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
@ -50,10 +55,10 @@ BuildArch: noarch
|
|
|
|
|
This is API documentation generated from the TagLib source code.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if ! %{with doc}
|
|
|
|
|
Obsoletes: %{name}-doc < %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-doc
|
|
|
|
|
%endif
|
|
|
|
|
%description devel
|
|
|
|
|
Files needed when building software with %{name}.
|
|
|
|
@ -64,25 +69,28 @@ Files needed when building software with %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{cmake} \
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake} .. \
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
-DBUILD_TESTS:BOOL=ON \
|
|
|
|
|
%endif
|
|
|
|
|
-DCMAKE_BUILD_TYPE:STRING="Release"
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%if %{with doc}
|
|
|
|
|
%cmake_build --target docs
|
|
|
|
|
make docs -C %{_target_platform}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%if %{with doc}
|
|
|
|
|
rm -fr %{apidocdir} ; mkdir %{apidocdir}
|
|
|
|
|
cp -a %{_vpath_builddir}/doc/html/ %{apidocdir}/
|
|
|
|
|
cp -a %{_target_platform}/doc/html/ %{apidocdir}/
|
|
|
|
|
ln -s html/index.html %{apidocdir}
|
|
|
|
|
find %{apidocdir} -name '*.md5' | xargs rm -fv
|
|
|
|
|
%endif
|
|
|
|
@ -95,7 +103,7 @@ test "$(pkg-config --modversion taglib_c)" = "%{version}"
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
#ln -s ../../tests/data %{_target_platform}/tests/
|
|
|
|
|
#LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH \
|
|
|
|
|
%ctest
|
|
|
|
|
make check -C %{_target_platform}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
@ -122,45 +130,12 @@ test "$(pkg-config --modversion taglib_c)" = "%{version}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.12-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.12-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Mar 29 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-4
|
|
|
|
|
- fix multilib.patch (#1943870)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 03 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-3
|
|
|
|
|
- -devel: fix/drop -lz references in taglib-config, taglib.pc
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.12-2
|
|
|
|
|
- use versioned obsoletes
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 David King <amigadave@amigadave.com> - 1.12-1
|
|
|
|
|
- Update to 1.12 (#1584870)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.11.1-8
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue May 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.11.1-8
|
|
|
|
|
- use %%make_build
|
|
|
|
|
* Tue Aug 14 2018 Jan Grulich <jgrulich@redhat.com> - 1.11.1-8
|
|
|
|
|
- Fix heap-based buffer over-read via a crafted audio file (CVE-2018-11439)
|
|
|
|
|
Resolves: bz#1584872
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
@ -387,7 +362,7 @@ test "$(pkg-config --modversion taglib_c)" = "%{version}"
|
|
|
|
|
- svn20071111 snapshot (#376241)
|
|
|
|
|
|
|
|
|
|
* Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.5.20070924svn
|
|
|
|
|
- -BR: automake
|
|
|
|
|
- -BR: automake
|
|
|
|
|
- +BR: zlib-devel
|
|
|
|
|
|
|
|
|
|
* Thu Sep 27 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.5-0.4.20070924svn
|
|
|
|
|