Hello community,

here is the log from the commit of package liblouis for openSUSE:Factory 
checked in at 2013-01-17 09:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liblouis (Old)
 and      /work/SRC/openSUSE:Factory/.liblouis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liblouis", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/liblouis/liblouis.changes        2013-01-07 
15:31:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.liblouis.new/liblouis.changes   2013-01-17 
09:45:41.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan 12 14:22:44 UTC 2013 - [email protected]
+
+- Add python3-louis target.
+
+-------------------------------------------------------------------
python-louis.changes: same change
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.liblouis.new/python3-louis.changes      
2013-01-17 09:45:41.000000000 +0100
@@ -0,0 +1,230 @@
+-------------------------------------------------------------------
+Sat Jan 12 14:22:44 UTC 2013 - [email protected]
+
+- Add python3-louis target.
+
+-------------------------------------------------------------------
+Sun Dec 23 09:27:13 UTC 2012 - [email protected]
+
+- Update to version 2.5.2:
+  + New features:
+    - New tool to trace rule application (lou_trace).
+    - New Braille tables
+      . Inuktitut grade 1.
+      . UEB grade 1 and 2.
+      . Korean table.
+    - Braille Table Improvements
+    - da-gk-g2.ctb, fixes for transposed â, å, æ, ä, ø  and ö,
+      corrected/improved harness tests.
+    - Corrections for en-GB-g2.ctb.
+    - Corrections to the Hungarian grade 1 table.
+  + Bug Fixes:
+    - Update gnulib.
+    - Fix a bug in the correct opcode which causes sometimes random
+      results when translating.
+    - Fixes for compiler warnings.
+    - Fix some Valgrind warnings about invalid reads.
+
+-------------------------------------------------------------------
+Tue Sep 25 06:46:24 UTC 2012 - [email protected]
+
+- Update to version 2.5.1:
+  + Braille Table Improvements
+    - Fix encoding problem in italian table and added more
+      character definitions.
+    - Rename it-it-g1.utb to it-it-comp6.utb and it-it-g1.utb2 to
+      it-it-comp8.utb.
+  + Bug fixes:
+    - Fix outputPos and inlen where an input character generates
+      multiple output characters.
+
+-------------------------------------------------------------------
+Mon Sep 17 09:40:42 UTC 2012 - [email protected]
+
+- Update to version 2.5.0:
+  + New features:
+    - New Braille tables
+      . Estonian grade 0
+      . Portuguese 8 dot Computer braille
+    - UTF-8 support in tables
+    - Improvements to the python bindings
+    - Add a doctest infrastructure
+    - Support for Python 3 in the Python bindings
+  + Improved C-based test framework
+  + Improved documentation
+  + Braille table improvements
+  + Bug fixes
+- Remove checks for outdated openSUSE versions (<= 11.2).
+
+-------------------------------------------------------------------
+Mon Sep 10 15:49:14 UTC 2012 - [email protected]
+
+- Create a tools and a doc subpackages to contain the tools and
+  documentation shipped by liblouis, instead of having a liblouis
+  subpackage, since that's confusing (because what people are
+  usually interested is the liblouis2 subpackage).
+- Ship COPYING.LIB in liblouis2 subpackage and COPYING in the tools
+  subpackage since everything is LGPL-3.0+, except the tools that
+  are GPL-3.0+. That fixes bnc#779253.
+- Since we don't have a liblouis subpackage anymore, add Provides
+  and Obsoletes for it to liblouis2 for smooth upgrades.
+
+-------------------------------------------------------------------
+Fri Feb 24 07:49:42 UTC 2012 - [email protected]
+
+- Update to version 2.4.1:
+  + New features:
+    - Czech hyphenation table
+    - Spanish grade 1 table
+    - New tamil table
+  + Braille Table Improvements: Icelandic 8-dot, Norwegian,
+    Portuguese grade1, uncontracted Spanish.
+- Changes from version 2.4.0:
+  + New features:
+    - New Generic Farsi Grade 1 table
+    - Emacs mode for editing Braille tables
+  + Braille Table Improvements: Czech, French comp6 and comp8,
+    Generic Arabic Grade 1, Romanian.
+
+-------------------------------------------------------------------
+Sun May 22 21:22:40 CEST 2011 - [email protected]
+
+- Update to version 2.3.0:
+  + New features:
+    - Multiple table search path (with LOUIS_TABLEPATH environment
+      variable)
+    - New --quiet option for lou_checktable
+    - New functions to make libraries relocatable
+    - New Braille tables: Swedish, Sorani (Kurdish), Ethiopic,
+      Serbian, many Indian languages , Icelandic 6- and 8-dot,
+      Catalan, Dutch Braille (for Belgium and the Netherlands),
+      Flemish Braille Math Code (a.k.a. Woluwe code).
+  + Braille Table Improvements: Chinse, Spanish Braille, French 6
+    and 8 dot, Italian 8 dot, Generic Arabic Grade 1, Spanish,
+    Norwegian.
+  + Bug fixes:
+    - Fixed a long standing bug with an infinite loop in the table
+      compiler
+  + Improved documentation
+- Add pkg-config BuildRequires to get proper pkgconfig() provides.
+
+-------------------------------------------------------------------
+Sat Aug 28 09:39:35 CEST 2010 - [email protected]
+
+- Update to version 2.1.1:
+  + Bug fixes:
+    - Fixed problems with the Danish grade 2 table
+    - Fixed problems with the Marburg maths table for mathematics
+      and the UK maths table for mathematics
+- Changes from version 2.1.0:
+  + New features:
+    - New tables:
+      . Added tables for Portuguese grade 1 and 2
+      . Added unicode.dis for Unicode braille
+    - Modified tables: Updated Danish tables
+    - Implemented language to table mapping
+    - New format of error messages: the error messages are now
+      reported in a format similar to the one used in gcc.
+    - New opcode: added undefined opcode
+    - Python bindings:
+      . Allow the user to configure the maximum output length by
+        specifying a number by which the input length is multiplied
+        using the outlenMultiplier module variable.
+      . Add compbrlLeftCursor mode constant.
+      . Add compileString function which wraps lou_compileString.
+      . Corrections/clarifications to docstrings.
+      . Add python binding for the lou_hyphenate function.
+      . Added python wrapper for lou_backTranslateString and
+        lou_backTranslate.
+    - Add liblouisxslt as an example to python/examples.
+    - Add compbrlLeftCursor.
+  + Bug fixes:
+    - Fix the output cursorPos when the compbrlAtCursor mode is
+      enabled and the characters around the cursor translate to
+      multiple braille cells, such as in the Chinese braille
+      tables.
+    - Fix outpos when doing back translation
+    - Fix the input/output position arrays for characters in the
+      input which are undefined in the translation table.
+    - Table fixes:
+      . Fixed a bug with back translation of '*n'.
+      . Fixes to the en-us-g2.ctb table
+    - Python bindings:
+      . Remove unnecessary imports, allowing the bindings to run in
+        Python 2.7.
+      . lou_translate* writes output information in typeform, so
+        allocate enough bytes for it. Fixes possible buffer
+        overruns and resultant crashes.
+    - Miscellaneous:
+      . Fixes to the man page generation to fix issues
+      . Do not invoke help2man when cross-compiling
+      . Documentation updates (issue 10)
+      . Removing noletsign defaults
+      . Many small fixes
+- Changes from version 2.0.0:
+  + New function: Adding lou_charSize function
+- Changes from version 1.9.0:
+  + New functions:
+    - lou_dotsToChar and lou_charToDots function
+    - Added lou_compileString for adding entries to tables at
+      run-time.
+
+-------------------------------------------------------------------
+Thu Dec  3 00:23:05 CET 2009 - [email protected]
+
+- Update to version 1.8.0:
+  + This release contains a number of improvements notably the
+    integrationof gnulib, the automatic generation of man pages and
+    the addition of tables for German grade 2.
+  + New features
+    - New tables
+      . Tables German Grade 2
+      . Swiss German
+    - Modified tables
+      . Updated Norwegian tables
+    - man pages
+      . All tools accept the --version and --help options and are
+        documented in man pages
+    - Corpus based test cases for tables
+  + Bug fixes
+    - Many small fixes
+- Rename liblouis0 subpackage to liblouis2, because of soname bump.
+
+-------------------------------------------------------------------
+Fri Aug 28 16:42:51 CEST 2009 - [email protected]
+
+- Fix python-louis build: with the new upstream release, we now
+  need to build the library before building the python bindings.
++++ 33 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.liblouis.new/python3-louis.changes

New:
----
  python3-louis.changes
  python3-louis.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liblouis.spec ++++++
--- /var/tmp/diff_new_pack.5iUpLn/_old  2013-01-17 09:45:42.000000000 +0100
+++ /var/tmp/diff_new_pack.5iUpLn/_new  2013-01-17 09:45:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package liblouis
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,15 @@
 
 
 %define         build_core_not_python 1
+%define         build_py3 0
+
+%if %build_py3
+%define py_suffix 3
+%define __python python3
+%define py_requires %{nil}
+%else
+%define py_suffix %{nil}
+%endif
 
 Name:           liblouis
 %define _name   liblouis
@@ -32,7 +41,7 @@
 PreReq:         %install_info_prereq
 %else
 BuildRequires:  liblouis-devel
-BuildRequires:  python
+BuildRequires:  python%{py_suffix}
 Requires:       liblouis2 = %{version}
 %py_requires
 %endif

++++++ python-louis.spec ++++++
--- /var/tmp/diff_new_pack.5iUpLn/_old  2013-01-17 09:45:42.000000000 +0100
+++ /var/tmp/diff_new_pack.5iUpLn/_new  2013-01-17 09:45:42.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-louis
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,15 @@
 
 
 %define         build_core_not_python 0
+%define         build_py3 0
+
+%if %build_py3
+%define py_suffix 3
+%define __python python3
+%define py_requires %{nil}
+%else
+%define py_suffix %{nil}
+%endif
 
 Name:           python-louis
 %define _name   liblouis
@@ -32,7 +41,7 @@
 PreReq:         %install_info_prereq
 %else
 BuildRequires:  liblouis-devel
-BuildRequires:  python
+BuildRequires:  python%{py_suffix}
 Requires:       liblouis2 = %{version}
 %py_requires
 %endif

++++++ python3-louis.spec ++++++
#
# spec file for package python3-louis
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define         build_core_not_python 0
%define         build_py3 1

%if %build_py3
%define py_suffix 3
%define __python python3
%define py_requires %{nil}
%else
%define py_suffix %{nil}
%endif

Name:           python3-louis
%define _name   liblouis
Version:        2.5.2
Release:        0
Summary:        Braille Translator and Back-Translator - Python Bindings
License:        LGPL-3.0+
Group:          Development/Languages/Python
Url:            http://code.google.com/p/liblouis/
Source0:        http://liblouis.googlecode.com/files/%{_name}-%{version}.tar.gz
%if %build_core_not_python
BuildRequires:  pkg-config
PreReq:         %install_info_prereq
%else
BuildRequires:  liblouis-devel
BuildRequires:  python%{py_suffix}
Requires:       liblouis2 = %{version}
%py_requires
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Liblouis is an open-source braille translator and back-translator.
It features support for computer and literary braille, supports
contracted and uncontracted translation for many, many languages
and has support for hyphenation. New languages can easily be added
through tables that support a rule- or dictionary based approach.

Liblouis also supports math braille (Nemeth and Marburg). The
formatting of braille is provided by the companion project
liblouisxml.

Liblouis is based on the translation routines in the BRLTTY
screenreader for Linux. It has, however, gone far beyond these
routines. It is named in honor of Louis Braille.

Included are also tools for testing and debugging tables.

%if %build_core_not_python

%package -n liblouis2
Summary:        Braille Translator and Back-Translator - Python Bindings
License:        LGPL-3.0+
Group:          Development/Languages/Python
# We used to have a package named liblouis, until 2.4.1.
Provides:       %{name} = %{version}
Obsoletes:      %{name} < %{version}

%description -n liblouis2
Liblouis is an open-source braille translator and back-translator.
It features support for computer and literary braille, supports
contracted and uncontracted translation for many, many languages
and has support for hyphenation. New languages can easily be added
through tables that support a rule- or dictionary based approach.

Liblouis also supports math braille (Nemeth and Marburg). The
formatting of braille is provided by the companion project
liblouisxml.

Liblouis is based on the translation routines in the BRLTTY
screenreader for Linux. It has, however, gone far beyond these
routines. It is named in honor of Louis Braille.

%package tools
Summary:        Braille Translator and Back-Translator - Tools - Python Bindings
License:        GPL-3.0+
Group:          Development/Languages/Python

%description tools
Liblouis is an open-source braille translator and back-translator.
It features support for computer and literary braille, supports
contracted and uncontracted translation for many, many languages
and has support for hyphenation. New languages can easily be added
through tables that support a rule- or dictionary based approach.

Liblouis also supports math braille (Nemeth and Marburg). The
formatting of braille is provided by the companion project
liblouisxml.

Liblouis is based on the translation routines in the BRLTTY
screenreader for Linux. It has, however, gone far beyond these
routines. It is named in honor of Louis Braille.

%package doc
Summary:        Braille Translator and Back-Translator - Documentation - Python 
Bindings
License:        LGPL-3.0+
Group:          Development/Languages/Python

%description doc
Liblouis is an open-source braille translator and back-translator.
It features support for computer and literary braille, supports
contracted and uncontracted translation for many, many languages
and has support for hyphenation. New languages can easily be added
through tables that support a rule- or dictionary based approach.

Liblouis also supports math braille (Nemeth and Marburg). The
formatting of braille is provided by the companion project
liblouisxml.

Liblouis is based on the translation routines in the BRLTTY
screenreader for Linux. It has, however, gone far beyond these
routines. It is named in honor of Louis Braille.

%package devel
Summary:        Braille Translator and Back-Translator - Development Files - 
Python Bindings
License:        LGPL-3.0+
Group:          Development/Languages/Python
Requires:       liblouis2 = %{version}

%description devel
Liblouis is an open-source braille translator and back-translator.
It features support for computer and literary braille, supports
contracted and uncontracted translation for many, many languages
and has support for hyphenation. New languages can easily be added
through tables that support a rule- or dictionary based approach.

Liblouis also supports math braille (Nemeth and Marburg). The
formatting of braille is provided by the companion project
liblouisxml.

Liblouis is based on the translation routines in the BRLTTY
screenreader for Linux. It has, however, gone far beyond these
routines. It is named in honor of Louis Braille.

%endif

%prep
%setup -q -n %{_name}-%{version}

%build
%configure --disable-static
%__make %{?jobs:-j%jobs}
%if !%build_core_not_python
pushd python
%{__python} setup.py build
popd
%endif

%install
%if %build_core_not_python
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
# We'll package them as rpm docs
%{__rm} -f %{buildroot}%{_datadir}/doc/liblouis/liblouis.{html,txt}
%else
pushd python
%{__python} setup.py install --skip-build --root="%{buildroot}" 
--prefix="%{_prefix}"
popd
%endif

%clean
%{__rm} -rf %{buildroot}
%if %build_core_not_python

%post doc
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun doc
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%post -n liblouis2 -p /sbin/ldconfig

%postun -n liblouis2 -p /sbin/ldconfig

%files -n liblouis2
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING.LIB NEWS README
%{_datadir}/liblouis/
%{_libdir}/*.so.*

%files tools
%defattr(-, root, root)
%doc COPYING
%{_bindir}/lou_*

%files doc
%defattr(-, root, root)
%doc doc/liblouis.html doc/liblouis.txt
%{_infodir}/%{name}.info.gz

%files devel
%defattr(-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/liblouis
%else

%files
%defattr(-, root, root)
%{python_sitelib}/louis*.egg-info
%{python_sitelib}/louis
%endif

%changelog
++++++ pre_checkin.sh ++++++
--- /var/tmp/diff_new_pack.5iUpLn/_old  2013-01-17 09:45:42.000000000 +0100
+++ /var/tmp/diff_new_pack.5iUpLn/_new  2013-01-17 09:45:42.000000000 +0100
@@ -2,4 +2,7 @@
 
 cp liblouis.spec python-louis.spec
 sed -i "s/\(%define *build_core_not_python *\)1/\10/;s/\(Name: 
*\)liblouis/\1python-louis/;s/\(Summary:.*\)/\1 - Python Bindings/;s/\(Group: 
*\).*/\1Development\/Languages\/Python/" python-louis.spec
+cp python-louis.spec python3-louis.spec
+sed -i "s/\(%define *build_py3 *\)0/\11/;s/python-louis/python3-louis/" 
python3-louis.spec
 cp liblouis.changes python-louis.changes
+cp liblouis.changes python3-louis.changes

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to