diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:01:40 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:01:40 +0000 |
commit | acb07da46314254435c6e503b6b453bc24e21447 (patch) | |
tree | 01e03edbf625c22ba2221b458dad1bd408113b20 | |
parent | 510f462219bce348b4323c42e69f006629b3a1b1 (diff) |
automatic import of python-finac
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-finac.spec | 75 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/finac-0.5.7.tar.gz diff --git a/python-finac.spec b/python-finac.spec new file mode 100644 index 0000000..cf9aa75 --- /dev/null +++ b/python-finac.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-finac +Version: 0.5.7 +Release: 1 +Summary: Financial accounting library +License: MIT +URL: https://github.com/alttch/finac +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e4/43/4d5ed972cd3f80c221dcff18f4125ebb1f35bc398e23c3be649e7fa6c61a/finac-0.5.7.tar.gz +BuildArch: noarch + + +%description +7 10 000.00 import 2019-10-26 03:04:02 2019-10-26 03:04:02 +8 -2 000.00 ACC2 2019-10-26 03:04:02 2019-10-26 03:04:02 + +%package -n python3-finac +Summary: Financial accounting library +Provides: python-finac +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-finac +7 10 000.00 import 2019-10-26 03:04:02 2019-10-26 03:04:02 +8 -2 000.00 ACC2 2019-10-26 03:04:02 2019-10-26 03:04:02 + +%package help +Summary: Development documents and examples for finac +Provides: python3-finac-doc +%description help +7 10 000.00 import 2019-10-26 03:04:02 2019-10-26 03:04:02 +8 -2 000.00 ACC2 2019-10-26 03:04:02 2019-10-26 03:04:02 + +%prep +%autosetup -n finac-0.5.7 + +%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-finac -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.7-1 +- Package Spec generated @@ -0,0 +1 @@ +ef5ab7855e4f3d34343a0a0691d173bc finac-0.5.7.tar.gz |