|
|
@ -1,21 +1,19 @@
|
|
|
|
%global ver_major 1
|
|
|
|
%global ver_maj 1.0
|
|
|
|
%global ver_minor 0
|
|
|
|
%global ver_min 17
|
|
|
|
%global ver_patch 19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: gsm
|
|
|
|
Name: gsm
|
|
|
|
Version: %{ver_major}.%{ver_minor}.%{ver_patch}
|
|
|
|
Version: %{ver_maj}.%{ver_min}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Shared libraries for GSM speech compressor
|
|
|
|
Summary: Shared libraries for GSM speech compressor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.quut.com/gsm/
|
|
|
|
URL: http://www.quut.com/gsm/
|
|
|
|
Source: http://www.quut.com/gsm/%{name}-%{version}.tar.gz
|
|
|
|
Source: http://www.quut.com/gsm/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-makefile.patch
|
|
|
|
Patch0: %{name}-makefile.patch
|
|
|
|
Patch1: %{name}-warnings.patch
|
|
|
|
Patch1: %{name}-warnings.patch
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global srcver %{ver_major}.%{ver_minor}-pl%{ver_patch}
|
|
|
|
%global srcver %{ver_maj}-pl%{ver_min}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Contains runtime shared libraries for libgsm, an implementation of
|
|
|
|
Contains runtime shared libraries for libgsm, an implementation of
|
|
|
@ -38,6 +36,7 @@ ETSI standard test patterns.
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
%package tools
|
|
|
|
Summary: GSM speech compressor tools
|
|
|
|
Summary: GSM speech compressor tools
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
%description tools
|
|
|
|
Contains command line utilities for libgsm, an implementation of
|
|
|
|
Contains command line utilities for libgsm, an implementation of
|
|
|
@ -47,6 +46,7 @@ excitation/long term prediction) coding at 13 kbit/s.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and development libraries for libgsm
|
|
|
|
Summary: Header files and development libraries for libgsm
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -62,17 +62,16 @@ full-rate speech transcoding, prI-ETS 300 036, which uses RPE/LTP
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
%make_build all SO_MAJOR=%{ver_major} SO_MINOR=%{ver_minor} SO_PATCH=%{ver_patch}
|
|
|
|
make %{?_smp_mflags} all
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}}
|
|
|
|
mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}}
|
|
|
|
|
|
|
|
|
|
|
|
%make_install \
|
|
|
|
make install \
|
|
|
|
INSTALL_ROOT=%{buildroot}%{_prefix} \
|
|
|
|
INSTALL_ROOT=%{buildroot}%{_prefix} \
|
|
|
|
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
|
|
|
|
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
|
|
|
|
# some apps look for this in /usr/include
|
|
|
|
ln -s gsm/gsm.h %{buildroot}%{_includedir}
|
|
|
|
ln -s gsm/gsm.h %{buildroot}%{_includedir}
|
|
|
@ -84,7 +83,7 @@ echo ".so toast.1" > %{buildroot}%{_mandir}/man1/untoast.1
|
|
|
|
# This is to ensure that the patch creates the proper library version.
|
|
|
|
# This is to ensure that the patch creates the proper library version.
|
|
|
|
[ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ]
|
|
|
|
[ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ]
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
%{__make} addtst
|
|
|
|
make addtst
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
@ -112,45 +111,6 @@ export LDFLAGS="%{?__global_ldflags}"
|
|
|
|
%{_mandir}/man3/gsm_print.3*
|
|
|
|
%{_mandir}/man3/gsm_print.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Wed Mar 07 2018 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.17-5
|
|
|
|
- ensure binaries are linked with Fedora LDFLAGS (#1548532)
|
|
|
|
- ensure binaries are linked with Fedora LDFLAGS (#1548532)
|
|
|
|
- use ldconfig_scriptlets macro
|
|
|
|
- use ldconfig_scriptlets macro
|
|
|
|