2024-01-06 10:44:52 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
2024-01-06 10:44:52 +01:00
|
|
|
Name: python-apsw
|
2024-01-06 10:44:52 +01:00
|
|
|
Version: 3.39.3.0
|
2024-01-06 10:44:52 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:44:52 +01:00
|
|
|
Summary: Another Python SQLite Wrapper
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:44:52 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:44:52 +01:00
|
|
|
URL: https://github.com/rogerbinns/apsw
|
2024-01-06 10:44:52 +01:00
|
|
|
Source: https://github.com/rogerbinns/apsw.git/%{pkgver}/apsw-%{version}.tar.bz2
|
2024-01-06 10:44:52 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:44:52 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 10:44:52 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 10:44:52 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-06 10:44:52 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary} for the SQLite embedded relational database engine. In contrast to other wrappers such as pysqlite it focuses on being a minimal layer over SQLite attempting just to translate the complete SQLite API into Python. The documentation has a section on the differences between APSW and pysqlite. APSW supports CPython 2.3 onwards and CPython 3.1 onwards.
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
%prep
|
2024-01-06 10:44:52 +01:00
|
|
|
%setup -q -n apsw-%{version}
|
2024-01-06 10:44:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:44:52 +01:00
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:44:52 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:44:52 +01:00
|
|
|
%dir %{python_sitearch}/apsw-*-py*.egg-info
|
|
|
|
%{python_sitearch}/apsw-*-py*.egg-info/*
|
2024-01-06 10:44:52 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:44:52 +01:00
|
|
|
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 3.39.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Mon Sep 05 2022 Automatic Build System <autodist@mambasoft.it> 3.39.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 01 2022 Automatic Build System <autodist@mambasoft.it> 3.39.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Sat Jun 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-3mamba
|
|
|
|
- rebuilt with distdeps and python 3.10
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-2mamba
|
|
|
|
- rebuilt with py3 and py36 packages
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-1mamba
|
|
|
|
- update to 3.28.0_r1
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.13.0_r1-1mamba
|
|
|
|
- update to 3.13.0_r1
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.5_r1-1mamba
|
|
|
|
- update to 3.8.5_r1
|
|
|
|
|
2024-01-06 10:44:52 +01:00
|
|
|
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 07 2013 openmamba WebBuild System <webbuild@openmamba.org> 3.8.0.2-1mamba
|
|
|
|
- package created by ercolinux using the webbuild interface
|