|
|
ce4aa6 |
%global ver_maj 1.0
|
|
|
ce4aa6 |
%global ver_min 17
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
Name: gsm
|
|
|
ce4aa6 |
Version: %{ver_maj}.%{ver_min}
|
|
|
ce4aa6 |
Release: 5%{?dist}
|
|
|
ce4aa6 |
Summary: Shared libraries for GSM speech compressor
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
Group: System Environment/Libraries
|
|
|
ce4aa6 |
License: MIT
|
|
|
ce4aa6 |
URL: http://www.quut.com/gsm/
|
|
|
ce4aa6 |
Source: http://www.quut.com/gsm/%{name}-%{version}.tar.gz
|
|
|
ce4aa6 |
Patch0: %{name}-makefile.patch
|
|
|
ce4aa6 |
Patch1: %{name}-warnings.patch
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%global srcver %{ver_maj}-pl%{ver_min}
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%description
|
|
|
ce4aa6 |
Contains runtime shared libraries for libgsm, an implementation of
|
|
|
ce4aa6 |
the European GSM 06.10 provisional standard for full-rate speech
|
|
|
ce4aa6 |
transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
|
|
|
ce4aa6 |
excitation/long term prediction) coding at 13 kbit/s.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
GSM 06.10 compresses frames of 162 13-bit samples (8 kHz sampling
|
|
|
ce4aa6 |
rate, i.e. a frame rate of 50 Hz) into 260 bits; for compatibility
|
|
|
ce4aa6 |
with typical UNIX applications, our implementation turns frames of 160
|
|
|
ce4aa6 |
16-bit linear samples into 33-byte frames (1650 Bytes/s).
|
|
|
ce4aa6 |
The quality of the algorithm is good enough for reliable speaker
|
|
|
ce4aa6 |
recognition; even music often survives transcoding in recognizable
|
|
|
ce4aa6 |
form (given the bandwidth limitations of 8 kHz sampling rate).
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
The interfaces offered are a front end modelled after compress(1), and
|
|
|
ce4aa6 |
a library API. Compression and decompression run faster than realtime
|
|
|
ce4aa6 |
on most SPARCstations. The implementation has been verified against the
|
|
|
ce4aa6 |
ETSI standard test patterns.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%package tools
|
|
|
ce4aa6 |
Summary: GSM speech compressor tools
|
|
|
ce4aa6 |
Group: Applications/Multimedia
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%description tools
|
|
|
ce4aa6 |
Contains command line utilities for libgsm, an implementation of
|
|
|
ce4aa6 |
the European GSM 06.10 provisional standard for full-rate speech
|
|
|
ce4aa6 |
transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
|
|
|
ce4aa6 |
excitation/long term prediction) coding at 13 kbit/s.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%package devel
|
|
|
ce4aa6 |
Summary: Header files and development libraries for libgsm
|
|
|
ce4aa6 |
Group: Development/Libraries
|
|
|
ce4aa6 |
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%description devel
|
|
|
ce4aa6 |
Contains header files and development libraries for libgsm, an
|
|
|
ce4aa6 |
implementation of the European GSM 06.10 provisional standard for
|
|
|
ce4aa6 |
full-rate speech transcoding, prI-ETS 300 036, which uses RPE/LTP
|
|
|
ce4aa6 |
(residual pulse excitation/long term prediction) coding at 13 kbit/s.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%prep
|
|
|
ce4aa6 |
%setup -n gsm-%{srcver} -q
|
|
|
ce4aa6 |
%patch0 -p1 -b .mk
|
|
|
ce4aa6 |
%patch1 -p1 -b .warn
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%build
|
|
|
ce4aa6 |
export LDFLAGS="%{?__global_ldflags}"
|
|
|
ce4aa6 |
make %{?_smp_mflags} all
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%install
|
|
|
ce4aa6 |
export LDFLAGS="%{?__global_ldflags}"
|
|
|
ce4aa6 |
mkdir -p %{buildroot}{%{_bindir},%{_includedir}/gsm,%{_libdir},%{_mandir}/{man1,man3}}
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
make install \
|
|
|
ce4aa6 |
INSTALL_ROOT=%{buildroot}%{_prefix} \
|
|
|
ce4aa6 |
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
|
|
|
ce4aa6 |
GSM_INSTALL_LIB=%{buildroot}%{_libdir}
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
# some apps look for this in /usr/include
|
|
|
ce4aa6 |
ln -s gsm/gsm.h %{buildroot}%{_includedir}
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
echo ".so toast.1" > %{buildroot}%{_mandir}/man1/tcat.1
|
|
|
ce4aa6 |
echo ".so toast.1" > %{buildroot}%{_mandir}/man1/untoast.1
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%check
|
|
|
ce4aa6 |
# This is to ensure that the patch creates the proper library version.
|
|
|
ce4aa6 |
[ -f %{buildroot}%{_libdir}/libgsm.so.%{version} ]
|
|
|
ce4aa6 |
export LDFLAGS="%{?__global_ldflags}"
|
|
|
ce4aa6 |
make addtst
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%ldconfig_scriptlets
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%files
|
|
|
ce4aa6 |
%license COPYRIGHT
|
|
|
ce4aa6 |
%doc ChangeLog MACHINES README
|
|
|
ce4aa6 |
%{_libdir}/libgsm.so.*
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%files tools
|
|
|
ce4aa6 |
%{_bindir}/tcat
|
|
|
ce4aa6 |
%{_bindir}/toast
|
|
|
ce4aa6 |
%{_bindir}/untoast
|
|
|
ce4aa6 |
%{_mandir}/man1/tcat.1*
|
|
|
ce4aa6 |
%{_mandir}/man1/toast.1*
|
|
|
ce4aa6 |
%{_mandir}/man1/untoast.1*
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%files devel
|
|
|
ce4aa6 |
%dir %{_includedir}/gsm
|
|
|
ce4aa6 |
%{_includedir}/gsm/gsm.h
|
|
|
ce4aa6 |
%{_includedir}/gsm.h
|
|
|
ce4aa6 |
%{_libdir}/libgsm.so
|
|
|
ce4aa6 |
%{_mandir}/man3/gsm.3*
|
|
|
ce4aa6 |
%{_mandir}/man3/gsm_explode.3*
|
|
|
ce4aa6 |
%{_mandir}/man3/gsm_option.3*
|
|
|
ce4aa6 |
%{_mandir}/man3/gsm_print.3*
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
%changelog
|
|
|
ce4aa6 |
* Wed Mar 07 2018 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.17-5
|
|
|
ce4aa6 |
- ensure binaries are linked with Fedora LDFLAGS (#1548532)
|
|
|
ce4aa6 |
- use ldconfig_scriptlets macro
|
|
|
ce4aa6 |
- add proper man links for tcat and untoast
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-4
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-3
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.17-2
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu Jun 29 2017 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.17-1
|
|
|
ce4aa6 |
- update to 1.0.17 (#1465878)
|
|
|
ce4aa6 |
- ease future updates by better macro use
|
|
|
ce4aa6 |
- drop obsolete patch hunks
|
|
|
ce4aa6 |
- fix missing prototype for fchown warning
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-2
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu Nov 24 2016 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.16-1
|
|
|
ce4aa6 |
- update to 1.0.16 (#1397242)
|
|
|
ce4aa6 |
- use license macro
|
|
|
ce4aa6 |
- drop obsolete stuff and simplify
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.13-14
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-13
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-12
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-11
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-10
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Nov 20 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 1.0.13-8
|
|
|
ce4aa6 |
- Defines changed to globals
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-7
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-6
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Nov 30 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 1.0.13-5
|
|
|
ce4aa6 |
- Fixed build failure, defuzzified gsm-warnings patch
|
|
|
ce4aa6 |
Resolves: rhbz#757136
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-4
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Jan 16 2010 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.13-3
|
|
|
ce4aa6 |
- update homepage and source URLs
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Wed Jul 29 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.0.13-2
|
|
|
ce4aa6 |
- Fix dangling symlinks for shared lib, thanks to Lucian Langa for pointing out the issue.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Jul 28 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.0.13-1.1
|
|
|
ce4aa6 |
- Upload sources
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Jul 28 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.0.13-1
|
|
|
ce4aa6 |
- Update to 1.0.13
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.12-8
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.12-7
|
|
|
ce4aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Mon Feb 11 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.0.12-6
|
|
|
ce4aa6 |
- Rebuild for GCC 4.3
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sun Aug 26 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.12-5
|
|
|
ce4aa6 |
- install symlinks instead of binaries in -devel
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Aug 25 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.12-4
|
|
|
ce4aa6 |
- rebuild for BuildID
|
|
|
ce4aa6 |
- specfile cleanups
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sun May 13 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.12-3
|
|
|
ce4aa6 |
- fix parallel make
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri May 11 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 1.0.12-2
|
|
|
ce4aa6 |
- fix some warnings
|
|
|
ce4aa6 |
- fix 64bit testsuite issue as described at gsm homepage
|
|
|
ce4aa6 |
- add compatibility header symlink
|
|
|
ce4aa6 |
- split off binaries into a separate package
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sun Apr 15 2007 Michael Schwendt <mschwendt[AT]users.sf.net> 1.0.12-1
|
|
|
ce4aa6 |
- Update to Release 1.0 Patchlevel 12.
|
|
|
ce4aa6 |
- Build with -fPIC not just for non-ix86.
|
|
|
ce4aa6 |
- Add check section to ensure proper library version.
|
|
|
ce4aa6 |
- Remove static library.
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.0.10-12
|
|
|
ce4aa6 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Sep 26 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-11
|
|
|
ce4aa6 |
- rebuild for FC6
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
ce4aa6 |
- switch to new release field
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
|
|
ce4aa6 |
- add dist
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Mon Jun 27 2005 David Woodhouse <dwmw2@infradead.org>
|
|
|
ce4aa6 |
- 1.0.10-0.lvn.10: Clean up installation
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Jun 25 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info>
|
|
|
ce4aa6 |
- 1.0.10-0.lvn.9: mv libgsm.a only when needed
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Dec 31 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info>
|
|
|
ce4aa6 |
- 1.0.10-0.lvn.8: Use -fPIC on non ix86
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-0.lvn.7: moved to rpm.livna.org
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Mar 02 2004 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-0.fdr.7: applied patch from Ville, remove epoch since it's allowed
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Sep 13 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 0:1.0.10-0.fdr.6: remove second makeinstall
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 0:1.0.10-0.fdr.5
|
|
|
ce4aa6 |
- added back epochs, I surrender
|
|
|
ce4aa6 |
- fix RPM_OPT_FLAGS hackery
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Fri Jul 18 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-0.fdr.4: remove epoch mentions
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Sat Jul 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-0.fdr.3
|
|
|
ce4aa6 |
- pull in RPM_OPT_FLAGS in patch instead of using perl to wedge it in
|
|
|
ce4aa6 |
- fix group
|
|
|
ce4aa6 |
- -p'ize ldconfig
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Tue Jun 10 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 1.0.10-0.fdr.2
|
|
|
ce4aa6 |
- Fix libgsm.so.* being files instead of symlinks
|
|
|
ce4aa6 |
|
|
|
ce4aa6 |
* Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
ce4aa6 |
- 0:1.0.10-0.fdr.1: initial RPM release
|