2006-05-23 14:57:51 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
|
|
|
|
|
|
|
|
|
%define srcname SQLAlchemy
|
|
|
|
|
|
|
|
Name: python-sqlalchemy
|
2007-07-24 23:42:27 +00:00
|
|
|
Version: 0.3.10
|
2007-03-11 05:35:23 +00:00
|
|
|
Release: 1%{?dist}
|
2006-05-23 14:57:51 +00:00
|
|
|
Summary: Modular and flexible ORM library for python
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.sqlalchemy.org/
|
2007-03-11 05:35:23 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/sqlalchemy/%{srcname}-%{version}.tar.gz
|
2006-05-23 14:57:51 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2006-12-10 05:17:02 +00:00
|
|
|
BuildRequires: python-devel
|
2006-12-07 22:12:34 +00:00
|
|
|
BuildRequires: python-setuptools >= 0.6c3
|
2006-05-23 14:57:51 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SQLAlchemy is an Object Relational Mappper (ORM) that provides a flexible,
|
|
|
|
high-level interface to SQL databases. Database and domain concepts are
|
|
|
|
decoupled, allowing both sides maximum flexibility and power. SQLAlchemy
|
|
|
|
provides a powerful mapping layer that can work as automatically or as manually
|
|
|
|
as you choose, determining relationships based on foreign keys or letting you
|
|
|
|
define the join conditions explicitly, to bridge the gap between database and
|
|
|
|
domain.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
|
|
|
|
# remove unnecessary scripts for building documentation
|
|
|
|
rm -rf doc/build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2006-05-31 19:33:19 +00:00
|
|
|
%doc README LICENSE PKG-INFO CHANGES doc examples
|
2006-05-23 14:57:51 +00:00
|
|
|
%{python_sitelib}/%{srcname}-%{version}-py%{pyver}.egg-info
|
2007-03-11 05:35:23 +00:00
|
|
|
%{python_sitelib}/sqlalchemy/
|
2006-05-23 14:57:51 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-07-25 02:06:54 +00:00
|
|
|
* Tue Jul 24 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.10-2
|
|
|
|
- Remove python-abi Requires. This is automatic since FC4+.
|
|
|
|
|
2007-07-24 23:42:27 +00:00
|
|
|
* Tue Jul 24 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.10-1
|
|
|
|
- Update to new upstream version 0.3.10
|
|
|
|
|
2007-03-24 01:36:14 +00:00
|
|
|
* Fri Mar 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.6-1
|
|
|
|
- Update to new upstream version 0.3.6
|
|
|
|
|
2007-03-11 05:35:23 +00:00
|
|
|
* Sat Mar 10 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.5-1
|
|
|
|
- Update to new upstream version 0.3.5
|
|
|
|
- Simplify the files listing
|
|
|
|
|
2007-01-24 03:19:11 +00:00
|
|
|
* Tue Jan 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.4-2
|
|
|
|
- Remember to upload the source tarball to the lookaside cache.
|
|
|
|
|
2007-01-24 03:11:26 +00:00
|
|
|
* Tue Jan 23 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.4-1
|
2007-01-24 03:19:11 +00:00
|
|
|
- Update to new upstream version 0.3.4
|
2007-01-24 03:11:26 +00:00
|
|
|
|
2007-01-02 03:24:20 +00:00
|
|
|
* Mon Jan 01 2007 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.3-1
|
2007-01-24 03:19:11 +00:00
|
|
|
- Update to new upstream version 0.3.3
|
2007-01-02 03:24:20 +00:00
|
|
|
|
|
|
|
* Sat Dec 09 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.1-2
|
2006-12-10 04:39:02 +00:00
|
|
|
- Bump and rebuild for python 2.5 on devel.
|
2006-12-10 05:17:02 +00:00
|
|
|
- BuildRequire: python-devel as a header is missing otherwise.
|
2006-12-10 04:39:02 +00:00
|
|
|
|
2006-12-07 22:12:34 +00:00
|
|
|
* Fri Nov 24 2006 Toshio Kuratomi <toshio@tiki-lounge.com> - 0.3.1-1
|
|
|
|
- Update to new upstream version 0.3.1
|
|
|
|
|
2006-09-16 18:50:06 +00:00
|
|
|
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 0.2.7-2
|
|
|
|
- Rebuild for FC6
|
|
|
|
|
2006-08-17 17:16:40 +00:00
|
|
|
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 0.2.7-1
|
|
|
|
- Update to new upstream version
|
|
|
|
|
2006-08-11 15:21:27 +00:00
|
|
|
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 0.2.6-2
|
|
|
|
- Include, don't ghost .pyo files per new guidelines
|
|
|
|
|
2006-08-08 15:52:39 +00:00
|
|
|
* Tue Aug 08 2006 Shahms E. King <shahms@shahms.com> 0.2.6-1
|
|
|
|
- Update to new upstream version
|
|
|
|
|
2006-07-07 18:26:07 +00:00
|
|
|
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 0.2.4-1
|
|
|
|
- Update to new upstream version
|
|
|
|
|
2006-06-26 17:26:01 +00:00
|
|
|
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 0.2.3-1
|
|
|
|
- Update to new upstream version
|
|
|
|
|
2006-05-31 19:33:19 +00:00
|
|
|
* Wed May 31 2006 Shahms E. King <shahms@shahms.com> 0.2.1-1
|
|
|
|
- Update to new upstream version
|
|
|
|
|
2006-05-23 14:57:51 +00:00
|
|
|
* Tue May 16 2006 Shahms E. King <shahms@shahms.com> 0.1.7-1
|
|
|
|
- Update to new upstream version
|
|
|
|
- Point URL to direct link, not sourceforge redirect
|
|
|
|
- Remove unnecessary document build scripts
|
|
|
|
|
|
|
|
* Fri Apr 14 2006 Shahms E. King <shahms@shahms.com> 0.1.6-1
|
|
|
|
- Initial package
|