]> git.pld-linux.org Git - packages/python-sqlalchemy-migrate.git/commitdiff
- Initial 0.5.4-0.1
authorMateusz Korniak <matkor@pld-linux.org>
Sun, 5 Jul 2009 11:58:37 +0000 (11:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-sqlalchemy-migrate.spec -> 1.1

python-sqlalchemy-migrate.spec [new file with mode: 0644]

diff --git a/python-sqlalchemy-migrate.spec b/python-sqlalchemy-migrate.spec
new file mode 100644 (file)
index 0000000..7b95f41
--- /dev/null
@@ -0,0 +1,56 @@
+%define        module migrate
+Summary:       Schema migration tools for SQLAlchemy
+Summary(pl.UTF-8):     NarzÄ™dzia do migracji struktury bazy dla SQLAlchemy
+Name:          python-sqlalchemy-%{module}
+Version:       0.5.4
+Release:       0.1
+License:       MIT
+Group:         Development/Languages/Python
+# http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-0.5.4.tar.gz
+Source0:       http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-%{module}-%{version}.tar.gz
+# Source0-md5: 7ad9e6d6dd6df701fc596bcb87380271
+URL:           http://code.google.com/p/sqlalchemy-migrate/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-SQLAlchemy >= 0.5.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n sqlalchemy-%{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/migrate
+%attr(755,root,root) %{_bindir}/migrate-repository
+
+## %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+##%{py_sitedir}/*.py[co]
+## %attr(755,root,root) %{py_sitedir}/*.so
+%{py_sitescriptdir}/%{module}
+##%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/sqlalchemy_migrate-*.egg-info
+##%endif
This page took 0.121143 seconds and 4 git commands to generate.