/[packages]/cauldron/python-apsw/current/SPECS/python-apsw.spec
ViewVC logotype

Contents of /cauldron/python-apsw/current/SPECS/python-apsw.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1547642 - (show annotations) (download)
Thu Feb 20 22:46:15 2020 UTC (4 years, 2 months ago) by umeabot
File size: 1899 byte(s)
Mageia 8 Mass Rebuild
1 %define sqlite_version 3.30.1
2 %define uprel 1
3 %define pkg_version %{sqlite_version}-r%{uprel}
4 %define module apsw
5
6 Name: python-apsw
7 Version: %{sqlite_version}.r%{uprel}
8 Release: %mkrel 2
9 Summary: Another Python SQLite Wrapper
10 Group: Development/Python
11 License: zlib
12 URL: http://rogerbinns.github.io/apsw/
13 Source0: https://github.com/rogerbinns/apsw/archive/%{pkg_version}/%{name}-%{version}.tar.gz
14 BuildRequires: pkgconfig(sqlite3) >= %{sqlite_version}
15
16 %description
17 APSW is a Python wrapper for the SQLite embedded relational database
18 engine. In contrast to other wrappers such as pysqlite it focuses on
19 being a minimal layer over SQLite attempting just to translate the
20 complete SQLite API into Python.
21
22 %package -n python3-%{module}
23 Summary: Another Python3 SQLite Wrapper
24 Group: Development/Python
25 License: zlib
26 BuildRequires: pkgconfig(python3)
27 BuildRequires: python3dist(setuptools)
28 %{?python_provide:%python_provide python3-%{module}}
29
30 %description -n python3-%{module}
31 APSW is a Python3 wrapper for the SQLite embedded relational database
32 engine. In contrast to other wrappers such as pysqlite it focuses on
33 being a minimal layer over SQLite attempting just to translate the
34 complete SQLite API into Python.
35
36 %package doc
37 Summary: Another Python SQLite Wrapper - Documentation
38 Group: Development/Python
39 License: zlib
40 BuildArch: noarch
41
42 %description doc
43 APSW is a Python wrapper for the SQLite embedded relational database
44 engine. In contrast to other wrappers such as pysqlite it focuses on
45 being a minimal layer over SQLite attempting just to translate the
46 complete SQLite API into Python.
47
48 %prep
49 %autosetup -p1 -n "apsw-%{pkg_version}"
50
51 %build
52 %py3_build
53
54 %install
55 %py3_install
56
57 %files -n python3-%{module}
58 %{python3_sitearch}/*
59 %license LICENSE
60
61 %files doc
62 %doc doc/*

  ViewVC Help
Powered by ViewVC 1.1.30