diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:08:43 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:08:43 +0000 |
| commit | b254c50be0a8c8537f82fe503124f1e83e40b63d (patch) | |
| tree | 5fd693ee2e14e625ce136f39a7e7dad61f546a9c | |
| parent | 0d40f16e41f71ac7bced7406074d0d2410d3026d (diff) | |
automatic import of python-itaopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-ita.spec | 141 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 143 insertions, 0 deletions
@@ -0,0 +1 @@ +/ita-0.4.1.tar.gz diff --git a/python-ita.spec b/python-ita.spec new file mode 100644 index 0000000..19c3f34 --- /dev/null +++ b/python-ita.spec @@ -0,0 +1,141 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ita +Version: 0.4.1 +Release: 1 +Summary: support package for "introduction to algorithm" lecture +License: You are free to copy, redistribute, modify, and build upon the +URL: https://lecture.ecc.u-tokyo.ac.jp/johzu/joho-kagaku/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/60/096908993cfeacdc4ba0ae558dd49d5277baf522f778fd7d354b39c247f3/ita-0.4.1.tar.gz +BuildArch: noarch + + +%description +material for any purpose, even commercially. +The matterial is provided by Akimasa Morihata "AS IS" and any express +or implied warranties are disclaimed. In no event shall Akimasa +Morihata be liable for any damages and on any theory of liability +arising in any way out of the use of this software, even if advised of +the possibility of such damage. + +Akimasa Morihata, 2018-2023 + + +Description: This project provides a resource for a lecture, "introduction to + algorithms", in Junior Division of the College of Arts and Sciences, + the University of Tokyo. + + これは東京大学教養学部で開講されている総合科目「アルゴリズム入門」で使 + 用するサポートパッケージです。不明な点がある場合やバグを発見した場合は + 森畑(morihata@graco.c.u-tokyo.ac.jp)までご連絡ください。 + + (c) Akimasa Morihata, the Univerisy of Tokyo, 2018-2023. + +Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Operating System :: OS Independent + + +%package -n python3-ita +Summary: support package for "introduction to algorithm" lecture +Provides: python-ita +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ita +material for any purpose, even commercially. +The matterial is provided by Akimasa Morihata "AS IS" and any express +or implied warranties are disclaimed. In no event shall Akimasa +Morihata be liable for any damages and on any theory of liability +arising in any way out of the use of this software, even if advised of +the possibility of such damage. + +Akimasa Morihata, 2018-2023 + + +Description: This project provides a resource for a lecture, "introduction to + algorithms", in Junior Division of the College of Arts and Sciences, + the University of Tokyo. + + これは東京大学教養学部で開講されている総合科目「アルゴリズム入門」で使 + 用するサポートパッケージです。不明な点がある場合やバグを発見した場合は + 森畑(morihata@graco.c.u-tokyo.ac.jp)までご連絡ください。 + + (c) Akimasa Morihata, the Univerisy of Tokyo, 2018-2023. + +Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Operating System :: OS Independent + + +%package help +Summary: Development documents and examples for ita +Provides: python3-ita-doc +%description help +material for any purpose, even commercially. +The matterial is provided by Akimasa Morihata "AS IS" and any express +or implied warranties are disclaimed. In no event shall Akimasa +Morihata be liable for any damages and on any theory of liability +arising in any way out of the use of this software, even if advised of +the possibility of such damage. + +Akimasa Morihata, 2018-2023 + + +Description: This project provides a resource for a lecture, "introduction to + algorithms", in Junior Division of the College of Arts and Sciences, + the University of Tokyo. + + これは東京大学教養学部で開講されている総合科目「アルゴリズム入門」で使 + 用するサポートパッケージです。不明な点がある場合やバグを発見した場合は + 森畑(morihata@graco.c.u-tokyo.ac.jp)までご連絡ください。 + + (c) Akimasa Morihata, the Univerisy of Tokyo, 2018-2023. + +Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Operating System :: OS Independent + + +%prep +%autosetup -n ita-0.4.1 + +%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-ita -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1 +- Package Spec generated @@ -0,0 +1 @@ +7437213c942a20ba6e9a2e9a3ea72e7e ita-0.4.1.tar.gz |
