diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:09:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 13:09:29 +0000 |
commit | 770846229ff6aa9e4a58a01b3e45a566c33eefc1 (patch) | |
tree | 1528ad67463fbcd57044c28abb5b8af8730e1539 /python-agv-fact.spec | |
parent | 0a99a87e934aba0f48374fed79ce53db54c0d8db (diff) |
automatic import of python-agv-fact
Diffstat (limited to 'python-agv-fact.spec')
-rw-r--r-- | python-agv-fact.spec | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/python-agv-fact.spec b/python-agv-fact.spec new file mode 100644 index 0000000..69044a7 --- /dev/null +++ b/python-agv-fact.spec @@ -0,0 +1,105 @@ +%global _empty_manifest_terminate_build 0 +Name: python-agv-fact +Version: 1.0.2.26 +Release: 1 +Summary: Libreria para generar xml y realizar el timbrado +License: MIT License +URL: https://github.com/pypa/fact +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/28/a3aa65082a9a5179afeed87913615251b8a396f526564dda26d6751bbdce/agv-fact-1.0.2.26.tar.gz +BuildArch: noarch + + +%description +# README # + +### Cambios en esta versión ### + +* Version 1.0.1.0 +* Se agrega la versión 4.0 de facturación +* Se modifica el data que recibe la libreria para el timbrado +* Nueva información en el data para poder timbrar + +* [Link](https://google.com) + + + +%package -n python3-agv-fact +Summary: Libreria para generar xml y realizar el timbrado +Provides: python-agv-fact +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-agv-fact +# README # + +### Cambios en esta versión ### + +* Version 1.0.1.0 +* Se agrega la versión 4.0 de facturación +* Se modifica el data que recibe la libreria para el timbrado +* Nueva información en el data para poder timbrar + +* [Link](https://google.com) + + + +%package help +Summary: Development documents and examples for agv-fact +Provides: python3-agv-fact-doc +%description help +# README # + +### Cambios en esta versión ### + +* Version 1.0.1.0 +* Se agrega la versión 4.0 de facturación +* Se modifica el data que recibe la libreria para el timbrado +* Nueva información en el data para poder timbrar + +* [Link](https://google.com) + + + +%prep +%autosetup -n agv-fact-1.0.2.26 + +%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-agv-fact -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2.26-1 +- Package Spec generated |