python-SQLAlchemy-py27/python-SQLAlchemy-py27.spec

65 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: python-SQLAlchemy-py27
Version: 0.8.1
Release: 3mamba
Summary: Python SQL toolkit and Object Relational Mapper
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.sqlalchemy.org/
Source: http://downloads.sourceforge.net/project/sqlalchemy/sqlalchemy/%{version}/SQLAlchemy-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Obsoletes: python-SQLAlchemy <= 0.8.1
%description
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
It provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.
%prep
%setup -q -n SQLAlchemy-%{version}
%build
CFLAGS="%{optflags}" %{__python27} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python27} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python27_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%dir %{python27_sitearch}/SQLAlchemy-%{version}-py*.egg-info
%{python27_sitearch}/SQLAlchemy-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Mon Jun 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-3mamba
- python 2.7 legacy package
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-2mamba
- python 2.7 mass rebuild
* Wed May 01 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Tue Dec 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.9-2mamba
- rename using python naming convention
- summary and build requirements fixed
* Tue Oct 30 2012 openmamba WebBuild System <webbuild@openmamba.org> 0.7.9-1mamba
- package created by autospec