From 786bb43e85acdb1e379aa75adff0ceb679e7497d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 12 Sep 2012 19:52:50 +0000 Subject: [PATCH 01/30] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 42336cd81d6fa6372fb83f65eb166a637d8eeebb Mon Sep 17 00:00:00 2001 From: Fedora Build Date: Thu, 13 Sep 2012 08:50:15 +0400 Subject: [PATCH 02/30] Initial commit (see rhbz #845221) Signed-off-by: Fedora Build --- .gitignore | 1 + ilbc-0001-Don-t-build-silently.patch | 25 +++++ ilbc-0002-No-dist-xz-for-EL5.patch | 26 +++++ ...ess-warning-about-unused-parameter-s.patch | 28 +++++ ilbc.spec | 106 ++++++++++++++++++ sources | 1 + 6 files changed, 187 insertions(+) create mode 100644 ilbc-0001-Don-t-build-silently.patch create mode 100644 ilbc-0002-No-dist-xz-for-EL5.patch create mode 100644 ilbc-0003-Suppress-warning-about-unused-parameter-s.patch create mode 100644 ilbc.spec diff --git a/.gitignore b/.gitignore index e69de29..6dc77f4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz diff --git a/ilbc-0001-Don-t-build-silently.patch b/ilbc-0001-Don-t-build-silently.patch new file mode 100644 index 0000000..d87709b --- /dev/null +++ b/ilbc-0001-Don-t-build-silently.patch @@ -0,0 +1,25 @@ +From ce97babde0629458ca6ef8cba278b933379053d0 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov +Date: Thu, 2 Aug 2012 14:08:02 +0400 +Subject: [PATCH 1/3] Don't build silently + +Signed-off-by: Peter Lemenkov +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index e19706f..1717034 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -5,7 +5,6 @@ AC_INIT([libilbc], [1.1.1], []) + AC_CONFIG_AUX_DIR(.) + AC_CONFIG_MACRO_DIR([m4]) + AM_INIT_AUTOMAKE([tar-ustar dist-xz]) +-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AC_CONFIG_HEADERS([config.h]) + + # Cross compiling support +-- +1.7.11.2 + diff --git a/ilbc-0002-No-dist-xz-for-EL5.patch b/ilbc-0002-No-dist-xz-for-EL5.patch new file mode 100644 index 0000000..8c05927 --- /dev/null +++ b/ilbc-0002-No-dist-xz-for-EL5.patch @@ -0,0 +1,26 @@ +From d4026f841ee2bef5faa6301f445f670f12434a4a Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov +Date: Thu, 2 Aug 2012 14:29:17 +0400 +Subject: [PATCH 2/3] No dist-xz for EL5 + +Signed-off-by: Peter Lemenkov +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1717034..30c38fc 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,7 +4,7 @@ + AC_INIT([libilbc], [1.1.1], []) + AC_CONFIG_AUX_DIR(.) + AC_CONFIG_MACRO_DIR([m4]) +-AM_INIT_AUTOMAKE([tar-ustar dist-xz]) ++AM_INIT_AUTOMAKE([tar-ustar dist-bzip2 no-dist-gzip]) + AC_CONFIG_HEADERS([config.h]) + + # Cross compiling support +-- +1.7.11.2 + diff --git a/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch b/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch new file mode 100644 index 0000000..409cfb1 --- /dev/null +++ b/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch @@ -0,0 +1,28 @@ +From 6c707358b629691338e04403a9f53ab1b0aac7f8 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov +Date: Thu, 2 Aug 2012 14:38:18 +0400 +Subject: [PATCH 3/3] Suppress warning about unused parameter(s) + +Signed-off-by: Peter Lemenkov +--- + signal_processing/filter_ar.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/signal_processing/filter_ar.c b/signal_processing/filter_ar.c +index 24e83a6..9228736 100644 +--- a/signal_processing/filter_ar.c ++++ b/signal_processing/filter_ar.c +@@ -29,6 +29,10 @@ int WebRtcSpl_FilterAR(G_CONST WebRtc_Word16* a, + WebRtc_Word16* filtered_low, + int filtered_low_length) + { ++ ++ (void) state_low_length; ++ (void) filtered_low_length; ++ + WebRtc_Word32 o; + WebRtc_Word32 oLOW; + int i, j, stop; +-- +1.7.11.2 + diff --git a/ilbc.spec b/ilbc.spec new file mode 100644 index 0000000..26cfe1a --- /dev/null +++ b/ilbc.spec @@ -0,0 +1,106 @@ +Name: ilbc +Summary: Internet Low Bitrate Codec +Version: 1.1.1 +Release: 3%{?dist} +License: BSD +Group: Development/Libraries +# wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 +Source0: dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz +# Fedora/EPEL-specific +Patch1: %{name}-0001-Don-t-build-silently.patch +# Fedora/EPEL-specific +Patch2: %{name}-0002-No-dist-xz-for-EL5.patch +# Fedora/EPEL-specific +Patch3: ilbc-0003-Suppress-warning-about-unused-parameter-s.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + + +%description +iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for +robust voice communication over IP. The codec is designed for narrow +band speech and results in a payload bit rate of 13.33 kbit/s with an +encoding frame length of 30 ms and 15.20 kbps with an encoding length +of 20 ms. The iLBC codec enables graceful speech quality degradation in +the case of lost frames, which occurs in connection with lost or +delayed IP packets. + + +%package devel +Summary: development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + + +%description devel +Additional header files for development with %{name}. + + +%prep +%setup -q -n dekkers-libilbc-88cd161 +%patch1 -p1 -b .fedora_specific +%patch2 -p1 -b .epel5_specific +%patch3 -p1 -b .epel5_specific + + +%build +autoreconf -ivf +%{configure} --disable-static --with-pic +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_libdir}/libilbc.la +# Required for compatibility with a very old apps +cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc + +# Make compat symlinks +cd %{buildroot}%{_includedir} +ln -s ilbc.h iLBC_decode.h +ln -s ilbc.h iLBC_define.h +ln -s ilbc.h iLBC_encode.h + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING README +%{_libdir}/lib%{name}.so.* + + +%files devel +%{_includedir}/ilbc.h +# Compat symlinks +%{_includedir}/iLBC_decode.h +%{_includedir}/iLBC_define.h +%{_includedir}/iLBC_encode.h +%{_libdir}/pkgconfig/ilbc.pc +%{_libdir}/pkgconfig/libilbc.pc +%{_libdir}/lib%{name}.so + + +%changelog +* Wed Sep 12 2012 Peter Lemenkov - 1.1.1-3 +- Added licensing info + +* Wed Aug 15 2012 Peter Lemenkov - 1.1.1-2 +- Add compat symlinks for old apps + +* Wed May 9 2012 Peter Lemenkov - 1.1.1-1 +- Ver. 1.1.1 + +* Thu Oct 20 2011 Peter Lemenkov - 0-0.1 +- Initial package diff --git a/sources b/sources index e69de29..76c83fe 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fa44168280a5ade14a3ebdb233ba7a8e dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz From 6d0a61a00de40de626657da7c81a4b90971ab5a2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 20:01:30 -0600 Subject: [PATCH 03/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 26cfe1a..cafb64b 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Sep 12 2012 Peter Lemenkov - 1.1.1-3 - Added licensing info From 42c78a56bef0d377b92a9f3bca94ea0f4793f960 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 14:28:56 -0500 Subject: [PATCH 04/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index cafb64b..314f51b 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 560b7c48ea92ef138acab647aeab3a63ec0e3c38 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 17:10:02 -0500 Subject: [PATCH 05/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 314f51b..2e61031 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 66e7402bffbf9fdac5839e5a1bb766a1a1ceb90b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 21:24:17 +0000 Subject: [PATCH 06/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 2e61031..07735ab 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 1.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 1.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From b048935ccdb4f67b169d5cac39cab0c1be349be4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 11:19:04 +0000 Subject: [PATCH 07/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 07735ab..e007b44 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat Aug 16 2014 Fedora Release Engineering - 1.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 9a212d69c1e1d6af64d028466697736aae2244db Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 4 Feb 2016 00:28:02 +0000 Subject: [PATCH 08/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index e007b44..ac79b48 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 8%{?dist} +Release: 9%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 12cc8ac18633e8bd5867251f73aafdaa9201f9ad Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 16:21:35 +0000 Subject: [PATCH 09/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index ac79b48..326ca4a 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 04 2016 Fedora Release Engineering - 1.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From b3592accf84f76e326d3131b1492eef355c40302 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 13:28:43 +0000 Subject: [PATCH 10/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 326ca4a..c8979a6 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 10%{?dist} +Release: 11%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From fc8236736b937ada20ee7233533375f85b2c7b3e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 23:44:15 +0000 Subject: [PATCH 11/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index c8979a6..7fd8d69 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 1.1.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 838a84e288650dbff45f1fbdc090db78c59fa5fb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 17:22:03 +0000 Subject: [PATCH 12/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 7fd8d69..439d11c 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 12%{?dist} +Release: 13%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -93,6 +93,9 @@ rm -rf %{buildroot} %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 1.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From cf3774e114ed39f5acb2bd67a701c885d8e9bf73 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 13 Feb 2018 23:31:58 +0100 Subject: [PATCH 13/30] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- ilbc.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 439d11c..5634875 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -15,7 +15,6 @@ Patch3: ilbc-0003-Suppress-warning-about-unused-parameter-s.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description From 456ecee10e875b9afdedade8838447d4e50ade85 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 07:15:39 +0100 Subject: [PATCH 14/30] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- ilbc.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/ilbc.spec b/ilbc.spec index 5634875..e85f7f6 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -65,9 +65,6 @@ ln -s ilbc.h iLBC_define.h ln -s ilbc.h iLBC_encode.h -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig From 0bfc0269370d3ac28aeaaac52e9a0fef3764b2d7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 05:39:06 +0000 Subject: [PATCH 15/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index e85f7f6..2abc4a8 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 13%{?dist} +Release: 14%{?dist} License: BSD Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 @@ -89,6 +89,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 3d97d605f17401f5a71746ef04f665a6211a8165 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:19 +0100 Subject: [PATCH 16/30] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- ilbc.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ilbc.spec b/ilbc.spec index 2abc4a8..44772fa 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -66,10 +66,7 @@ ln -s ilbc.h iLBC_encode.h -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files From 2e42462622e7506eacabfd1c6fdbbd48cd938f2c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:48 +0100 Subject: [PATCH 17/30] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- ilbc.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/ilbc.spec b/ilbc.spec index 44772fa..7446f9d 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -3,7 +3,6 @@ Summary: Internet Low Bitrate Codec Version: 1.1.1 Release: 14%{?dist} License: BSD -Group: Development/Libraries # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 Source0: dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz # Fedora/EPEL-specific @@ -29,7 +28,6 @@ delayed IP packets. %package devel Summary: development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig From 0d620d877138d5f4869e7b83494ab0c3a1a0798e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 03:16:09 +0000 Subject: [PATCH 18/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 7446f9d..4cb08f6 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,7 +1,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 14%{?dist} +Release: 15%{?dist} License: BSD # wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 Source0: dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz @@ -84,6 +84,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.1.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From f2178d8d2bc58adc51ca87e8d05e7f90db5badb4 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Tue, 19 Feb 2019 16:45:26 -0500 Subject: [PATCH 19/30] Modernize spec - Drop EL5 specific stuff --- .gitignore | 1 + ilbc-0002-No-dist-xz-for-EL5.patch | 26 ------------- ...ess-warning-about-unused-parameter-s.patch | 28 -------------- ilbc.spec | 37 ++++++++++--------- sources | 2 +- 5 files changed, 22 insertions(+), 72 deletions(-) delete mode 100644 ilbc-0002-No-dist-xz-for-EL5.patch delete mode 100644 ilbc-0003-Suppress-warning-about-unused-parameter-s.patch diff --git a/.gitignore b/.gitignore index 6dc77f4..9e27237 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz +/libilbc-88cd161.tar.gz diff --git a/ilbc-0002-No-dist-xz-for-EL5.patch b/ilbc-0002-No-dist-xz-for-EL5.patch deleted file mode 100644 index 8c05927..0000000 --- a/ilbc-0002-No-dist-xz-for-EL5.patch +++ /dev/null @@ -1,26 +0,0 @@ -From d4026f841ee2bef5faa6301f445f670f12434a4a Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov -Date: Thu, 2 Aug 2012 14:29:17 +0400 -Subject: [PATCH 2/3] No dist-xz for EL5 - -Signed-off-by: Peter Lemenkov ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 1717034..30c38fc 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4,7 +4,7 @@ - AC_INIT([libilbc], [1.1.1], []) - AC_CONFIG_AUX_DIR(.) - AC_CONFIG_MACRO_DIR([m4]) --AM_INIT_AUTOMAKE([tar-ustar dist-xz]) -+AM_INIT_AUTOMAKE([tar-ustar dist-bzip2 no-dist-gzip]) - AC_CONFIG_HEADERS([config.h]) - - # Cross compiling support --- -1.7.11.2 - diff --git a/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch b/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch deleted file mode 100644 index 409cfb1..0000000 --- a/ilbc-0003-Suppress-warning-about-unused-parameter-s.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6c707358b629691338e04403a9f53ab1b0aac7f8 Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov -Date: Thu, 2 Aug 2012 14:38:18 +0400 -Subject: [PATCH 3/3] Suppress warning about unused parameter(s) - -Signed-off-by: Peter Lemenkov ---- - signal_processing/filter_ar.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/signal_processing/filter_ar.c b/signal_processing/filter_ar.c -index 24e83a6..9228736 100644 ---- a/signal_processing/filter_ar.c -+++ b/signal_processing/filter_ar.c -@@ -29,6 +29,10 @@ int WebRtcSpl_FilterAR(G_CONST WebRtc_Word16* a, - WebRtc_Word16* filtered_low, - int filtered_low_length) - { -+ -+ (void) state_low_length; -+ (void) filtered_low_length; -+ - WebRtc_Word32 o; - WebRtc_Word32 oLOW; - int i, j, stop; --- -1.7.11.2 - diff --git a/ilbc.spec b/ilbc.spec index 4cb08f6..82d119d 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,20 +1,21 @@ +%global commit 88cd1613a1db8d5dee0910a9a0c3e676e31bc529 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 15%{?dist} +Release: 16%{?dist} License: BSD -# wget --content-disposition https://github.com/dekkers/libilbc/tarball/88cd161 -Source0: dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz +URL: https://github.com/TimothyGu/libilbc +Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz # Fedora/EPEL-specific Patch1: %{name}-0001-Don-t-build-silently.patch -# Fedora/EPEL-specific -Patch2: %{name}-0002-No-dist-xz-for-EL5.patch -# Fedora/EPEL-specific -Patch3: ilbc-0003-Suppress-warning-about-unused-parameter-s.patch + BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool - +BuildRequires: gcc +BuildRequires: make %description iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for @@ -37,21 +38,18 @@ Additional header files for development with %{name}. %prep -%setup -q -n dekkers-libilbc-88cd161 -%patch1 -p1 -b .fedora_specific -%patch2 -p1 -b .epel5_specific -%patch3 -p1 -b .epel5_specific +%autosetup -n libilbc-%{commit} -p1 %build autoreconf -ivf -%{configure} --disable-static --with-pic -make %{?_smp_mflags} +%configure --disable-static --with-pic +%make_build %install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%make_install + rm -f %{buildroot}%{_libdir}/libilbc.la # Required for compatibility with a very old apps cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc @@ -68,7 +66,8 @@ ln -s ilbc.h iLBC_encode.h %files -%doc COPYING README +%doc README +%license COPYING %{_libdir}/lib%{name}.so.* @@ -84,6 +83,10 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Tue Feb 19 2019 Neal Gompa - 1.1.1-16 +- Modernize spec +- Drop EL5 specific stuff + * Fri Feb 01 2019 Fedora Release Engineering - 1.1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 76c83fe..32171bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fa44168280a5ade14a3ebdb233ba7a8e dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz +SHA512 (libilbc-88cd161.tar.gz) = a72d76ac6dccb0563baf2ba4a3f826073c8d3dfccfee79c102971c292d59a7f3f39967c028b9bcaffe97fc9a94394adfd95ffe83b1c281345228741ddc1f255d From 3dd11fe79d497f61d44ee231fd2f50c1e8b6c21d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 09:25:32 +0000 Subject: [PATCH 20/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 82d119d..ff75c4e 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 16%{?dist} +Release: 17%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.1.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue Feb 19 2019 Neal Gompa - 1.1.1-16 - Modernize spec - Drop EL5 specific stuff From 8b9f39568f6748056ba14d1d7ff433a21d95daaf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 05:21:20 +0000 Subject: [PATCH 21/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index ff75c4e..96b0449 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 17%{?dist} +Release: 18%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 1.1.1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 1.1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 21537adfe24b2043a52e7cb7f3a4a297f6466641 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 01:43:27 +0000 Subject: [PATCH 22/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 96b0449..1ae7374 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 18%{?dist} +Release: 19%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.1.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 1.1.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From eca56cd8b76c91c8283510c1c47f3aef0943c695 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 14:16:31 +0000 Subject: [PATCH 23/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 1ae7374..9a4bd65 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 19%{?dist} +Release: 20%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.1.1-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.1.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 9480411c5a17212f2a00411b5ec796056dbdcc35 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 08:29:33 +0000 Subject: [PATCH 24/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index 9a4bd65..eafffaa 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 20%{?dist} +Release: 21%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.1.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.1.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From e444ebb198972f2547e47e8467e8489406940eee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 13:13:13 +0000 Subject: [PATCH 25/30] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ilbc.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ilbc.spec b/ilbc.spec index eafffaa..e0b76d8 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -4,7 +4,7 @@ Name: ilbc Summary: Internet Low Bitrate Codec Version: 1.1.1 -Release: 21%{?dist} +Release: 22%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz @@ -83,6 +83,9 @@ ln -s ilbc.h iLBC_encode.h %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.1.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 1.1.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 17fc308ec2d409b72b9ed19d88d9e9c6f915fd65 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 25 May 2022 10:32:31 +0200 Subject: [PATCH 26/30] Format SPEC file --- ilbc.spec | 61 +++++++++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 36 deletions(-) diff --git a/ilbc.spec b/ilbc.spec index e0b76d8..5bbdf00 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,57 +1,51 @@ %global commit 88cd1613a1db8d5dee0910a9a0c3e676e31bc529 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -Name: ilbc -Summary: Internet Low Bitrate Codec -Version: 1.1.1 -Release: 22%{?dist} -License: BSD -URL: https://github.com/TimothyGu/libilbc -Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz +Name: ilbc +Summary: Internet Low Bitrate Codec +Version: 1.1.1 +Release: 22%{?dist} +License: BSD +URL: https://github.com/TimothyGu/libilbc +Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz # Fedora/EPEL-specific -Patch1: %{name}-0001-Don-t-build-silently.patch +Patch1: %{name}-0001-Don-t-build-silently.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: gcc BuildRequires: make %description -iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for -robust voice communication over IP. The codec is designed for narrow -band speech and results in a payload bit rate of 13.33 kbit/s with an -encoding frame length of 30 ms and 15.20 kbps with an encoding length -of 20 ms. The iLBC codec enables graceful speech quality degradation in -the case of lost frames, which occurs in connection with lost or -delayed IP packets. - - -%package devel -Summary: development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig - +iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust +voice communication over IP. The codec is designed for narrow band speech and +results in a payload bit rate of 13.33 kbit/s with an encoding frame length of +30 ms and 15.20 kbps with an encoding length of 20 ms. The iLBC codec enables +graceful speech quality degradation in the case of lost frames, which occurs in +connection with lost or delayed IP packets. + +%package devel +Summary: development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig %description devel Additional header files for development with %{name}. - %prep -%autosetup -n libilbc-%{commit} -p1 - +%autosetup -p1 -n libilbc-%{commit} %build autoreconf -ivf %configure --disable-static --with-pic %make_build - %install %make_install rm -f %{buildroot}%{_libdir}/libilbc.la -# Required for compatibility with a very old apps +# Required for compatibility with very old apps cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc # Make compat symlinks @@ -60,17 +54,13 @@ ln -s ilbc.h iLBC_decode.h ln -s ilbc.h iLBC_define.h ln -s ilbc.h iLBC_encode.h - - -%ldconfig_scriptlets - +%{?ldconfig_scriptlets} %files %doc README %license COPYING %{_libdir}/lib%{name}.so.* - %files devel %{_includedir}/ilbc.h # Compat symlinks @@ -81,7 +71,6 @@ ln -s ilbc.h iLBC_encode.h %{_libdir}/pkgconfig/libilbc.pc %{_libdir}/lib%{name}.so - %changelog * Thu Jan 20 2022 Fedora Release Engineering - 1.1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 18df7efef6cd0bcf29382863f154f51ee6e69b3a Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 25 May 2022 11:02:49 +0200 Subject: [PATCH 27/30] Update to 3.0.4, drop compatibility hacks --- .gitignore | 1 + ilbc-0001-Don-t-build-silently.patch | 25 ------ ilbc.spec | 110 +++++++-------------------- sources | 2 +- 4 files changed, 28 insertions(+), 110 deletions(-) delete mode 100644 ilbc-0001-Don-t-build-silently.patch diff --git a/.gitignore b/.gitignore index 9e27237..155f8ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dekkers-libilbc-upstream-1.1.1-9-g88cd161.tar.gz /libilbc-88cd161.tar.gz +/ilbc-3.0.4.tar.gz diff --git a/ilbc-0001-Don-t-build-silently.patch b/ilbc-0001-Don-t-build-silently.patch deleted file mode 100644 index d87709b..0000000 --- a/ilbc-0001-Don-t-build-silently.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ce97babde0629458ca6ef8cba278b933379053d0 Mon Sep 17 00:00:00 2001 -From: Peter Lemenkov -Date: Thu, 2 Aug 2012 14:08:02 +0400 -Subject: [PATCH 1/3] Don't build silently - -Signed-off-by: Peter Lemenkov ---- - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index e19706f..1717034 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -5,7 +5,6 @@ AC_INIT([libilbc], [1.1.1], []) - AC_CONFIG_AUX_DIR(.) - AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE([tar-ustar dist-xz]) --m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - AC_CONFIG_HEADERS([config.h]) - - # Cross compiling support --- -1.7.11.2 - diff --git a/ilbc.spec b/ilbc.spec index 5bbdf00..d14baca 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -1,21 +1,16 @@ -%global commit 88cd1613a1db8d5dee0910a9a0c3e676e31bc529 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: ilbc Summary: Internet Low Bitrate Codec -Version: 1.1.1 -Release: 22%{?dist} +Version: 3.0.4 +Release: 1%{?dist} License: BSD URL: https://github.com/TimothyGu/libilbc -Source0: %{url}/archive/%{commit}/libilbc-%{shortcommit}.tar.gz -# Fedora/EPEL-specific -Patch1: %{name}-0001-Don-t-build-silently.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool -BuildRequires: gcc -BuildRequires: make +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: %{name}-flags.patch + +BuildRequires: abseil-cpp-devel +BuildRequires: cmake +BuildRequires: gcc-c++ %description iLBC (internet Low Bitrate Codec) is a FREE speech codec suitable for robust @@ -28,50 +23,42 @@ connection with lost or delayed IP packets. %package devel Summary: development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig %description devel Additional header files for development with %{name}. %prep -%autosetup -p1 -n libilbc-%{commit} +%autosetup -p1 -n libilbc-%{version} %build -autoreconf -ivf -%configure --disable-static --with-pic -%make_build +%cmake -DBUILD_SHARED_LIBS=ON +%cmake_build %install -%make_install - -rm -f %{buildroot}%{_libdir}/libilbc.la -# Required for compatibility with very old apps -cd %{buildroot}%{_libdir}/pkgconfig && ln -s libilbc.pc ilbc.pc +%cmake_install -# Make compat symlinks -cd %{buildroot}%{_includedir} -ln -s ilbc.h iLBC_decode.h -ln -s ilbc.h iLBC_define.h -ln -s ilbc.h iLBC_encode.h - -%{?ldconfig_scriptlets} +# Let RPM pick up the docs in the files section +rm -fr %{buildroot}%{_docdir}/libilbc %files -%doc README +%doc README.md NEWS.md %license COPYING -%{_libdir}/lib%{name}.so.* +%{_libdir}/lib%{name}.so.3 +%{_libdir}/lib%{name}.so.%{version} %files devel -%{_includedir}/ilbc.h -# Compat symlinks -%{_includedir}/iLBC_decode.h -%{_includedir}/iLBC_define.h -%{_includedir}/iLBC_encode.h -%{_libdir}/pkgconfig/ilbc.pc -%{_libdir}/pkgconfig/libilbc.pc +%{_bindir}/%{name}_test +%{_includedir}/%{name}.h +%{_includedir}/%{name}_export.h +%{_libdir}/pkgconfig/lib%{name}.pc %{_libdir}/lib%{name}.so %changelog +* Wed May 25 2022 Simone Caronni - 3.0.4-1 +- Update to 3.0.4. +- Drop 2012 compatibility hacks. +- Trim changelog. + * Thu Jan 20 2022 Fedora Release Engineering - 1.1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild @@ -96,48 +83,3 @@ ln -s ilbc.h iLBC_encode.h * Fri Feb 01 2019 Fedora Release Engineering - 1.1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 1.1.1-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.1.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.1.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Aug 16 2014 Fedora Release Engineering - 1.1.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.1.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Sep 12 2012 Peter Lemenkov - 1.1.1-3 -- Added licensing info - -* Wed Aug 15 2012 Peter Lemenkov - 1.1.1-2 -- Add compat symlinks for old apps - -* Wed May 9 2012 Peter Lemenkov - 1.1.1-1 -- Ver. 1.1.1 - -* Thu Oct 20 2011 Peter Lemenkov - 0-0.1 -- Initial package diff --git a/sources b/sources index 32171bd..e08127f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libilbc-88cd161.tar.gz) = a72d76ac6dccb0563baf2ba4a3f826073c8d3dfccfee79c102971c292d59a7f3f39967c028b9bcaffe97fc9a94394adfd95ffe83b1c281345228741ddc1f255d +SHA512 (ilbc-3.0.4.tar.gz) = cdbfe17074d4fdcff511f753d7dc67be6859f255e8f6eaa25dca7ecf87365a74eedac2b31e58b402715606291b6c900a3911bccf4ff27480301ad3cc7b82c194 From c28c0b54d4aff4dc80cb1425b53d9f2837dcbbf4 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 25 May 2022 11:07:10 +0200 Subject: [PATCH 28/30] Add missing patch --- ilbc-flags.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ilbc-flags.patch diff --git a/ilbc-flags.patch b/ilbc-flags.patch new file mode 100644 index 0000000..9bd47a9 --- /dev/null +++ b/ilbc-flags.patch @@ -0,0 +1,21 @@ +diff -Naur libilbc-3.0.4.old/CMakeLists.txt libilbc-3.0.4/CMakeLists.txt +--- libilbc-3.0.4.old/CMakeLists.txt 2022-05-25 10:51:43.530630048 +0200 ++++ libilbc-3.0.4/CMakeLists.txt 2022-05-25 10:52:59.434028167 +0200 +@@ -52,15 +52,11 @@ + + if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR + (CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_C_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) +- set(CMAKE_C_FLAGS "-Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing") +- set(CMAKE_C_FLAGS_DEBUG "-g") +- set(CMAKE_C_FLAGS_RELEASE "-O2") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") + endif() + if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR + (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU")) +- set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing") +- set(CMAKE_CXX_FLAGS_DEBUG "-g") +- set(CMAKE_CXX_FLAGS_RELEASE "-O2") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") + endif() + + if(CMAKE_C_COMPILER_ID STREQUAL "MSVC") From 4a7f307b87f462883bf8701bf380018d72c15cc1 Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Wed, 25 May 2022 11:44:20 +0200 Subject: [PATCH 29/30] Add s390x patch --- ilbc-s390.patch | 12 ++++++++++++ ilbc.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 ilbc-s390.patch diff --git a/ilbc-s390.patch b/ilbc-s390.patch new file mode 100644 index 0000000..69ab9af --- /dev/null +++ b/ilbc-s390.patch @@ -0,0 +1,12 @@ +diff -Naur libilbc-3.0.4.old/rtc_base/system/arch.h libilbc-3.0.4/rtc_base/system/arch.h +--- libilbc-3.0.4.old/rtc_base/system/arch.h 2022-05-25 10:51:43.561630619 +0200 ++++ libilbc-3.0.4/rtc_base/system/arch.h 2022-05-25 11:40:46.556337090 +0200 +@@ -60,6 +60,8 @@ + #else + #define WEBRTC_ARCH_BIG_ENDIAN + #endif ++#elif defined(__s390__) || defined(__s390x__) || defined(__zarch__) ++#define WEBRTC_ARCH_BIG_ENDIAN + #elif defined(__sparc) || defined(__sparc__) + #if __SIZEOF_LONG__ == 8 + #define WEBRTC_ARCH_64_BITS diff --git a/ilbc.spec b/ilbc.spec index d14baca..f0df6e6 100644 --- a/ilbc.spec +++ b/ilbc.spec @@ -7,6 +7,7 @@ URL: https://github.com/TimothyGu/libilbc Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: %{name}-flags.patch +Patch1: %{name}-s390.patch BuildRequires: abseil-cpp-devel BuildRequires: cmake From 8bb528c49af0d072e330fe927fd7336b1cf5f0a4 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:23:20 +0300 Subject: [PATCH 30/30] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index e08127f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (ilbc-3.0.4.tar.gz) = cdbfe17074d4fdcff511f753d7dc67be6859f255e8f6eaa25dca7ecf87365a74eedac2b31e58b402715606291b6c900a3911bccf4ff27480301ad3cc7b82c194