diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3528fdf..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/sphinxbase-0.8.tar.gz -/sphinxbase-5prealpha.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index 62eb24d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (sphinxbase-5prealpha.tar.gz) = 9d999d0b9041c0965ff679636e3c5705987b70317a353916f447809a916878d831a82a5d9c1476d304f908df1ce6b68eb07c906af4f7b86ab84b859ee1b0d20b diff --git a/sphinxbase.spec b/sphinxbase.spec deleted file mode 100644 index 5d8efc9..0000000 --- a/sphinxbase.spec +++ /dev/null @@ -1,268 +0,0 @@ -Name: sphinxbase -Version: 5prealpha -Release: 5%{?dist} -Summary: Common library for CMU Sphinx voice recognition products - -License: BSD -URL: http://cmusphinx.sourceforge.net/ -Source0: http://downloads.sourceforge.net/cmusphinx/%{name}-%{version}.tar.gz - -BuildRequires: autoconf-archive -BuildRequires: bison -BuildRequires: doxygen-latex -BuildRequires: gcc-c++ -BuildRequires: ghostscript -BuildRequires: libtool -BuildRequires: openblas-devel -BuildRequires: perl-generators -BuildRequires: perl-interpreter -BuildRequires: perl(Pod::Usage) -BuildRequires: pkgconfig(libpulse) -BuildRequires: pkgconfig(samplerate) -BuildRequires: pkgconfig(sndfile) -BuildRequires: python3-Cython -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: swig - -%description -Sphinxbase is a common library for CMU Sphinx voice recognition products. -This package does not provide voice recognition by itself. - -%package devel -Summary: Header and other development files for sphinxbase -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -Requires: pkgconfig(libpulse) -Provides: bundled(jquery) - -%description devel -Header files and other development files for sphinxbase. - -%package libs -Summary: Libraries for sphinxbase - -%description libs -The libraries for sphinxbase. - -%package -n python3-sphinxbase -%{?python_provide:%python_provide python3-sphinxbase} -Summary: Python interface to sphinxbase -Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description -n python3-sphinxbase -Python 3 interface to sphinxbase. - -%prep -%setup -q - -# Use openblas instead of the blas reference implementation -sed -ri 's/blas|lapack/openblas/' configure.ac - -# Use system-provided ax_python_devel.m4 -rm -f m4/ax_python_devel.m4 - -# Regenerate configure files due to openblas and m4 changes -autoreconf -fi - -# Fix encoding -iconv -f ISO8859-1 -t UTF-8 -o AUTHORS.new AUTHORS -touch -r AUTHORS.new AUTHORS -mv -f AUTHORS.new AUTHORS - -# Force code generation with newer versions of Cython and bison -rm -f python/sphinxbase.c src/libsphinxbase/lm/jsgf_parser.{c,h} - -# Improve auto requires detection -for f in src/sphinx_jsgf2fsg/fsg2dot.pl; do - sed -r 's|/usr/bin/env (.*)|/usr/bin/\1|' $f > $f.new - touch -r $f $f.new - mv -f $f.new $f -done - -%build -export CPPFLAGS="-I %{_includedir}/openblas" -%configure --disable-static --with-python=%{__python3} - -# Get rid of undesirable hardcoded rpaths; workaround libtool reordering -# -Wl,--as-needed after all the libraries. -sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ - -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ - -e 's|CC="\(g.*\)"|CC="\1 -Wl,--as-needed"|' \ - -i libtool - -# Build the programs and libraries -make %{?_smp_mflags} - -# Some private libs are marked as nonprivate in the pkgconfig file -extralibs=$(sed -n 's/^Libs:.*-lm \(.*\)/\1/p' sphinxbase.pc | sed 's/ / /g') -sed -e 's/^\(libs=".*-lm\).*/\1"/' \ - -e 's/^\(Libs:.*-lm\).*/\1/' \ - -e "s/^Libs\.private.*/& $extralibs/" \ - -i sphinxbase.pc - -# Build the man pages -cd doc -export LD_LIBRARY_PATH=../src/libsphinxbase/.libs:../src/libsphinxad/.libs -for prog in sphinx_cepview sphinx_fe; do - perl args2man.pl ../src/${prog}/${prog} < ${prog}.1.in > ${prog}.1 -done -perl args2man.pl ../src/sphinx_adtools/sphinx_pitch < sphinx_pitch.1.in > sphinx_pitch.1 - -%install -# Install the binaries and libraries -mkdir -p %{buildroot}%{python_sitearch} -make install DESTDIR=%{buildroot} - -# Install the man pages -mkdir -p %{buildroot}%{_mandir}/man1 -cp -p doc/*.1 %{buildroot}%{_mandir}/man1 - -# Remove libtool archives -rm -f %{buildroot}%{_libdir}/*.la - -%ldconfig_scriptlets libs - -%files -%{_bindir}/* -%{_mandir}/man1/* - -%files devel -%doc doc/html -%{_includedir}/sphinxbase/ -%{_libdir}/libsphinxad.so -%{_libdir}/libsphinxbase.so -%{_libdir}/pkgconfig/sphinxbase.pc -%{_datadir}/sphinxbase/ - -%files libs -%doc AUTHORS NEWS README -%license LICENSE -%{_libdir}/libsphinxad.so.* -%{_libdir}/libsphinxbase.so.* - -%files -n python3-sphinxbase -%{python3_sitearch}/* - -%changelog -* Sun Feb 03 2019 Fedora Release Engineering - 5prealpha-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Nov 29 2018 Miro Hrončok - 5prealpha-4 -- Switch to Python 3 - -* Thu Aug 09 2018 W. Michael Petullo - 5prealpha-3 -- Remove --disable-rpath after noticing warning from ./configure -- Add autoconf-archive to BuildRequires - -* Thu Aug 09 2018 W. Michael Petullo - 5prealpha-2 -- Add swig to BuildRequires - -* Sun Jul 22 2018 W. Michael Petullo - 5prealpha-1 -- New upstream release - -* Sat Jul 14 2018 Fedora Release Engineering - 0.8-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jul 3 2018 Jerry James - 0.8-20 -- Build with /usr/bin/python2 instead of /usr/bin/python - -* Fri Feb 09 2018 Fedora Release Engineering - 0.8-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 0.8-18 -- Add Provides for the old name without %%_isa - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.8-17 -- Python 2 binary package renamed to python2-sphinxbase - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Wed Aug 16 2017 Jerry James - 0.8-16 -- Link with openblas instead of atlas - -* Thu Aug 03 2017 Fedora Release Engineering - 0.8-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.8-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.8-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 0.8-12 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Fri Feb 05 2016 Fedora Release Engineering - 0.8-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 0.8-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Nov 12 2014 Jerry James - 0.8-9 -- Link with atlas instead of the reference blas implementation -- Add Provides: bundled(jquery) -- Fix private libs listed as nonprivate in the pkgconfig file -- Minor spec file cleanups - -* Mon Aug 18 2014 Fedora Release Engineering - 0.8-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 0.8-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 0.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jul 17 2013 Petr Pisar - 0.8-5 -- Perl 5.18 rebuild - -* Fri Mar 29 2013 Jerry James - 0.8-4 -- Different approach to the -largefile patch to fix problems with the original -- Drop -aarch64 patch since we now run autoreconf -- Add -uninit patch to fix bogus lm scores -- Add -doxygen patch to fix some broken doxygen comments - -* Thu Mar 28 2013 Jerry James - 0.8-3 -- Add -largefile patch to get large file support -- Add -aarch64 patch (bz 926565) - -* Mon Feb 18 2013 Jerry James - 0.8-2 -- Add perl(Pod::Usage) BR - -* Fri Feb 15 2013 Fedora Release Engineering - 0.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Mon Dec 17 2012 Jerry James - 0.8-1 -- New upstream release -- Drop patches; no longer necessary - -* Sat Jul 21 2012 Fedora Release Engineering - 0.7-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Jan 10 2012 Jerry James - 0.7-4 -- Rebuild for bz 772699 - -* Fri Jan 6 2012 Jerry James - 0.7-3 -- Rebuild for GCC 4.7 -- Fix a typo in the filter - -* Fri Jul 15 2011 Jerry James - 0.7-2 -- Use RPM 4.9's new filter scheme to remove bogus provides -- Minor spec file cleanups - -* Tue Apr 19 2011 Jerry James - 0.7-1 -- New upstream release - -* Wed Feb 09 2011 Fedora Release Engineering - 0.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Aug 16 2010 Jerry James - 0.6.1-1 -- New upstream release - -* Thu Jul 22 2010 David Malcolm - 0.4.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Fri Nov 20 2009 Jerry James - 0.4.1-2 -- Update python BRs for Rawhide - -* Mon Jun 1 2009 Jerry James - 0.4.1-1 -- Initial RPM