diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 14:14:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 14:14:05 +0000 |
commit | 662929e9462513f27560a7c1f89ed19c37fb7b89 (patch) | |
tree | 4447052bb9f27bb9147180ef8844e03e9d243965 /python-django-selectable.spec | |
parent | 95949f1608e3ec618d07148e4ac89742f7f6582a (diff) |
automatic import of python-django-selectable
Diffstat (limited to 'python-django-selectable.spec')
-rw-r--r-- | python-django-selectable.spec | 99 |
1 files changed, 99 insertions, 0 deletions
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 |