]> git.pld-linux.org Git - packages/python-sqlalchemy-migrate.git/blob - python-sqlalchemy-migrate.spec
automatic change: use py_build/py_install macros
[packages/python-sqlalchemy-migrate.git] / python-sqlalchemy-migrate.spec
1 %define         module migrate
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}
5 Version:        0.5.4
6 Release:        3
7 License:        MIT
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
24
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.
27
28 %prep
29 %setup -q -n sqlalchemy-%{module}-%{version}
30
31 %build
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py_install
37
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
39 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
40 %py_postclean
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/migrate
48 %attr(755,root,root) %{_bindir}/migrate-repository
49
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
56 ##%endif
This page took 0.09556 seconds and 3 git commands to generate.