Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

7 changed files with 57 additions and 24 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/gsm-1.0.17.tar.gz
/gsm-1.0.17.tar.gz
SOURCES/gsm-1.0.19.tar.gz

1
.gsm.metadata Normal file
View File

@ -0,0 +1 @@
3ea15bf487593b589bec1b8d08b25e66c8a125f9 SOURCES/gsm-1.0.19.tar.gz

View File

@ -15,8 +15,8 @@ diff -up gsm-1.0-pl17/Makefile.mk gsm-1.0-pl17/Makefile
+SO_MAJOR = 1
+SO_MINOR = 0
+SO_MICRO = 17
+SO_VER = $(SO_MAJOR).$(SO_MINOR).$(SO_MICRO)
+SO_PATCH = 18
+SO_VER = $(SO_MAJOR).$(SO_MINOR).$(SO_PATCH)
# If your compiler needs additional flags/libraries, regardless of
# the source compiled, configure them here.
@ -47,7 +47,7 @@ diff -up gsm-1.0-pl17/Makefile.mk gsm-1.0-pl17/Makefile
-RMFLAGS =
+RMFLAGS = -f
FIND = find
COMPRESS = compress
COMPRESS = gzip
COMPRESSFLAGS =
@@ -140,6 +144,7 @@ LFLAGS = $(LDFLAGS) $(LDINC)
# Targets

View File

@ -1,19 +1,21 @@
%global ver_maj 1.0
%global ver_min 17
%global ver_major 1
%global ver_minor 0
%global ver_patch 19
Name: gsm
Version: %{ver_maj}.%{ver_min}
Release: 5%{?dist}
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
Release: 6%{?dist}
Summary: Shared libraries for GSM speech compressor
Group: System Environment/Libraries
License: MIT
URL: http://www.quut.com/gsm/
Source: http://www.quut.com/gsm/%{name}-%{version}.tar.gz
Patch0: %{name}-makefile.patch
Patch1: %{name}-warnings.patch
BuildRequires: gcc
BuildRequires: make
%global srcver %{ver_maj}-pl%{ver_min}
%global srcver %{ver_major}.%{ver_minor}-pl%{ver_patch}
%description
Contains runtime shared libraries for libgsm, an implementation of
@ -36,7 +38,6 @@ ETSI standard test patterns.
%package tools
Summary: GSM speech compressor tools
Group: Applications/Multimedia
%description tools
Contains command line utilities for libgsm, an implementation of
@ -46,7 +47,6 @@ excitation/long term prediction) coding at 13 kbit/s.
%package devel
Summary: Header files and development libraries for libgsm
Group: Development/Libraries
Requires: %{name}%{_isa} = %{version}-%{release}
%description devel
@ -62,16 +62,17 @@ full-rate speech transcoding, prI-ETS 300 036, which uses RPE/LTP
%build
export LDFLAGS="%{?__global_ldflags}"
make %{?_smp_mflags} all
%make_build all SO_MAJOR=%{ver_major} SO_MINOR=%{ver_minor} SO_PATCH=%{ver_patch}
%install
export LDFLAGS="%{?__global_ldflags}"
mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}}
make install \
%make_install \
INSTALL_ROOT=%{buildroot}%{_prefix} \
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
GSM_INSTALL_LIB=%{buildroot}%{_libdir}
GSM_INSTALL_LIB=%{buildroot}%{_libdir} \
SO_MAJOR=%{ver_major} SO_MINOR=%{ver_minor} SO_PATCH=%{ver_patch}
# some apps look for this in /usr/include
ln -s gsm/gsm.h %{buildroot}%{_includedir}
@ -83,7 +84,7 @@ echo ".so toast.1" > %{buildroot}%{_mandir}/man1/untoast.1
# This is to ensure that the patch creates the proper library version.
[ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ]
export LDFLAGS="%{?__global_ldflags}"
make addtst
%{__make} addtst
%ldconfig_scriptlets
@ -111,6 +112,45 @@ make addtst
%{_mandir}/man3/gsm_print.3*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.19-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.19-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.19-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.0.19-2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Apr 1 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1.0.19-1
- New version
Resolves: rhbz#1818181
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.0.18-3
- include gcc into buildrequires
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon May 21 2018 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.18-1
- update to 1.0.18 (#1575372)
* Wed Mar 07 2018 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.17-5
- ensure binaries are linked with Fedora LDFLAGS (#1548532)
- use ldconfig_scriptlets macro

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1 +0,0 @@
SHA512 (gsm-1.0.17.tar.gz) = 983b442a1ee3f8bce0523f671071823598c4edb222f8d3de1ad7997c85cbeb7bc49ee87130e12f0f815266a29ad2ef58e59672e81bf41cdadc292baf66942026