summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-django-selectable.spec99
-rw-r--r--sources1
3 files changed, 101 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c0ce6ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-selectable-1.3.0.tar.gz
diff --git a/python-django-selectable.spec b/python-django-selectable.spec
new file mode 100644
index 0000000..46a48a4
--- /dev/null
+++ b/python-django-selectable.spec
@@ -0,0 +1,99 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-selectable
+Version: 1.3.0
+Release: 1
+Summary: Auto-complete selection widgets using Django and jQuery UI.
+License: BSD
+URL: https://github.com/mlavin/django-selectable
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ea/72/1a8a65ce3981fe8922749d4be489713e3a74ead5c5957f0cf0e72261b557/django-selectable-1.3.0.tar.gz
+BuildArch: noarch
+
+
+%description
+Tools and widgets for using/creating auto-complete selection widgets using Django and jQuery UI.
+ This project is looking for additional maintainers to help with Django/jQuery compatibility
+ issues as well as addressing support issues/questions. If you are looking to help out
+ on this project and take a look at the open
+ `help-wanted <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted>`_
+ or `question <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Aquestion>`_
+ and see if you can contribute a fix. Be bold! If you want to take a larger role on
+ the project, please reach out on the
+ `mailing list <http://groups.google.com/group/django-selectable>`_. I'm happy to work
+ with you to get you going on an issue.
+
+%package -n python3-django-selectable
+Summary: Auto-complete selection widgets using Django and jQuery UI.
+Provides: python-django-selectable
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-selectable
+Tools and widgets for using/creating auto-complete selection widgets using Django and jQuery UI.
+ This project is looking for additional maintainers to help with Django/jQuery compatibility
+ issues as well as addressing support issues/questions. If you are looking to help out
+ on this project and take a look at the open
+ `help-wanted <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted>`_
+ or `question <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Aquestion>`_
+ and see if you can contribute a fix. Be bold! If you want to take a larger role on
+ the project, please reach out on the
+ `mailing list <http://groups.google.com/group/django-selectable>`_. I'm happy to work
+ with you to get you going on an issue.
+
+%package help
+Summary: Development documents and examples for django-selectable
+Provides: python3-django-selectable-doc
+%description help
+Tools and widgets for using/creating auto-complete selection widgets using Django and jQuery UI.
+ This project is looking for additional maintainers to help with Django/jQuery compatibility
+ issues as well as addressing support issues/questions. If you are looking to help out
+ on this project and take a look at the open
+ `help-wanted <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted>`_
+ or `question <https://github.com/mlavin/django-selectable/issues?q=is%3Aissue+is%3Aopen+label%3Aquestion>`_
+ and see if you can contribute a fix. Be bold! If you want to take a larger role on
+ the project, please reach out on the
+ `mailing list <http://groups.google.com/group/django-selectable>`_. I'm happy to work
+ with you to get you going on an issue.
+
+%prep
+%autosetup -n django-selectable-1.3.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-selectable -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..53fb603
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5ef6cdea0cf133969d685014daf86e27 django-selectable-1.3.0.tar.gz