diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-bigbuild.spec | 84 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-bigbuild-0.9.8.tar.gz diff --git a/python-django-bigbuild.spec b/python-django-bigbuild.spec new file mode 100644 index 0000000..2e8814d --- /dev/null +++ b/python-django-bigbuild.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-bigbuild +Version: 0.9.8 +Release: 1 +Summary: The open-source engine that powers bigbuilder, the Los Angeles Times Data Desk's system for publishing standalone pages +License: MIT +URL: http://www.github.com/datadesk/django-bigbuild/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/19/59d1b21fd86bc5662b49fd8416b5004ace82e59da356d6dcc74dbb0f129d/django-bigbuild-0.9.8.tar.gz +BuildArch: noarch + +Requires: python3-frontmatter +Requires: python3-django-bakery +Requires: python3-validictory +Requires: python3-django-compressor +Requires: python3-django-compressor-toolkit +Requires: python3-greeking +Requires: python3-GitPython +Requires: python3-dateutil +Requires: python3-archieml +Requires: python3-django-jsonfield +Requires: python3-pytz +Requires: python3-six + +%description + + +%package -n python3-django-bigbuild +Summary: The open-source engine that powers bigbuilder, the Los Angeles Times Data Desk's system for publishing standalone pages +Provides: python-django-bigbuild +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-bigbuild + + +%package help +Summary: Development documents and examples for django-bigbuild +Provides: python3-django-bigbuild-doc +%description help + + +%prep +%autosetup -n django-bigbuild-0.9.8 + +%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-bigbuild -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.8-1 +- Package Spec generated @@ -0,0 +1 @@ +25c8deca7c8d0e744ed2b893e1da7aff django-bigbuild-0.9.8.tar.gz |