2 Summary: Schema migration tools for SQLAlchemy
3 Summary(pl.UTF-8): Narzędzia do migracji struktury bazy dla SQLAlchemy
4 Name: python-sqlalchemy-%{module}
8 Group: Development/Languages/Python
9 Source0: http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-%{module}-%{version}.tar.gz
10 # Source0-md5: 7ad9e6d6dd6df701fc596bcb87380271
11 URL: http://code.google.com/p/sqlalchemy-migrate/
12 BuildRequires: python-devel
13 BuildRequires: python-setuptools
14 BuildRequires: rpm-pythonprov
15 # if py_postclean is used
16 BuildRequires: rpmbuild(macros) >= 1.219
17 Requires: python-SQLAlchemy >= 0.5.1
18 Requires: python-decorator >= 3.0.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Schema migration tools for SQLAlchemy, designed to support an agile approach to database design, and make it easier to keep development and production databases in sync, as schema changes are required.
25 %description -l pl.UTF-8
26 Narzędzia migracji struktury bazy danych dla SQLAlchemy, zaprojektowane aby wspierać sprawne projektowanie i ułatwiać utrzymanie wersji rozwojowych i produkcyjnych baz danych w synchornizacji w miare zmian ich struktury.
29 %setup -q -n sqlalchemy-%{module}-%{version}
35 rm -rf $RPM_BUILD_ROOT
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
39 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/migrate
48 %attr(755,root,root) %{_bindir}/migrate-repository
50 ## %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
51 ##%{py_sitedir}/*.py[co]
52 ## %attr(755,root,root) %{py_sitedir}/*.so
53 %{py_sitescriptdir}/%{module}
54 ##%if "%{py_ver}" > "2.4"
55 %{py_sitescriptdir}/sqlalchemy_migrate-*.egg-info