15
0

- Simplify macro usage

- Remove reStructuredText from %description

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translationstring?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2013-07-29 07:47:54 +00:00
committed by Git OBS Bridge
parent 6276fbddb0
commit 66ecb15f45
2 changed files with 15 additions and 14 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 29 07:50:51 UTC 2013 - speilicke@suse.com
- Simplify macro usage
- Remove reStructuredText from %description
-------------------------------------------------------------------
Sun Jul 28 20:59:22 UTC 2013 - hpj@urpla.net

View File

@@ -27,28 +27,23 @@ Source: translationstring-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-pylons_sphinx_theme
BuildRequires: python-setuptools
# Documentation requirements:
BuildRequires: python-Sphinx
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
A library used by various `Pylons Project <http://pylonsproject.org>`_ packages
for internationalization (i18n) duties related to translation.
A library used by various Pylons Project packages for internationalization
(i18n) duties related to translation.
This package provides a translation string class, a translation string factory
class, translation and pluralization primitives, and a utility that helps
`Chameleon <http://chameleon.repoze.org>`_ templates use translation facilities
of this package. It does not depend on `Babel <http://babel.edgewall.org>`_,
but its translation and pluralization services are meant to work best when
provided with an instance of the babel.support.Translations class.
Please see http://docs.pylonsproject.org/projects/translationstring/dev/ or
the docs/index.rst file in this package for the documentation.
Chameleon templates use translation facilities of this package. It does not
depend on Babel, but its translation and pluralization services are meant to
work best when provided with an instance of the babel.support.Translations class.
%package doc
Summary: Utility library for i18n relied on by various Repoze and Pyramid packages