diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:54:53 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:54:53 +0000 |
| commit | 2a04ae90af7132b6055f614cc65318783aa3c135 (patch) | |
| tree | 5f17de265713926b1bdcbfe336c163f3cb81778c | |
| parent | eb5604bee35e40b15bc23ac64b7a891956b1f078 (diff) | |
automatic import of python-rocketcasing
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-rocketcasing.spec | 72 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/RocketCasing-1.4.19.tar.gz diff --git a/python-rocketcasing.spec b/python-rocketcasing.spec new file mode 100644 index 0000000..33e3dff --- /dev/null +++ b/python-rocketcasing.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-RocketCasing +Version: 1.4.19 +Release: 1 +Summary: Programa baseado na planilha Casing de Richard Nakka para cálculo e design de pressão de ruptura de um foguete de motor sólido. Program based on Richard Nakka spreadsheet for design and burst pressure for solid rocket motor +License: MIT License +URL: https://github.com/LucasValentimB/RocketCasing +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/47/a7ba63239d8b216cff9a8e6e7b5b5cfd9b6206f90dae77a0c4d1dcd6b9dc/RocketCasing-1.4.19.tar.gz +BuildArch: noarch + + +%description +LinkedIn: https://www.linkedin.com/in/lucasvalentimb/ + +%package -n python3-RocketCasing +Summary: Programa baseado na planilha Casing de Richard Nakka para cálculo e design de pressão de ruptura de um foguete de motor sólido. Program based on Richard Nakka spreadsheet for design and burst pressure for solid rocket motor +Provides: python-RocketCasing +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-RocketCasing +LinkedIn: https://www.linkedin.com/in/lucasvalentimb/ + +%package help +Summary: Development documents and examples for RocketCasing +Provides: python3-RocketCasing-doc +%description help +LinkedIn: https://www.linkedin.com/in/lucasvalentimb/ + +%prep +%autosetup -n RocketCasing-1.4.19 + +%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-RocketCasing -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.19-1 +- Package Spec generated @@ -0,0 +1 @@ +e6cee5e49491d8bef3a5a557d1d762b4 RocketCasing-1.4.19.tar.gz |
