17
0
Files
python-sqlalchemy-migrate/python-sqlalchemy-migrate.spec

63 lines
1.9 KiB
RPMSpec

#
# spec file for package python-sqlalchemy-migrate (Version 0.6)
#
# Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# norootforbuild
%define real_name sqlalchemy-migrate
Name: python-%{real_name}
Version: 0.6
Release: 0
License: MIT
Source: %{real_name}-%{version}.tar.bz2
Group: Development/Libraries/Python
Summary: Database schema migration for SQLAlchemy
BuildRequires: python-py
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Url: http://pypi.python.org/pypi/sqlalchemy-migrate
BuildRequires: python-setuptools
Requires: python-nose >= 0.10
Requires: python-sqlalchemy >= 0.5
Requires: python-sphinx >= 0.5
Requires: python-tempita
Requires: python-decorator
%py_requires
%description
Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with
database schema changes in SQLAlchemy projects.
Migrate extends SQLAlchemy to have database changeset handling. It provides a
database change repository mechanism which can be used from the command line as
well as from inside python code.
%prep
%setup -q -n %real_name-%version
%build
python setup.py build
%install
python setup.py install --prefix=%_prefix --root=%buildroot --record-rpm=filelist
%clean
rm -rf %buildroot
%files -f filelist
%defattr(-,root,root)
%doc PKG-INFO docs
%changelog