diff --git a/django-annoying-0.10.6.tar.gz b/django-annoying-0.10.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2c5cac0bba8244da3d4b5eaede56b2a44be9020b Binary files /dev/null and b/django-annoying-0.10.6.tar.gz differ diff --git a/python-django-annoying.spec b/python-django-annoying.spec new file mode 100644 index 0000000000000000000000000000000000000000..8363a629a1120def0fdecbf2bcf78d63d16f5a0b --- /dev/null +++ b/python-django-annoying.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-annoying +Version: 0.10.6 +Release: 1 +Summary: This is a django application that tries to eliminate annoying things in the Django framework. +License: BSD +URL: https://github.com/skorokithakis/django-annoying +Source0: https://files.pythonhosted.org/packages/c7/1a/253fb9c0779de1b6ae631c8c4f50aa8187518d5e87a7ca87a0ad1ccf3d9f/django-annoying-0.10.6.tar.gz +BuildArch: noarch + +Requires: python3-django +Requires: python3-six + +%description +This is a django application that tries to eliminate annoying things in the Django framework. + + +%package -n python3-django-annoying +Summary: This is a django application that tries to eliminate annoying things in the Django framework. +Provides: python-django-annoying +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-django-annoying +This is a django application that tries to eliminate annoying things in the Django framework. + + +%package help +Summary: Development documents and examples for django-annoying +Provides: python3-django-annoying-doc +%description help +This is a django application that tries to eliminate annoying things in the Django framework. + + +%prep +%autosetup -n django-annoying-0.10.6 + +%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-annoying -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sat Aug 01 2020 Python_Bot +- Package Spec generated