summaryrefslogtreecommitdiff
path: root/python-django-migrate-sql-deux.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-django-migrate-sql-deux.spec')
-rw-r--r--python-django-migrate-sql-deux.spec84
1 files changed, 84 insertions, 0 deletions
diff --git a/python-django-migrate-sql-deux.spec b/python-django-migrate-sql-deux.spec
new file mode 100644
index 0000000..e2992d6
--- /dev/null
+++ b/python-django-migrate-sql-deux.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-migrate-sql-deux
+Version: 0.5.0
+Release: 1
+Summary: Migration support for raw SQL in Django
+License: BSD
+URL: https://github.com/festicket/django-migrate-sql
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/48/be2d5c4445c1cf7afd12b65a24c1f4848eabbe31b603ecec0eb9a01542ec/django-migrate-sql-deux-0.5.0.tar.gz
+BuildArch: noarch
+
+
+%description
+ This package is a fork of the ``django-migrate-sql`` package, originally published
+ by Bogdan Klichuk. This package appears unmaintained, so we decided to start a fork
+ as we depended on it. Most of the code is from him.
+|Build Status| |codecov.io|
+Django Migrations support for raw SQL.
+
+%package -n python3-django-migrate-sql-deux
+Summary: Migration support for raw SQL in Django
+Provides: python-django-migrate-sql-deux
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-migrate-sql-deux
+ This package is a fork of the ``django-migrate-sql`` package, originally published
+ by Bogdan Klichuk. This package appears unmaintained, so we decided to start a fork
+ as we depended on it. Most of the code is from him.
+|Build Status| |codecov.io|
+Django Migrations support for raw SQL.
+
+%package help
+Summary: Development documents and examples for django-migrate-sql-deux
+Provides: python3-django-migrate-sql-deux-doc
+%description help
+ This package is a fork of the ``django-migrate-sql`` package, originally published
+ by Bogdan Klichuk. This package appears unmaintained, so we decided to start a fork
+ as we depended on it. Most of the code is from him.
+|Build Status| |codecov.io|
+Django Migrations support for raw SQL.
+
+%prep
+%autosetup -n django-migrate-sql-deux-0.5.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-django-migrate-sql-deux -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+- Package Spec generated