Skip to content

Commit a8cebac

Browse files
durgajagadeeshdj_palli
andauthored
libid3tag: Update to 0.16.3 (#10843)
Co-authored-by: dj_palli <dj_palli@microsoft.com>
1 parent 0167500 commit a8cebac

9 files changed

Lines changed: 1687 additions & 184 deletions

SPECS-EXTENDED/libid3tag/cmake-hook-genre.dat-and-gperf-files-generation.patch

Lines changed: 1627 additions & 0 deletions
Large diffs are not rendered by default.

SPECS-EXTENDED/libid3tag/libid3tag-0.15.1b-fix_overflow.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

SPECS-EXTENDED/libid3tag/libid3tag-0.15.1b-gperf-size_t.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

SPECS-EXTENDED/libid3tag/libid3tag-0.15.1b-handle-unknown-encoding.patch

Lines changed: 0 additions & 37 deletions
This file was deleted.

SPECS-EXTENDED/libid3tag/libid3tag-0.15.1b-id3v1-zero-padding.patch

Lines changed: 0 additions & 37 deletions
This file was deleted.

SPECS-EXTENDED/libid3tag/libid3tag-0.15.1b-id3v2-endless-loop.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libid3tag-0.15.1b.tar.gz": "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
3+
"libid3tag-0.16.3.tar.gz": "0561009778513a95d91dac33cee8418d6622f710450a7cb56a74636d53b588cb"
44
}
55
}

SPECS-EXTENDED/libid3tag/libid3tag.spec

Lines changed: 57 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,97 @@
11
Vendor: Microsoft Corporation
22
Distribution: Azure Linux
33
Name: libid3tag
4-
Version: 0.15.1b
5-
Release: 33%{?dist}
4+
Version: 0.16.3
5+
Release: 7%{?dist}
66
Summary: ID3 tag manipulation library
77

8-
License: GPLv2+
9-
URL: http://www.underbit.com/products/mad/
10-
Source0: http://downloads.sourceforge.net/mad/%{name}-%{version}.tar.gz
11-
Patch0: libid3tag-0.15.1b-fix_overflow.patch
12-
Patch1: libid3tag-0.15.1b-id3v1-zero-padding.patch
13-
Patch2: libid3tag-0.15.1b-handle-unknown-encoding.patch
14-
Patch3: libid3tag-0.15.1b-id3v2-endless-loop.patch
15-
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869598
16-
Patch4: libid3tag-0.15.1b-gperf-size_t.patch
17-
18-
BuildRequires: gcc
19-
BuildRequires: autoconf
20-
BuildRequires: automake
21-
BuildRequires: libtool
8+
License: GPL-2.0-or-later
9+
URL: https://codeberg.org/tenacityteam/libid3tag
10+
Source0: https://codeberg.org/tenacityteam/libid3tag/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
11+
Patch0: cmake-hook-genre.dat-and-gperf-files-generation.patch
12+
13+
BuildRequires: gcc-c++
14+
BuildRequires: cmake
2215
BuildRequires: gperf
2316
BuildRequires: zlib-devel >= 1.1.4
2417

2518
%description
2619
libid3tag is a library for reading and (eventually) writing ID3 tags,
2720
both ID3v1 and the various versions of ID3v2.
2821

29-
3022
%package devel
3123
Summary: Development files for %{name}
3224
Requires: %{name}%{?_isa} = %{version}-%{release}
3325

3426
%description devel
3527
ID3 tag library development files.
3628

37-
3829
%prep
39-
%setup -q
40-
%patch 0 -p0 -b .CVE-2008-2109
41-
%patch 1 -p1 -b .zero-padding
42-
%patch 2 -p1 -b .unknown-encoding
43-
%patch 3 -p0 -b .endless-loop
44-
%patch 4 -p1 -b .gperf
45-
46-
touch NEWS AUTHORS ChangeLog
47-
48-
# Force these files to be regenerated from the .gperf sources.
49-
rm compat.c frametype.c
50-
51-
# *.pc originally from the Debian package.
52-
cat << \EOF > %{name}.pc
53-
prefix=%{_prefix}
54-
exec_prefix=%{_exec_prefix}
55-
libdir=%{_libdir}
56-
includedir=%{_includedir}
57-
58-
Name: id3tag
59-
Description: ID3 tag manipulation library
60-
Requires:
61-
Version: %{version}
62-
Libs: -lid3tag
63-
Cflags:
64-
EOF
65-
30+
%autosetup -p1 -n %{name}
6631

6732
%build
68-
# Run autoreconf so that it doesn't check for cxx and doesn't clobber CFLAGS
69-
autoreconf -vfi
70-
%configure --disable-static
71-
%make_build
72-
33+
%cmake
34+
%cmake_build
7335

7436
%install
75-
%make_install
76-
rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
77-
install -Dpm 644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/id3tag.pc
37+
%cmake_install
7838

7939
%ldconfig_scriptlets
8040

8141
%files
8242
%doc CHANGES CREDITS README TODO
8343
%license COPYING COPYRIGHT
84-
%{_libdir}/libid3tag.so.*
44+
%{_libdir}/libid3tag.so.0*
8545

8646
%files devel
8747
%{_includedir}/id3tag.h
8848
%{_libdir}/libid3tag.so
49+
%{_libdir}/cmake/id3tag/
8950
%{_libdir}/pkgconfig/id3tag.pc
9051

91-
9252
%changelog
53+
* Fri Oct 10 2024 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 0.16.3-7
54+
- Initial Azure Linux import from Fedora 41 (license: MIT)
55+
- License verified.
56+
57+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-6
58+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
59+
60+
* Wed Apr 17 2024 Peter Lemenkov <lemenkov@gmail.com> - 0.16.3-5
61+
- Use autorelease macro
62+
63+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-3
64+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
65+
66+
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.3-2
67+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
68+
69+
* Thu Dec 14 2023 Leigh Scott <leigh123linux@gmail.com> - 0.16.3-1
70+
- Update to 0.16.3
71+
72+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-3
73+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
74+
75+
* Wed Aug 31 2022 Leigh Scott <leigh123linux@gmail.com> - 0.16.2-1
76+
- Update to 0.16.2
77+
78+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-37
79+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
80+
81+
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-36
82+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
83+
84+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-35
85+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
86+
87+
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-34
88+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
89+
90+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-33
91+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
92+
9393
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.15.1b-33
94-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
94+
Initial CBL-Mariner import from Fedora 32 (license: MIT).
9595

9696
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1b-32
9797
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
@@ -228,10 +228,6 @@ install -Dpm 644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/id3tag.pc
228228
- Provide mp3-cmdline virtual package and alternative.
229229
- Build shared library.
230230

231-
* Fri Apr 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.14.2-0.fdr.1.b
232-
- Update to current Fedora guidelines.
233-
- Exclude %%{_libdir}/*.la.
234-
235231
* Thu Feb 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.14.2b-1.fedora.1
236232
- First Fedora release, based on Matthias Saou's work.
237233

@@ -247,3 +243,4 @@ install -Dpm 644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/id3tag.pc
247243

248244
* Mon Jan 28 2002 Bill Nottingham <notting@redhat.com>
249245
- split libmad off into a separate package
246+

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9751,8 +9751,8 @@
97519751
"type": "other",
97529752
"other": {
97539753
"name": "libid3tag",
9754-
"version": "0.15.1b",
9755-
"downloadUrl": "http://downloads.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz"
9754+
"version": "0.16.3",
9755+
"downloadUrl": "https://codeberg.org/tenacityteam/libid3tag/archive/0.16.3.tar.gz"
97569756
}
97579757
}
97589758
},

0 commit comments

Comments
 (0)