132 lines
4.8 KiB
RPMSpec
132 lines
4.8 KiB
RPMSpec
%define pkgver %(echo %version | tr _ -)
|
|
Name: python-apsw
|
|
Version: 3.46.0.0
|
|
Release: 1mamba
|
|
Summary: Another Python SQLite Wrapper
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/rogerbinns/apsw
|
|
Source: https://github.com/rogerbinns/apsw.git/%{pkgver}/apsw-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libpython311-devel
|
|
BuildRequires: libsqlite-devel
|
|
## 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.
|
|
|
|
%if "%{?with_pyver}"
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n apsw-%{version}
|
|
|
|
%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
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%dir %{python_sitearch}/apsw-*-py*.egg-info
|
|
%{python_sitearch}/apsw-*-py*.egg-info/*
|
|
|
|
%changelog
|
|
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 3.46.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 3.45.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 3.45.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 01 2024 Automatic Build System <autodist@openmamba.org> 3.45.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 17 2024 Automatic Build System <autodist@openmamba.org> 3.45.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 30 2023 Automatic Build System <autodist@mambasoft.it> 3.44.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 3.44.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 3.43.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 07 2023 Automatic Build System <autodist@mambasoft.it> 3.43.1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 23 2023 Automatic Build System <autodist@mambasoft.it> 3.43.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 3.43.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 26 2023 Automatic Build System <autodist@mambasoft.it> 3.42.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 19 2023 Automatic Build System <autodist@mambasoft.it> 3.42.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 28 2023 Automatic Build System <autodist@mambasoft.it> 3.41.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 3.41.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 17 2023 Automatic Build System <autodist@mambasoft.it> 3.40.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 28 2022 Automatic Build System <autodist@mambasoft.it> 3.40.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 3.39.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 3.39.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Sat Jun 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-3mamba
|
|
- rebuilt with distdeps and python 3.10
|
|
|
|
* Wed Aug 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-2mamba
|
|
- rebuilt with py3 and py36 packages
|
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.0_r1-1mamba
|
|
- update to 3.28.0_r1
|
|
|
|
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.13.0_r1-1mamba
|
|
- update to 3.13.0_r1
|
|
|
|
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.5_r1-1mamba
|
|
- update to 3.8.5_r1
|
|
|
|
* 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
|