Compare commits

..

19 Commits
f19 ... master

Author SHA1 Message Date
Fedora Release Engineering
a8323175a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 06:44:50 +00:00
Fedora Release Engineering
14b427ac24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 19:22:58 +00:00
Tom Callaway
6badd133b9 fix cpuid.h conditionalization to be more complete 2017-11-08 09:52:13 -05:00
Tom Callaway
87e298da65 fix BR on SDL2 2017-11-07 15:39:10 -05:00
Tom Callaway
2482e1c71a 4.4.2.1 2017-11-07 15:16:33 -05:00
Fedora Release Engineering
5d04eea04f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 00:05:13 +00:00
Fedora Release Engineering
19486ea4ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 14:47:43 +00:00
Fedora Release Engineering
ee17281a56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 17:30:39 +00:00
Igor Gnatenko
188f3c96ea Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:31 +01:00
Petr Písař
20f5067863 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:36:04 +02:00
Dennis Gilmore
65890e8b6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 01:31:39 +00:00
Dennis Gilmore
aea2e5c174 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 12:41:26 +00:00
Tom Callaway
678b7e59b0 fix DESTDIR patch so that mkfa and mkdfa.pl get installed 2014-09-03 16:02:53 -04:00
Peter Robinson
949f3ede2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 22:38:55 +00:00
Dennis Gilmore
901a6b762e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 20:18:20 -05:00
Dennis Gilmore
9e867a304f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 16:51:53 -05:00
Petr Písař
e06b024deb Perl 5.18 rebuild 2013-07-18 12:45:52 +02:00
Tom Callaway
cf869d4748 helps when you git add the spec file 2013-04-24 10:51:33 -04:00
Tom Callaway
07d57f15a8 initial package 2013-04-24 10:46:26 -04:00
6 changed files with 658 additions and 17 deletions

4
.gitignore vendored
View File

@ -0,0 +1,4 @@
/julius-4.2.2.tar.gz
/japanese-models.tar.gz
/v4.4.2.1.tar.gz
/dictation-kit-bf4f024.tar.xz

View File

@ -0,0 +1,368 @@
diff -up julius-4.4.2.1/adinrec/Makefile.in.DESTDIR julius-4.4.2.1/adinrec/Makefile.in
--- julius-4.4.2.1/adinrec/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/adinrec/Makefile.in 2017-11-07 11:53:46.827786050 -0500
@@ -36,8 +36,8 @@ $(TARGET): adinrec.c $(LIBSENT)/libsent.
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/adintool/Makefile.in.DESTDIR julius-4.4.2.1/adintool/Makefile.in
diff -up julius-4.4.2.1/generate-ngram/Makefile.in.DESTDIR julius-4.4.2.1/generate-ngram/Makefile.in
--- julius-4.4.2.1/generate-ngram/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/generate-ngram/Makefile.in 2017-11-07 11:53:46.827786050 -0500
@@ -33,8 +33,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) $(OBJ) *~ core
diff -up julius-4.4.2.1/gramtools/accept_check/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/accept_check/Makefile.in
--- julius-4.4.2.1/gramtools/accept_check/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/accept_check/Makefile.in 2017-11-07 11:53:46.827786050 -0500
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in
--- julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/dfa_determinize/Makefile.in 2017-11-07 11:53:46.828786027 -0500
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in
--- julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/dfa_minimize/Makefile.in 2017-11-07 11:53:46.828786027 -0500
@@ -34,8 +34,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/gramtools/generate/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/generate/Makefile.in
--- julius-4.4.2.1/gramtools/generate/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/generate/Makefile.in 2017-11-07 11:53:46.828786027 -0500
@@ -35,8 +35,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in
--- julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/gram2sapixml/Makefile.in 2017-11-07 11:53:46.829786004 -0500
@@ -17,8 +17,8 @@ all:
install: install.bin
install.bin:
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
echo nothing to do
diff -up julius-4.4.2.1/gramtools/mkdfa/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/mkdfa/Makefile.in
--- julius-4.4.2.1/gramtools/mkdfa/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/mkdfa/Makefile.in 2017-11-07 11:53:46.829786004 -0500
@@ -18,13 +18,13 @@ all:
install:
(cd $(SUBDIR); $(MAKE) install)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
install.bin:
(cd $(SUBDIR); $(MAKE) install.bin)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
(cd $(SUBDIR); $(MAKE) clean)
diff -up julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
--- julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in 2017-11-07 11:53:46.830785981 -0500
@@ -43,8 +43,8 @@ $(TARGET): $(OBJS)
install: install.bin
install.bin:
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) *.o *~ core
diff -up julius-4.4.2.1/gramtools/nextword/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/nextword/Makefile.in
--- julius-4.4.2.1/gramtools/nextword/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/nextword/Makefile.in 2017-11-07 11:53:46.830785981 -0500
@@ -36,8 +36,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/gramtools/yomi2voca/Makefile.in.DESTDIR julius-4.4.2.1/gramtools/yomi2voca/Makefile.in
--- julius-4.4.2.1/gramtools/yomi2voca/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/gramtools/yomi2voca/Makefile.in 2017-11-07 11:53:46.830785981 -0500
@@ -17,8 +17,8 @@ all:
install: install.bin
install.bin:
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
echo nothing to do
diff -up julius-4.4.2.1/jclient-perl/Makefile.in.DESTDIR julius-4.4.2.1/jclient-perl/Makefile.in
--- julius-4.4.2.1/jclient-perl/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/jclient-perl/Makefile.in 2017-11-07 11:53:46.830785981 -0500
@@ -17,8 +17,8 @@ all:
install: install.bin
install.bin:
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
echo nothing to do
diff -up julius-4.4.2.1/jcontrol/Makefile.in.DESTDIR julius-4.4.2.1/jcontrol/Makefile.in
--- julius-4.4.2.1/jcontrol/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/jcontrol/Makefile.in 2017-11-07 11:53:46.830785981 -0500
@@ -31,8 +31,8 @@ $(TARGET): $(OBJ)
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) $(OBJ)
diff -up julius-4.4.2.1/julius/Makefile.in.DESTDIR julius-4.4.2.1/julius/Makefile.in
--- julius-4.4.2.1/julius/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/julius/Makefile.in 2017-11-07 11:53:46.831785958 -0500
@@ -61,8 +61,8 @@ $(TARGET): $(LIBSENT)/libsent.a $(LIBJUL
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET}
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ ${INSTALL_PROGRAM} $(TARGET) ${DESTDIR}${bindir}/${INSTALLTARGET}
depend:
makedepend -- $(CFLAGS) -- $(OBJSENT)
diff -up julius-4.4.2.1/libjulius/Makefile.in.DESTDIR julius-4.4.2.1/libjulius/Makefile.in
--- julius-4.4.2.1/libjulius/Makefile.in.DESTDIR 2017-11-07 11:53:46.831785958 -0500
+++ julius-4.4.2.1/libjulius/Makefile.in 2017-11-07 11:57:02.898463306 -0500
@@ -93,17 +93,17 @@ $(TARGET): $(OBJ)
install: install.lib install.include install.bin
install.lib: $(TARGET)
- ${INSTALL} -d ${libdir}
- ${INSTALL_DATA} $(TARGET) ${libdir}
- ${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
+ ${INSTALL} -d ${DESTDIR}${libdir}
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
+ ${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
install.include:
- ${INSTALL} -d ${includedir}/julius
- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius
+ ${INSTALL} -d ${DESTDIR}${includedir}/julius
+ ${INSTALL_DATA} include/julius/*.h ${DESTDIR}${includedir}/julius
install.bin: libjulius-config-dist
- ${INSTALL} -d ${bindir}
- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ ${INSTALL_PROGRAM} libjulius-config-dist ${DESTDIR}${bindir}/libjulius-config
depend:
makedepend -- $(CFLAGS) -- $(OBJSENT)
diff -up julius-4.4.2.1/libsent/Makefile.in.DESTDIR julius-4.4.2.1/libsent/Makefile.in
--- julius-4.4.2.1/libsent/Makefile.in.DESTDIR 2017-11-07 11:53:46.831785958 -0500
+++ julius-4.4.2.1/libsent/Makefile.in 2017-11-07 11:57:52.041386676 -0500
@@ -168,17 +168,17 @@ src/phmm/calc_dnn_neon.o: src/phmm/calc_
install: install.lib install.include install.bin
install.lib: $(TARGET)
- ${INSTALL} -d ${libdir}
- ${INSTALL_DATA} $(TARGET) ${libdir}
- ${INSTALL_DATA} $(PKGCONF_FILE) ${pkgconfigdir}
+ ${INSTALL} -d ${DESTDIR}${libdir}
+ ${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
+ ${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
install.include:
- ${INSTALL} -d ${includedir}/sent
- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent
+ ${INSTALL} -d ${DESTDIR}${includedir}/sent
+ ${INSTALL_DATA} include/sent/*.h ${DESTDIR}${includedir}/sent
install.bin: libsent-config-dist
- ${INSTALL} -d ${bindir}
- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config
+ ${INSTALL} -d ${DESTDIR}${bindir}
+ ${INSTALL_PROGRAM} libsent-config-dist ${DESTDIR}${bindir}/libsent-config
clean:
$(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
diff -up julius-4.4.2.1/man/Makefile.in.DESTDIR julius-4.4.2.1/man/Makefile.in
--- julius-4.4.2.1/man/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/man/Makefile.in 2017-11-07 11:53:46.831785958 -0500
@@ -19,16 +19,16 @@ all:
install: install.man install.man.ja
install.man:
- ${INSTALL} -d @mandir@/man1
+ ${INSTALL} -d ${DESTDIR}@mandir@/man1
for f in *.1; do \
- @INSTALL_DATA@ $$f @mandir@/man1/$$f; \
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/man1/$$f; \
done
install.man.ja:
- ${INSTALL} -d @mandir@/ja/man1
+ ${INSTALL} -d ${DESTDIR}@mandir@/ja/man1
cd ja;
for f in *.1; do \
- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \
+ @INSTALL_DATA@ $$f ${DESTDIR}@mandir@/ja/man1/$$f; \
done
cd ..
diff -up julius-4.4.2.1/mkbingram/Makefile.in.DESTDIR julius-4.4.2.1/mkbingram/Makefile.in
--- julius-4.4.2.1/mkbingram/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/mkbingram/Makefile.in 2017-11-07 11:53:46.831785958 -0500
@@ -30,8 +30,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) $(OBJ)
diff -up julius-4.4.2.1/mkbinhmm/Makefile.in.DESTDIR julius-4.4.2.1/mkbinhmm/Makefile.in
--- julius-4.4.2.1/mkbinhmm/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/mkbinhmm/Makefile.in 2017-11-07 11:53:46.831785958 -0500
@@ -32,8 +32,8 @@ mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(L
install: install.bin
install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ ${DESTDIR}@bindir@
clean:
$(RM) mkbinhmm.o mkbinhmmlist.o
diff -up julius-4.4.2.1/mkgshmm/Makefile.in.DESTDIR julius-4.4.2.1/mkgshmm/Makefile.in
--- julius-4.4.2.1/mkgshmm/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/mkgshmm/Makefile.in 2017-11-07 11:53:46.831785958 -0500
@@ -23,8 +23,8 @@ $(TARGET):
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/mkss/Makefile.in.DESTDIR julius-4.4.2.1/mkss/Makefile.in
--- julius-4.4.2.1/mkss/Makefile.in.DESTDIR 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/mkss/Makefile.in 2017-11-07 11:53:46.832785936 -0500
@@ -36,8 +36,8 @@ $(TARGET): mkss.c $(LIBSENT)/libsent.a $
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
############################################################
diff -up julius-4.4.2.1/adintool/Makefile.in.DESTDIR julius-4.4.2.1/adintool/Makefile.in
--- julius-4.4.2.1/adintool/Makefile.in.DESTDIR 2017-11-07 12:56:50.579801642 -0500
+++ julius-4.4.2.1/adintool/Makefile.in 2017-11-07 12:57:24.699986491 -0500
@@ -46,8 +46,8 @@ adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSEN
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) $(OBJ) $(GUIOBJ)
diff -up julius-4.4.2.1/binlm2arpa/Makefile.in.DESTDIR julius-4.4.2.1/binlm2arpa/Makefile.in
--- julius-4.4.2.1/binlm2arpa/Makefile.in.DESTDIR 2017-11-07 13:09:36.538708271 -0500
+++ julius-4.4.2.1/binlm2arpa/Makefile.in 2017-11-07 13:09:58.698187990 -0500
@@ -30,8 +30,8 @@ $(TARGET): $(OBJ) $(LIBSENT)/libsent.a
install: install.bin
install.bin: $(TARGET)
- ${INSTALL} -d @bindir@
- @INSTALL_PROGRAM@ $(TARGET) @bindir@
+ ${INSTALL} -d ${DESTDIR}@bindir@
+ @INSTALL_PROGRAM@ $(TARGET) ${DESTDIR}@bindir@
clean:
$(RM) $(OBJ)

View File

@ -0,0 +1,12 @@
diff -up julius-4.4.2.1/libsent/src/phmm/calc_dnn.c.cpuidfix julius-4.4.2.1/libsent/src/phmm/calc_dnn.c
--- julius-4.4.2.1/libsent/src/phmm/calc_dnn.c.cpuidfix 2017-11-08 09:47:21.953747290 -0500
+++ julius-4.4.2.1/libsent/src/phmm/calc_dnn.c 2017-11-08 09:50:32.508379963 -0500
@@ -12,7 +12,7 @@
#ifdef _WIN32
#include <intrin.h>
#else
-#if defined(__arm__) || TARGET_OS_IPHONE
+#if defined(__arm__) || defined(__aarch64__) || defined(__s390__) || defined(__powerpc__) || defined(__powerpc64__) || TARGET_OS_IPHONE
#else
#include <cpuid.h>
#endif

View File

@ -0,0 +1,198 @@
diff -up julius-4.4.2.1/adinrec/Makefile.in.shared julius-4.4.2.1/adinrec/Makefile.in
--- julius-4.4.2.1/adinrec/Makefile.in.shared 2017-11-07 12:39:25.800762025 -0500
+++ julius-4.4.2.1/adinrec/Makefile.in 2017-11-07 12:39:25.802761977 -0500
@@ -28,7 +28,7 @@ TARGET=adinrec@EXEEXT@
all: $(TARGET)
-$(TARGET): adinrec.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
+$(TARGET): adinrec.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ adinrec.c $(LDFLAGS)
############################################################
diff -up julius-4.4.2.1/adintool/Makefile.in.shared julius-4.4.2.1/adintool/Makefile.in
--- julius-4.4.2.1/adintool/Makefile.in.shared 2016-12-21 10:16:05.000000000 -0500
+++ julius-4.4.2.1/adintool/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -37,10 +37,10 @@ TARGET=adintool@EXEEXT@ $(GUITARGET)
all: $(TARGET)
-adintool@EXEEXT@: $(OBJ) $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
+adintool@EXEEXT@: $(OBJ) $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
-adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
+adintool-gui@EXEEXT@: $(GUIOBJ) $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) -o $@ $(GUIOBJ) $(LDFLAGS) $(SDL_LDFLAGS)
install: install.bin
diff -up julius-4.4.2.1/binlm2arpa/Makefile.in.shared julius-4.4.2.1/binlm2arpa/Makefile.in
--- julius-4.4.2.1/binlm2arpa/Makefile.in.shared 2017-11-07 12:41:04.097413660 -0500
+++ julius-4.4.2.1/binlm2arpa/Makefile.in 2017-11-07 12:41:19.443047044 -0500
@@ -24,7 +24,7 @@ TARGET=binlm2arpa@EXEEXT@
all: $(TARGET)
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
install: install.bin
diff -up julius-4.4.2.1/generate-ngram/Makefile.in.shared julius-4.4.2.1/generate-ngram/Makefile.in
--- julius-4.4.2.1/generate-ngram/Makefile.in.shared 2017-11-07 12:39:25.800762025 -0500
+++ julius-4.4.2.1/generate-ngram/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -27,7 +27,7 @@ TARGET=generate-ngram@EXEEXT@
all: $(TARGET)
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
install: install.bin
diff -up julius-4.4.2.1/julius/Makefile.in.shared julius-4.4.2.1/julius/Makefile.in
--- julius-4.4.2.1/julius/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
+++ julius-4.4.2.1/julius/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -53,7 +53,7 @@ record.o \
all: $(TARGET)
-$(TARGET): $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a $(OBJ)
+$(TARGET): $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0 $(OBJ)
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(GTK_LIBS)
############################################################
diff -up julius-4.4.2.1/libjulius/Makefile.in.shared julius-4.4.2.1/libjulius/Makefile.in
--- julius-4.4.2.1/libjulius/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
+++ julius-4.4.2.1/libjulius/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -16,8 +16,8 @@ SHELL=/bin/sh
LIBSENT=../libsent
CC=@CC@
-CFLAGS=@CFLAGS@
-CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ `$(LIBSENT)/libsent-config --cflags`
+CFLAGS=@CFLAGS@ -fPIC
+CPPFLAGS=-Iinclude -I$(LIBSENT)/include @CPPFLAGS@ -fPIC `$(LIBSENT)/libsent-config --cflags`
LDFLAGS=@LDFLAGS@ @LIBS@ -L$(LIBSENT) `$(LIBSENT)/libsent-config --libs`
RM=@RM@ -f
AR=@AR@ r
@@ -37,7 +37,9 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@
############################################################
PKGCONF_FILE = julius-@JULIUS_MAJOR_VERSION@.pc
-TARGET = libjulius.a
+BASESHAREDLIB=libjulius.so
+SHAREDLIB=$(BASESHAREDLIB).0
+TARGET=$(SHAREDLIB).0.0
OBJ = \
src/recogmain.o \
@@ -85,8 +87,11 @@ src/version.o
all: $(TARGET)
$(TARGET): $(OBJ)
- $(AR) $@ $?
- $(RANLIB) $@
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
+ ln -s $(TARGET) $(SHAREDLIB)
+ ln -s $(TARGET) $(BASESHAREDLIB)
+ # $(AR) $@ $?
+ # $(RANLIB) $@
############################################################
@@ -96,6 +101,8 @@ install.lib: $(TARGET)
${INSTALL} -d ${DESTDIR}${libdir}
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
install.include:
${INSTALL} -d ${DESTDIR}${includedir}/julius
diff -up julius-4.4.2.1/libsent/Makefile.in.shared julius-4.4.2.1/libsent/Makefile.in
--- julius-4.4.2.1/libsent/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
+++ julius-4.4.2.1/libsent/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -12,14 +12,16 @@ SHELL=/bin/sh
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
CC=@CC@
-CFLAGS=@CFLAGS@
-CPPFLAGS=-Iinclude @CPPFLAGS@ @SOUNDINC@ @DEFS@
+CFLAGS=@CFLAGS@ -fPIC
+CPPFLAGS=-Iinclude @CPPFLAGS@ -fPIC @SOUNDINC@ @DEFS@
# LDFLAGS=@LDFLAGS@ @LIBS@
RM=@RM@ -f
AR=@AR@ r
RANLIB=@RANLIB@
PKGCONF_FILE = sent-@LIBSENT_MAJOR_VERSION@.pc
-TARGET=libsent.a
+BASESHAREDLIB=libsent.so
+SHAREDLIB=$(BASESHAREDLIB).0
+TARGET=$(SHAREDLIB).0.0
## install
prefix=@prefix@
@@ -144,8 +146,11 @@ src/wav2mfcc/para.o \
all: $(TARGET)
$(TARGET): $(OBJ)
- $(AR) $@ $?
- $(RANLIB) $@
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHAREDLIB) -o $@ $?
+ ln -s $(TARGET) $(SHAREDLIB)
+ ln -s $(TARGET) $(BASESHAREDLIB)
+ # $(AR) $@ $?
+ # $(RANLIB) $@
src/phmm/calc_dnn_fma.o: src/phmm/calc_dnn_fma.c
$(CC) $(CFLAGS) $(CPPFLAGS) @SIMD_FMA_CFLAGS@ -o $@ -c $<
@@ -171,6 +176,8 @@ install.lib: $(TARGET)
${INSTALL} -d ${DESTDIR}${libdir}
${INSTALL_DATA} $(TARGET) ${DESTDIR}${libdir}
${INSTALL_DATA} $(PKGCONF_FILE) ${DESTDIR}${pkgconfigdir}
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(SHAREDLIB)
+ ln -s $(TARGET) ${DESTDIR}${libdir}/$(BASESHAREDLIB)
install.include:
${INSTALL} -d ${DESTDIR}${includedir}/sent
diff -up julius-4.4.2.1/mkbingram/Makefile.in.shared julius-4.4.2.1/mkbingram/Makefile.in
--- julius-4.4.2.1/mkbingram/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
+++ julius-4.4.2.1/mkbingram/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -24,7 +24,7 @@ TARGET=mkbingram@EXEEXT@
all: $(TARGET)
-$(TARGET): $(OBJ) $(LIBSENT)/libsent.a
+$(TARGET): $(OBJ) $(LIBSENT)/libsent.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(OBJ) $(LDFLAGS)
install: install.bin
diff -up julius-4.4.2.1/mkbinhmm/Makefile.in.shared julius-4.4.2.1/mkbinhmm/Makefile.in
--- julius-4.4.2.1/mkbinhmm/Makefile.in.shared 2017-11-07 12:39:25.801762001 -0500
+++ julius-4.4.2.1/mkbinhmm/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -23,10 +23,10 @@ INSTALL=@INSTALL@
all: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@
-mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.a
+mkbinhmm@EXEEXT@: mkbinhmm.o $(LIBSENT)/libsent.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmm.o $(LDFLAGS)
-mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.a
+mkbinhmmlist@EXEEXT@: mkbinhmmlist.o $(LIBSENT)/libsent.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkbinhmmlist.o $(LDFLAGS)
install: install.bin
diff -up julius-4.4.2.1/mkss/Makefile.in.shared julius-4.4.2.1/mkss/Makefile.in
--- julius-4.4.2.1/mkss/Makefile.in.shared 2017-11-07 12:39:25.802761977 -0500
+++ julius-4.4.2.1/mkss/Makefile.in 2017-11-07 12:39:25.803761953 -0500
@@ -28,7 +28,7 @@ TARGET=mkss@EXEEXT@
all: $(TARGET)
-$(TARGET): mkss.c $(LIBSENT)/libsent.a $(LIBJULIUS)/libjulius.a
+$(TARGET): mkss.c $(LIBSENT)/libsent.so.0.0.0 $(LIBJULIUS)/libjulius.so.0.0.0
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ mkss.c $(LDFLAGS)
############################################################

View File

@ -1,15 +1,29 @@
%global dkcommit bf4f024
Name: julius
Version: 4.2.2
Release: 7%{?dist}
Version: 4.4.2.1
Release: 4%{?dist}
Summary: Large vocabulary continuous speech recognition (LVCSR) decoder software
License: Julius
URL: http://julius.sourceforge.jp/
Source0: http://dl.sourceforge.jp/julius/56549/%{name}-%{version}.tar.gz
Source1: http://julius.sourceforge.jp/archive/japanese-models.tar.gz
Patch0: julius-4.2.2-DESTDIR.patch
Patch1: julius-4.2.2-sharedlibs.patch
URL: https://github.com/julius-speech/julius
Source0: https://github.com/julius-speech/julius/archive/v%{version}.tar.gz
# Source1: http://julius.sourceforge.jp/archive/japanese-models.tar.gz
# Need to generate from git
# BE SURE YOU HAVE git-lfs installed before doing a clone
# git checkout https://github.com/julius-speech/dictation-kit.git
# cd dictation-kit
# rm -rf bin src
# cd ..
# tar --exclude-vcs -cJf dictation-kit-%%{dkcommit}.tar.xz dictation-kit
Source1: dictation-kit-%{dkcommit}.tar.xz
Patch0: julius-4.4.2.1-DESTDIR.patch
Patch1: julius-4.4.2.1-sharedlibs.patch
Patch2: julius-4.4.2.1-cpuidfix.patch
BuildRequires: perl-generators
BuildRequires: perl(Jcode), alsa-lib-devel, libsndfile-devel, pulseaudio-libs-devel, zlib-devel, readline-devel
BuildRequires: SDL2-devel
BuildRequires: bison, flex, nkf
BuildRequires: autoconf, automake, libtool
# Requires:
%description
@ -44,40 +58,53 @@ A Japanese language model (20k-word trained by newspaper article) and acoustic
models (Phonetic tied-mixture triphone / monophone) for use with Julius.
%prep
%setup -q
%setup -q -a 1
%patch0 -p1 -b .DESTDIR
%patch1 -p1 -b .shared
%patch2 -p1 -b .cpuidfix
# Fix end-of-line encoding
sed -i 's/\r//' Release.txt
tar xvf %{SOURCE1}
autoreconf -ifv || :
%build
%configure
make %{?_smp_mflags}
# this fails
# make %{?_smp_mflags}
make
%install
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
make install DESTDIR=%{buildroot}
chmod +x %{buildroot}%{_libdir}/*.so.*
mkdir -p %{buildroot}%{_datadir}/julius/
cp -a Sample.jconf %{buildroot}%{_datadir}/julius/
cp -a japanese-models/ %{buildroot}%{_datadir}/julius/
pushd dictation-kit
cp *conf %{buildroot}%{_datadir}/julius/
cp -a model/ %{buildroot}%{_datadir}/julius/
popd
# rename to avoid conflict with Oracle Java
mv %{buildroot}%{_bindir}/jcontrol %{buildroot}%{_bindir}/julius-jcontrol
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc ChangeLog LICENSE.txt Release.txt Release-ja.txt
%doc ChangeLog Release.txt Release-ja.txt
%license LICENSE.txt
%{_bindir}/accept_check
%{_bindir}/adinrec
%{_bindir}/adintool
%{_bindir}/adintool-gui
%{_bindir}/binlm2arpa
%{_bindir}/dfa_determinize
%{_bindir}/dfa_minimize
%{_bindir}/generate
%{_bindir}/generate-ngram
%{_bindir}/gram2sapixml.pl
%{_bindir}/jclient.pl
%{_bindir}/jcontrol
%{_bindir}/julius-jcontrol
%{_bindir}/julius
%{_bindir}/mkbingram
%{_bindir}/mkbinhmm
@ -93,7 +120,7 @@ cp -a japanese-models/ %{buildroot}%{_datadir}/julius/
%lang(ja) %{_mandir}/ja/man1/*
%{_mandir}/man1/*
%dir %{_datadir}/julius/
%{_datadir}/julius/Sample.jconf
%{_datadir}/julius/*conf
%files devel
%{_bindir}/libjulius-config
@ -102,11 +129,43 @@ cp -a japanese-models/ %{buildroot}%{_datadir}/julius/
%{_includedir}/sent/
%{_libdir}/libjulius.so
%{_libdir}/libsent.so
%{_libdir}/pkgconfig/*.pc
%files japanese-models
%{_datadir}/julius/japanese-models/
%{_datadir}/julius/model/
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Nov 8 2017 Tom Callaway <spot@fedoraproject.org> - 4.4.2.1-2
- fix cpuid.h conditionalization to be more complete
* Tue Nov 7 2017 Tom Callaway <spot@fedoraproject.org> - 4.4.2.1-1
- update to 4.4.2.1
- rename jcontrol to julius-jcontrol to avoid conflict with oracle java
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.2.2-10
- Rebuild for readline 7.x
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Sep 3 2014 Tom Callaway <spot@fedoraproject.org> - 4.2.2-7
- fix DESTDIR patch so that mkfa and mkdfa.pl get installed

View File

@ -1,2 +1,2 @@
7b72003bdf0012b06cbf226c29058351 julius-4.2.2.tar.gz
da98652f69c49e2a1ae666343c099823 japanese-models.tar.gz
SHA512 (v4.4.2.1.tar.gz) = 5057a9043db3315136e56e383e3b48db0085f0cde16ebaef07aa5b1e922bd202107a5fa3bf6b391aa28cb7b9328ffe3c506b13fd0a115783a2e52c3e2eb93c61
SHA512 (dictation-kit-bf4f024.tar.xz) = d072aa55e988481785a551de95de3ff5ae4b336b5c5d097da56729ddeaa7ecee612018acb1854fcb7b6ff93d6d0c00813799bc37d15d879e5843252bb0ab3292