15
0
forked from pool/python-apsw

Accepting request 197257 from home:jnweiger:branches:devel:languages:python

- osc service localrun format_spec_file
  to add comments and such.
- sr#197112 just failed because of this.
  Sigh.

OBS-URL: https://build.opensuse.org/request/show/197257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=4
This commit is contained in:
Sascha Peilicke
2013-09-03 10:59:03 +00:00
committed by Git OBS Bridge
parent 2f31abbb65
commit b323dd2157
2 changed files with 40 additions and 9 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 3 10:31:58 UTC 2013 - jw@suse.com
- osc service localrun format_spec_file
to add comments and such.
-------------------------------------------------------------------
Mon Dec 12 19:35:39 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,43 +1,70 @@
# vim: set sw=4 ts=4 et nu:
#
# spec file for package python-apsw
#
# 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/
#
Name: python-apsw
%if 0%{?suse_version} >= 1210
Version: 3.7.8+r1
Release: 0
%define pkg_version 3.7.8-r1
%define sqlite_version 3.7.8
%endif
%if 0%{?suse_version} >= 1140 && 0%{?suse_version} < 1210
Version: 3.7.5+r1
Release: 0
%define pkg_version 3.7.5-r1
%define sqlite_version 3.7.5
%endif
%if 0%{?suse_version} >= 1130 && 0%{?suse_version} < 1140
Version: 3.6.23.1+r1
Release: 0
%define pkg_version 3.6.23.1-r1
%define sqlite_version 3.6.23
%endif
%if 0%{?suse_version} >= 1120 && 0%{?suse_version} < 1130
Version: 3.6.16+r1
Release: 0
%define pkg_version 3.6.16-r1
%define sqlite_version 3.6.16
%endif
%if 0%{?suse_version} >= 1110 && 0%{?suse_version} < 1120
Version: 3.6.3+r1
Release: 0
%define pkg_version 3.6.3-r1
%define sqlite_version 3.6.3
%define nodoc 1
%endif
Release: 0
Summary: Another Python SQLite Wrapper
Source: http://apsw.googlecode.com/files/apsw-%{pkg_version}.zip
URL: http://code.google.com/p/apsw/
License: Zlib
Group: Development/Libraries/Python
License: zlib/libpng License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Source: http://apsw.googlecode.com/files/apsw-%{pkg_version}.zip
Url: http://code.google.com/p/apsw/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: gcc glibc-devel make pkgconfig autoconf automake libtool
BuildRequires: unzip
BuildRequires: sqlite3-devel >= %{sqlite_version}
BuildRequires: unzip
%py_requires
%description
@@ -50,7 +77,6 @@ complete SQLite API into Python.
%package doc
Summary: Another Python SQLite Wrapper - Documentation
Group: Development/Libraries/Python
License: zlib/libpng License
%if 0%{?suse_version} >= 1130
BuildArch: noarch
%endif
@@ -98,4 +124,3 @@ CFLAGS="%{optflags} -fno-strict-aliasing" \
%endif
%changelog