Пакет python-module-django-mptt: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | %define modulename mptt %def_without check Name: python-module-django-%modulename Version: 0.9.0 Release: alt1 Summary: Modified Preorder Tree Traversal Django application License: BSD Group: Development/Python Url: http://github.com/django-mptt/django-mptt/ BuildArch: noarch Source: %name-%version.tar #Patch10: %%name-%%version-alt-fix-test_run_doctest.patch Requires: Django >= 1.2 Conflicts: python-module-django-cms < 2.2 BuildRequires: rpm-build-licenses BuildRequires: python-module-django-tests >= 1.2 BuildRequires: python-module-django-dbbackend-sqlite3 >= 1.2 BuildRequires: python-module-sphinx BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-module-setuptools %description Django MPTT is a reusable/standalone Django application which aims to make it easy for you to use Modified Preorder Tree Traversal with your own Django models in your own applications. It takes care of the details of managing a database table as a tree structure and provides tools for working with trees of model instances. %package -n python3-module-%modulename Summary: Modified Preorder Tree Traversal Django application Group: Development/Python3 %add_python3_req_skip mptt.exceptions %description -n python3-module-%modulename Django MPTT is a reusable/standalone Django application which aims to make it easy for you to use Modified Preorder Tree Traversal with your own Django models in your own applications. It takes care of the details of managing a database table as a tree structure and provides tools for working with trees of model instances. %prep %setup #%%patch10 -p1 cp -fR . ../python3 %build %python_build pushd ../python3 %python3_build popd # doc pushd docs make text popd %install %python_install pushd ../python3 %python3_install popd %if_with check %check pushd tests ./runtests.sh popd %endif %files %doc INSTALL README.rst build/docs %python_sitelibdir/%modulename/ %python_sitelibdir/*.egg-info %files -n python3-module-%modulename %doc INSTALL README.rst build/docs %python3_sitelibdir/%modulename/ %python3_sitelibdir/*.egg-info %changelog * Fri May 25 2018 Sergey Alembekov <mrdrew@altlinux.ru> 0.9.0-alt1 - Updated version to 0.9.0 * Mon Jan 25 2016 Sergey Alembekov <rt@altlinux.ru> 0.5.5-alt4.git20130402 - Rebuild with "def_disable check" * Wed Apr 03 2013 Aleksey Avdeev <solo@altlinux.ru> 0.5.5-alt3.git20130402 - Version 0.5.5 (9068e148af4fb091275ea945542fc1fed896231a) * Wed Feb 27 2013 Aleksey Avdeev <solo@altlinux.ru> 0.5.5-alt2 - Fix requires * Mon Feb 25 2013 Aleksey Avdeev <solo@altlinux.ru> 0.5.5-alt1 - Initial build for ALT Linux Sisyphus |