diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:43:29 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:43:29 +0000 |
| commit | 7242a576db7c6607ba14aaf1f6b0d2a8e4c12b6b (patch) | |
| tree | 76a711498be966a59c7403d63307caf8ebc1cee8 /python-django-floppyforms.spec | |
| parent | e6d809ce345475a49351e2ee25c0531b9b7cf75a (diff) | |
automatic import of python-django-floppyforms
Diffstat (limited to 'python-django-floppyforms.spec')
| -rw-r--r-- | python-django-floppyforms.spec | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/python-django-floppyforms.spec b/python-django-floppyforms.spec new file mode 100644 index 0000000..0e0b3b9 --- /dev/null +++ b/python-django-floppyforms.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-floppyforms +Version: 1.9.0 +Release: 1 +Summary: Full control of form rendering in the templates +License: BSD licence, see LICENSE file +URL: https://github.com/jazzband/django-floppyforms +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/51/0095a62807b3477eed0ed7d937efc747c7078c08dea30ab04cad13cc38a3/django-floppyforms-1.9.0.tar.gz +BuildArch: noarch + + +%description +Full control of form rendering in the templates. +* Authors: Gregor Müllegger and many many `contributors`_ +* Original creator: Bruno Renié started this project and kept it going for many years. +* Licence: BSD +* Requirements: homework -- read `this`_. + +%package -n python3-django-floppyforms +Summary: Full control of form rendering in the templates +Provides: python-django-floppyforms +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-floppyforms +Full control of form rendering in the templates. +* Authors: Gregor Müllegger and many many `contributors`_ +* Original creator: Bruno Renié started this project and kept it going for many years. +* Licence: BSD +* Requirements: homework -- read `this`_. + +%package help +Summary: Development documents and examples for django-floppyforms +Provides: python3-django-floppyforms-doc +%description help +Full control of form rendering in the templates. +* Authors: Gregor Müllegger and many many `contributors`_ +* Original creator: Bruno Renié started this project and kept it going for many years. +* Licence: BSD +* Requirements: homework -- read `this`_. + +%prep +%autosetup -n django-floppyforms-1.9.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-floppyforms -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.9.0-1 +- Package Spec generated |
