@@ -0,0 +1,2598 @@
+##############################################################################%0A# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.%0A# Produced at the Lawrence Livermore National Laboratory.%0A#%0A# This file is part of Spack.%0A# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.%0A# LLNL-CODE-647188%0A#%0A# For details, see https://github.com/llnl/spack%0A# Please also see the LICENSE file for our notice and the LGPL.%0A#%0A# This program is free software; you can redistribute it and/or modify%0A# it under the terms of the GNU Lesser General Public License (as%0A# published by the Free Software Foundation) version 2.1, February 1999.%0A#%0A# This program is distributed in the hope that it will be useful, but%0A# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and%0A# conditions of the GNU Lesser General Public License for more details.%0A#%0A# You should have received a copy of the GNU Lesser General Public%0A# License along with this program; if not, write to the Free Software%0A# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA%0A##############################################################################%0Afrom spack import *%0A%0A%0Aclass Openfst(AutotoolsPackage):%0A    %22%22%22OpenFst is a library for constructing, combining, optimizing, %0A        and searching weighted finite-state transducers (FSTs). Weighted %0A        finite-state transducers are automata where each transition has %0A        an input label, an output label, and a weight.%22%22%22%0A%0A    homepage = %22http://www.openfst.org%22%0A    url      = %22http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.6.1.tar.gz%22%0A    list_url = %22http://www.openfst.org/twiki/bin/view/FST/FstDownload%22%0A%0A    version('1.6.1',  '1173066ed987072183b950b54bdc9315')%0A    version('1.6.0',  '2b7bcfde6b629857dc5f9ad7edd6ece9')%0A    version('1.5.4',  'e52bd59ec9d9edde0c1268a382662741')%0A    version('1.5.3',  'f04e580b5bc574571854304c9656a3e2')%0A    version('1.5.2',  'e9d43874f7cadf791394caab3925eee4')%0A    version('1.5.1',  '8869e44c5a4af65409ae78b9f482b40e')%0A    version('1.5.0',  'a24fee5ffe28744c6fb7b1a49e0006c4')%0A    version('1.4.1',  'ca8f1730b9b9b281e515611fa9ae23c0')%0A    version('1.4.0',  '662367ec91084ffab48ee9b5716de39c')%0A%0A    @run_before('autoreconf')%0A    def check_compilers(self):%0A        # Fails to built openfst with %25gcc@6: or %25intel@16%0A        if self.spec.satisfies('%25intel@16:') or self.spec.satisfies('gcc@6:'):%0A            raise InstallError(%0A                'openfst does not support Intel compiler %3E= 16 and gcc %3E= 6 '%0A            )%0A

Add package openfst. (#3324)