6 Summary: Weighted finite-state transducer library
8 Group: Development/Tools/Other
9 Url: http://www.openfst.org/
10 Source0: %{name}-%{version}.tar.gz
11 Source1: LICENSE.APACHE2.0
12 Source2: Add-pie-compile-option.patch
13 Source1001: openfst.manifest
15 BuildRequires: gcc-c++
16 BuildRequires: pkgconfig(zlib)
17 BuildRequires: python-devel
20 OpenFst is a library for constructing, combining, optimizing and
21 searching weighted finite-state transducers (FSTs).
24 Summary: Development files for OpenFst
26 Group: Development/Libraries/C and C++
27 Requires: %{name} = %{version}-%{release}
30 OpenFst is a library for constructing, combining, optimizing and
31 searching weighted finite-state transducers (FSTs).
34 Summary: Command-line tools for working with FSTs
35 Group: Development/Tools/Other
36 Requires: %{name} = %{version}-%{release}
39 OpenFst is a library for constructing, combining, optimizing and
40 searching weighted finite-state transducers (FSTs).
42 This package contains command-line tools that give access to OpenFst
49 %{__patch} -p1 < %{SOURCE2}
52 export CXXFLAGS+=" -fPIC"
55 %{__make} %{?_smp_mflags}
58 %{__make} install DESTDIR=%{buildroot}
60 find %{buildroot}%{_libdir} -name '*.la' -delete
64 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %manifest openfst.manifest
70 %license LICENSE.APACHE2.0
74 %manifest openfst.manifest
75 %license LICENSE.APACHE2.0
80 %manifest openfst.manifest
81 %license LICENSE.APACHE2.0