Skip to content

Commit 8cb6d5a

Browse files
author
andy.peng
committed
add gstreamer plugins good bad ugly
1 parent b742adf commit 8cb6d5a

14 files changed

+1177
-11
lines changed

SPECS/gstreamer1-plugins-bad/gstreamer1-plugins-bad.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#global gitcommit 4ca3a22b6b33ad8be4383063e76f79c4d346535d
2525
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
2626

27-
Name: gstreamer1-plugins-bad-free
27+
Name: gstreamer1-plugins-bad
2828
Version: 1.26.5
2929
Release: 1%{?dist}
3030
Summary: GStreamer streaming media framework "bad" plugins

SPECS/gstreamer1-plugins-good/gstreamer1-plugins-good.spec

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,9 @@
1616
%bcond_with amr
1717
%endif
1818

19-
# RHEL 10 will provide Qt 6 and drop Qt 5
20-
%if 0%{?rhel} >= 10
21-
%bcond_with qt5
22-
%else
2319
%bcond_without qt5
24-
%endif
2520

26-
%if 0%{?rhel} && 0%{?rhel} < 10
27-
%bcond_with qt6
28-
%else
2921
%bcond_without qt6
30-
%endif
3122

3223
#global gitrel 140
3324
#global gitcommit 9865730cfa5b3a8b2560d082e7e56b350042d3d2
@@ -88,7 +79,7 @@ BuildRequires: mesa-libEGL-devel
8879
BuildRequires: lame-devel
8980
BuildRequires: mpg123-devel
9081
BuildRequires: twolame-devel
91-
BuildRequires: qt6-qtshadertools
82+
#BuildRequires: qt6-qtshadertools
9283
%if %{with nasm}
9384
BuildRequires: nasm
9485
%endif
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/wav_io.c b/src/wav_io.c
2+
index b51830158f4defb536a760c93a77567daf69a74b..09d62eb017bb48fe48fa1efcaa122719ef1fe39f 100644
3+
--- a/src/wav_io.c
4+
+++ b/src/wav_io.c
5+
@@ -111,7 +111,7 @@ int read_wav_header(FILE *file, int *rate, int *channels, int *format, spx_int32
6+
stmp = le_short(stmp);
7+
*channels = stmp;
8+
9+
- if (stmp>2)
10+
+ if (stmp>2 || stmp<1)
11+
{
12+
fprintf (stderr, "Only mono and (intensity) stereo supported\n");
13+
return -1;

SPECS/speex/speex.signatures.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"Signatures": {
3+
"speex-1.2.0-guard-against-invalid-channel-numbers.patch": "17fd4d9db2e91c8d638487c8a082585e43c2d36502f227116d5413a5d5b1a406",
4+
"speex-1.2.0.tar.gz": "eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094"
5+
}
6+
}

SPECS/speex/speex.spec

Lines changed: 296 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,296 @@
1+
Summary: A voice compression format (codec)
2+
Name: speex
3+
Version: 1.2.0
4+
Release: 19%{?dist}
5+
License: BSD-3-clause AND TU-Berlin-1.0
6+
URL: https://www.speex.org/
7+
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{version}.tar.gz
8+
BuildRequires: make
9+
BuildRequires: gcc
10+
BuildRequires: pkgconfig(ogg)
11+
BuildRequires: pkgconfig(speexdsp)
12+
Patch0: speex-1.2.0-guard-against-invalid-channel-numbers.patch
13+
14+
%description
15+
Speex is a patent-free compression format designed especially for
16+
speech. It is specialized for voice communications at low bit-rates in
17+
the 2-45 kbps range. Possible applications include Voice over IP
18+
(VoIP), Internet audio streaming, audio books, and archiving of speech
19+
data (e.g. voice mail).
20+
21+
%package devel
22+
Summary: Development package for %{name}
23+
Requires: %{name}%{?_isa} = %{version}-%{release}
24+
25+
%description devel
26+
Speex is a patent-free compression format designed especially for
27+
speech. This package contains development files for %{name}
28+
29+
%package tools
30+
Summary: The tools package for %{name}
31+
Requires: %{name}%{?_isa} = %{version}-%{release}
32+
33+
%description tools
34+
Speex is a patent-free compression format designed especially for
35+
speech. This package contains tools files and user's manual for %{name}.
36+
37+
%prep
38+
%setup -q
39+
%patch -P0 -p1 -b.CVE-2020-23903
40+
41+
%build
42+
%configure --disable-static --enable-binaries
43+
# Remove rpath from speexenc and speexdec
44+
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
45+
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
46+
%make_build
47+
48+
%install
49+
%make_install
50+
rm -f $RPM_BUILD_ROOT%{_docdir}/speex/manual.pdf
51+
52+
%ldconfig_scriptlets
53+
54+
%files
55+
%license COPYING
56+
%doc AUTHORS TODO ChangeLog README NEWS
57+
%{_libdir}/libspeex.so.1*
58+
59+
%files devel
60+
%doc doc/manual.pdf
61+
%{_includedir}/speex
62+
%{_datadir}/aclocal/speex.m4
63+
%{_libdir}/pkgconfig/speex.pc
64+
%{_libdir}/libspeex.so
65+
%exclude %{_libdir}/libspeex.la
66+
67+
%files tools
68+
%{_bindir}/speexenc
69+
%{_bindir}/speexdec
70+
%{_mandir}/man1/speexenc.1*
71+
%{_mandir}/man1/speexdec.1*
72+
73+
74+
%changelog
75+
* Sun Jan 19 2025 Fedora Release Engineering <[email protected]> - 1.2.0-19
76+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
77+
78+
* Sat Jul 20 2024 Fedora Release Engineering <[email protected]> - 1.2.0-18
79+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
80+
81+
* Sat Jan 27 2024 Fedora Release Engineering <[email protected]> - 1.2.0-17
82+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
83+
84+
* Wed Nov 01 2023 Tomas Korbar <[email protected]> - 1.2.0-16
85+
- Add licenses to fully conform with SPDX
86+
87+
* Sat Jul 22 2023 Fedora Release Engineering <[email protected]> - 1.2.0-15
88+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
89+
90+
* Sat Mar 11 2023 Tomas Korbar <[email protected]> - 1.2.0-14
91+
- Change the License tag to the SPDX format
92+
93+
* Sat Jan 21 2023 Fedora Release Engineering <[email protected]> - 1.2.0-13
94+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
95+
96+
* Sat Jul 23 2022 Fedora Release Engineering <[email protected]> - 1.2.0-12
97+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
98+
99+
* Mon Apr 25 2022 Tomas Korbar <[email protected]> - 1.2.0-11
100+
- Fix CVE-2020-23903 speex: divide by zero in read_samples() via crafted WAV file
101+
- Resolves: CVE-2020-23903
102+
103+
* Sat Jan 22 2022 Fedora Release Engineering <[email protected]> - 1.2.0-10
104+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
105+
106+
* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 1.2.0-9
107+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
108+
109+
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 1.2.0-8
110+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
111+
112+
* Tue Aug 18 2020 Tomas Korbar <[email protected]> - 1.2.0-7
113+
- Use make macros
114+
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
115+
116+
* Wed Jul 29 2020 Fedora Release Engineering <[email protected]> - 1.2.0-6
117+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
118+
119+
* Fri Jan 31 2020 Fedora Release Engineering <[email protected]> - 1.2.0-5
120+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
121+
122+
* Fri Jul 26 2019 Fedora Release Engineering <[email protected]> - 1.2.0-4
123+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
124+
125+
* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 1.2.0-3
126+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
127+
128+
* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 1.2.0-2
129+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
130+
131+
* Tue Mar 06 2018 Miroslav Lichvar <[email protected]> - 1.2.0-1
132+
- update to 1.2.0
133+
- use macro for ldconfig scriptlets
134+
- add gcc to build requirements
135+
- include soname in file list
136+
- use license macro
137+
138+
* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 1.2-0.29.rc2
139+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
140+
141+
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 1.2-0.28.rc2
142+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
143+
144+
* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 1.2-0.27.rc2
145+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
146+
147+
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 1.2-0.26.rc2
148+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
149+
150+
* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 1.2-0.25.rc2
151+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
152+
153+
* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 1.2-0.24.rc2
154+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
155+
156+
* Sun Dec 14 2014 David King <[email protected]> - 1.2-0.23.rc2
157+
- Drop cyclic dependency handling, as speexdsp was fixed
158+
159+
* Sun Dec 14 2014 David King <[email protected]> - 1.2-0.22.rc2
160+
- Bump release to ensure that rc2 is newer than rc1
161+
162+
* Fri Dec 12 2014 David King <[email protected]> - 1.2-0.1.rc2
163+
- Update to 1.2-0.1.rc2, split off speexdsp to separate package (#1172820)
164+
165+
* Mon Aug 18 2014 Fedora Release Engineering <[email protected]> - 1.2-0.21.rc1
166+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
167+
168+
* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 1.2-0.20.rc1
169+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
170+
171+
* Fri Jan 17 2014 Miroslav Lichvar <[email protected]> - 1.2-0.19.rc1
172+
- update config.sub for ppc64le (#1054399)
173+
174+
* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 1.2-0.18.rc1
175+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
176+
177+
* Fri Apr 05 2013 Miroslav Lichvar <[email protected]> - 1.2-0.17.rc1
178+
- update config.guess and config.sub for aarch64 (#926562)
179+
- make some dependencies arch-specific
180+
- remove obsolete macros
181+
182+
* Fri Feb 15 2013 Fedora Release Engineering <[email protected]> - 1.2-0.16.rc1
183+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
184+
185+
* Sat Jul 21 2012 Fedora Release Engineering <[email protected]> - 1.2-0.15.rc1
186+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
187+
188+
* Sat Jan 14 2012 Fedora Release Engineering <[email protected]> - 1.2-0.14.rc1
189+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
190+
191+
* Wed Feb 09 2011 Fedora Release Engineering <[email protected]> - 1.2-0.13.rc1
192+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
193+
194+
* Sun Jul 26 2009 Fedora Release Engineering <[email protected]> - 1.2-0.12.rc1
195+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
196+
197+
* Wed Feb 25 2009 Fedora Release Engineering <[email protected]> - 1.2-0.11.rc1
198+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
199+
200+
* Thu Jul 24 2008 Miroslav Lichvar <[email protected]> - 1.2-0.10.rc1
201+
- update to 1.2rc1
202+
- move manual.pdf to -devel
203+
204+
* Tue May 13 2008 Marcela Maslanova <[email protected]> - 1.2-0.9.beta3
205+
- polishing review (many thanks to Matthias Saou)
206+
207+
* Fri Apr 25 2008 Marcela Maslanova <[email protected]> - 1.2-0.8.beta3
208+
- 226428 review
209+
210+
* Tue Apr 15 2008 Tomas Hoger <[email protected]> - 1.2-0.7.beta3
211+
- Security update: Add mode checks to speex_packet_to_header() to protect
212+
applications using speex library and not having proper checks
213+
(CVE-2008-1686, #441239, https://trac.xiph.org/changeset/14701)
214+
215+
* Mon Mar 31 2008 Marcela Maslanova <[email protected]> - 1.2-0.6.beta3
216+
- 439284 add owner to %%{_defaultdocdir}/speex
217+
218+
* Tue Feb 19 2008 Fedora Release Engineering <[email protected]> - 1.2-0.5.beta3
219+
- Autorebuild for GCC 4.3
220+
221+
* Thu Jan 24 2008 Marcela Maslanova <[email protected]> - 1.2-0.4.beta3
222+
- update to beta 3
223+
- review: rhbz#226428
224+
225+
* Tue Sep 18 2007 - Bastien Nocera <[email protected]> - 1.2-0.3.beta2
226+
- Update to Beta 2
227+
228+
* Tue Oct 24 2006 Matthias Clasen <[email protected]> - 1.2-0.2.beta1
229+
- Rebuild
230+
231+
* Tue Oct 24 2006 Matthias Clasen <[email protected]> - 1.2-0.1.beta1
232+
- Update to 1.2beta1
233+
- Require pkgconfig in the -devel package
234+
235+
* Wed Jul 12 2006 Jesse Keating <[email protected]> - 1.0.5-2.1
236+
- rebuild
237+
238+
* Wed Jun 7 2006 Jeremy Katz <[email protected]> - 1.0.5-2
239+
- rebuild for -devel deps
240+
241+
* Fri Feb 10 2006 Jesse Keating <[email protected]> - 1.0.5-1.2.1
242+
- bump again for double-long bug on ppc(64)
243+
244+
* Tue Feb 07 2006 Jesse Keating <[email protected]> - 1.0.5-1.2
245+
- rebuilt for new gcc4.1 snapshot and glibc changes
246+
247+
* Fri Dec 09 2005 Jesse Keating <[email protected]>
248+
- rebuilt
249+
250+
* Wed Nov 09 2005 John (J5) Palmieri <[email protected]> -1.0.5-1
251+
- Update to 1.0.5
252+
253+
* Wed Mar 02 2005 John (J5) Palmieri <[email protected]> -1.0.4-5
254+
- rebuild for gcc 4.0
255+
256+
* Mon Oct 18 2004 Miloslav Trmac <[email protected]> - 1.0.4-4
257+
- Fix version in pkg-config file (#135987, patch by Michael Schwendt)
258+
259+
* Wed Aug 11 2004 Tim Waugh <[email protected]> 1.0.4-3
260+
- Fixed underquoted m4 definition.
261+
262+
* Fri Jul 30 2004 Colin Walters <[email protected]> 1.0.4-2
263+
- Include /usr/include/speex directory, thanks
264+
Nils Philippsen.
265+
266+
* Thu Jul 29 2004 Colin Walters <[email protected]>
267+
- Update to 1.0.4.
268+
- Include /usr/include/speex
269+
- Include speex.pc
270+
271+
* Tue Jun 15 2004 Elliot Lee <[email protected]>
272+
- rebuilt
273+
274+
* Tue Mar 02 2004 Elliot Lee <[email protected]>
275+
- rebuilt
276+
277+
* Fri Feb 13 2004 Elliot Lee <[email protected]>
278+
- rebuilt
279+
280+
* Fri Dec 12 2003 Bill Nottingham <[email protected]> 1.0.3-1
281+
- build 1.0.3, adapt specfile from linva.org
282+
283+
* Thu Nov 20 2003 Dams <anvil[AT]livna.org> 0:1.0.3-0.fdr.1
284+
- Updated to 1.0.3
285+
286+
* Tue Sep 30 2003 Dams <anvil[AT]livna.org> 0:1.0.2-0.fdr.1
287+
- Updated to 1.0.2
288+
289+
* Mon Sep 15 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.3
290+
- README doc file is no more +x
291+
292+
* Tue Sep 9 2003 Dams <anvil[AT]livna.org> 0:1.0.1-0.fdr.2
293+
- Added missing scriplets (ldconfig)
294+
295+
* Sat Aug 16 2003 Dams <anvil[AT]livna.org>
296+
- Initial build.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
diff -up taglib-1.13.1/taglib-config.cmake.multilib taglib-1.13.1/taglib-config.cmake
2+
--- taglib-1.13.1/taglib-config.cmake.multilib 2025-01-04 15:22:01.000000000 +0100
3+
+++ taglib-1.13.1/taglib-config.cmake 2023-07-01 07:43:27.000000000 +0200
4+
@@ -23,11 +23,6 @@ if test -z "$prefix"; then
5+
else
6+
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
7+
fi
8+
-if test -z "$exec_prefix"; then
9+
- libdir=@CMAKE_INSTALL_FULL_LIBDIR@
10+
-else
11+
- libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
12+
-fi
13+
14+
flags=""
15+
16+
@@ -39,7 +34,7 @@ while test $# -gt 0
17+
do
18+
case $1 in
19+
--libs)
20+
- flags="$flags -L$libdir -ltag @ZLIB_LIBRARIES_FLAGS@"
21+
+ flags="$flags -ltag"
22+
;;
23+
--cflags)
24+
flags="$flags -I$includedir -I$includedir/taglib"
25+
26+
diff -up taglib-1.13.1/taglib.pc.cmake.multilib taglib-1.13.1/taglib.pc.cmake
27+
--- taglib-1.13.1/taglib.pc.cmake.multilib 2025-01-04 15:23:10.000000000 +0100
28+
+++ taglib-1.13.1/taglib.pc.cmake 2023-07-01 07:43:27.000000000 +0200
29+
@@ -7,5 +7,6 @@ Name: TagLib
30+
Description: Audio meta-data library
31+
Requires:
32+
Version: @TAGLIB_LIB_VERSION_STRING@
33+
-Libs: -L${libdir} -ltag @ZLIB_LIBRARIES_FLAGS@
34+
+Libs: -L${libdir} -ltag
35+
+Libs.private: @ZLIB_LIBRARIES_FLAGS@
36+
Cflags: -I${includedir} -I${includedir}/taglib
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"Signatures": {
3+
"taglib-1.13.1-multilib.patch": "2fdc0dabe3de7e91765e1ca3425bc944bc847e7e0a4f5ee228cac8eefebdba1c",
4+
"taglib-1.13.1.tar.gz": "c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b"
5+
}
6+
}

0 commit comments

Comments
 (0)