commit tttool for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package tttool for openSUSE:Factory checked 
in at 2017-09-15 22:30:35

Comparing /work/SRC/openSUSE:Factory/tttool (Old)
 and  /work/SRC/openSUSE:Factory/.tttool.new (New)


Package is "tttool"

Fri Sep 15 22:30:35 2017 rev:3 rq:525809 version:1.7.0.3

Changes:

--- /work/SRC/openSUSE:Factory/tttool/tttool.changes2017-06-21 
13:57:05.232254071 +0200
+++ /work/SRC/openSUSE:Factory/.tttool.new/tttool.changes   2017-09-15 
22:30:36.925347177 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ tttool.spec ++
--- /var/tmp/diff_new_pack.XtfWKh/_old  2017-09-15 22:30:37.841218162 +0200
+++ /var/tmp/diff_new_pack.XtfWKh/_new  2017-09-15 22:30:37.845217599 +0200
@@ -21,8 +21,8 @@
 Release:0
 Summary:Working with files for the Tiptoi® pen
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{name}
 Source0:
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-HPDF-devel
@@ -50,7 +50,6 @@
 BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-yaml-devel
 BuildRequires:  ghc-zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The Ravensburger Tiptoi pen is programmed via special files. Their file format
@@ -66,7 +65,6 @@
 %ghc_bin_install
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %doc README.md
 %{_bindir}/%{name}




commit tttool for openSUSE:Factory

2017-06-21 Thread root
Hello community,

here is the log from the commit of package tttool for openSUSE:Factory checked 
in at 2017-06-21 13:57:04

Comparing /work/SRC/openSUSE:Factory/tttool (Old)
 and  /work/SRC/openSUSE:Factory/.tttool.new (New)


Package is "tttool"

Wed Jun 21 13:57:04 2017 rev:2 rq:504690 version:1.7.0.3

Changes:

--- /work/SRC/openSUSE:Factory/tttool/tttool.changes2017-05-09 
18:15:04.179828910 +0200
+++ /work/SRC/openSUSE:Factory/.tttool.new/tttool.changes   2017-06-21 
13:57:05.232254071 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:41 UTC 2017 - psim...@suse.com
+
+- Update to version 1.7.0.3.
+
+---

Old:

  tttool-1.7.0.2.tar.gz

New:

  tttool-1.7.0.3.tar.gz



Other differences:
--
++ tttool.spec ++
--- /var/tmp/diff_new_pack.nLHBr5/_old  2017-06-21 13:57:06.036140676 +0200
+++ /var/tmp/diff_new_pack.nLHBr5/_new  2017-06-21 13:57:06.044139548 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   tttool
-Version:1.7.0.2
+Version:1.7.0.3
 Release:0
 Summary:Working with files for the Tiptoi® pen
 License:MIT
@@ -53,7 +53,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-The Ravensburger Tiptoi® pen is programmed via special files. Their file format
+The Ravensburger Tiptoi pen is programmed via special files. Their file format
 has been reverse engineered; this is a tool to analyse and create such files.
 
 %prep

++ tttool-1.7.0.2.tar.gz -> tttool-1.7.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tttool-1.7.0.2/src/TextToSpeech.hs 
new/tttool-1.7.0.3/src/TextToSpeech.hs
--- old/tttool-1.7.0.2/src/TextToSpeech.hs  2017-04-17 00:08:07.0 
+0200
+++ new/tttool-1.7.0.3/src/TextToSpeech.hs  2017-06-09 22:02:03.0 
+0200
@@ -51,12 +51,22 @@
 l = case lang of
 Language s-> s
 
+say :: Language -> FilePath -> String -> (String, [String])
+say lang tmp txt =
+   ("say", ["-o", tmp, "--data-format=LEF32@8000", "-v", l, txt])
+  where
+   l = case lang of
+   Language "en" -> "Alex"
+   Language "de" -> "Anna"
+   Language "fr" -> "Thomas"
+   Language s-> error $ "No voice for language \"" ++ s ++ "\" 
known."
 
 engines :: FilePath -> Language -> FilePath -> String -> [(String, [String])]
 engines myDir l ft txt =
 [ pico l ft txt
 , espeak l ft txt
 , espeak_contrib myDir l ft txt
+, say l ft txt
 ]
 
 oggenc :: FilePath -> FilePath -> (String, [String])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tttool-1.7.0.2/tttool.cabal 
new/tttool-1.7.0.3/tttool.cabal
--- old/tttool-1.7.0.2/tttool.cabal 2017-04-17 00:08:07.0 +0200
+++ new/tttool-1.7.0.3/tttool.cabal 2017-06-09 22:02:03.0 +0200
@@ -1,5 +1,5 @@
 name:tttool
-version: 1.7.0.2
+version: 1.7.0.3
 synopsis:Working with files for the Tiptoi® pen
 description: The Ravensburger Tiptoi® pen is programmed via special
  files. Their file format has been reverse engineered; this
@@ -10,7 +10,7 @@
 license-file:LICENSE
 author:  Joachim Breitner
 maintainer:  m...@joachim-breitner.de
-copyright:   2013-2015 Joachim Breitner
+copyright:   2013-2017 Joachim Breitner
 build-type:  Simple
 extra-source-files:  README.md
 cabal-version:   >=1.10
@@ -71,7 +71,7 @@
 yaml== 0.8.*,
 HPDF>= 1.4.10   && < 1.5,
 split   == 0.2.*,
-optparse-applicative == 0.13.*,
+optparse-applicative >= 0.13 && < 0.15,
 spool   == 0.1.*,
 zlib>= 0.5  && < 0.7,
 natural-sort >= 0.1 && < 0.2