14
0
forked from pool/python-polib

Accepting request 103935 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2012-02-17 11:08:56 +00:00
committed by Git OBS Bridge
parent dbd71209a1
commit 3802b8f9ea
2 changed files with 13 additions and 26 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 31 10:59:13 UTC 2012 - saschpe@suse.de
- Resolved spec file conflict
- Remove obsolete SUSE version check (for 10.1)
-------------------------------------------------------------------
Tue Aug 16 07:46:58 UTC 2011 - saschpe@suse.de
@@ -27,12 +33,3 @@ Sat Aug 13 11:58:29 CEST 2011 - hpj@urpla.net
Mon Sep 20 15:15:09 UTC 2010 - fcrozat@novell.com
- Release 0.5.3
* Mon Feb 04 2008 - nagappan@gmail.com
- polib 0.3.1
* Thu Nov 08 2007 - nagappan@gmail.com
- Updated URL
* Wed Nov 07 2007 - nagappan@gmail.com
- polib 0.3.0
* Mon Jul 02 2007 - anagappan@novell.com
- polib 0.1.0

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-polib
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -16,29 +16,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-polib
Version: 0.7.0
Release: 3
Release: 0
Url: http://bitbucket.org/izi/polib/
Summary: A library to manipulate gettext files
License: MIT
Group: Productivity/Other
Source: polib-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-Sphinx
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1010
BuildRequires: fdupes
%endif
%if 0%{?suse_version} > 1110
BuildRequires: python-Sphinx
BuildRequires: python-devel
%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
polib allows you to manipulate, create, modify gettext catalogs (.pot, .po and
@@ -51,8 +45,6 @@ functions 'pofile' and 'mofile', and the 4 core classes: POFile, MOFile,
POEntry and MOEntry for creating new files/entries.
%package doc
Summary: A library to manipulate gettext files
Group: Productivity/Other
Requires: %{name} = %{version}
@@ -79,9 +71,7 @@ popd
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version} > 1010
%fdupes -s %{buildroot}/%{_prefix}
%endif
%files
%defattr(-,root,root)