diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:58:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 07:58:42 +0000 |
commit | 6581ef12dac1f5cd45e8e9b91837e66c897f02b7 (patch) | |
tree | 2ff76da7ccab02f742273856dc8eacdab373c999 | |
parent | 78ccbe0b81a080e5019b6d678a103c6388393195 (diff) |
automatic import of python-pdfgeneratorapi
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pdfgeneratorapi.spec | 96 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 98 insertions, 0 deletions
@@ -0,0 +1 @@ +/pdfgeneratorapi-0.2.tar.gz diff --git a/python-pdfgeneratorapi.spec b/python-pdfgeneratorapi.spec new file mode 100644 index 0000000..5c2b379 --- /dev/null +++ b/python-pdfgeneratorapi.spec @@ -0,0 +1,96 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pdfgeneratorapi +Version: 0.2 +Release: 1 +Summary: A python client library for PDFGeneratorAPI.com +License: Apache 2.0 +URL: https://github.com/sameerkumar18/pdfgeneratorapi-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/51/3d/a9e850e882795674ec3968fe4d818857553230684e8def3272a0c7e25c0a/pdfgeneratorapi-0.2.tar.gz +BuildArch: noarch + + +%description +[](https://badge.fury.io/py/pdfgeneratorapi) +[](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://saythanks.io/to/sameerkumar18) +[](https://www.paypal.me/sameerkumar18) +With the PDF Generator API your users can easily create and manage different document templates with an easy-to-use browser based document editor and via API. +An API and template builder to generate PDF documents from Your software, from Your data. +You will first need to [register for a PDFGeneratorAPI account](https://pdfgeneratorapi.com/signup) to use this API. It's free to sign up, and use for testing and integration process. + +%package -n python3-pdfgeneratorapi +Summary: A python client library for PDFGeneratorAPI.com +Provides: python-pdfgeneratorapi +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pdfgeneratorapi +[](https://badge.fury.io/py/pdfgeneratorapi) +[](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://saythanks.io/to/sameerkumar18) +[](https://www.paypal.me/sameerkumar18) +With the PDF Generator API your users can easily create and manage different document templates with an easy-to-use browser based document editor and via API. +An API and template builder to generate PDF documents from Your software, from Your data. +You will first need to [register for a PDFGeneratorAPI account](https://pdfgeneratorapi.com/signup) to use this API. It's free to sign up, and use for testing and integration process. + +%package help +Summary: Development documents and examples for pdfgeneratorapi +Provides: python3-pdfgeneratorapi-doc +%description help +[](https://badge.fury.io/py/pdfgeneratorapi) +[](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://pypi.org/project/pdfgeneratorapi/) +[](https://saythanks.io/to/sameerkumar18) +[](https://www.paypal.me/sameerkumar18) +With the PDF Generator API your users can easily create and manage different document templates with an easy-to-use browser based document editor and via API. +An API and template builder to generate PDF documents from Your software, from Your data. +You will first need to [register for a PDFGeneratorAPI account](https://pdfgeneratorapi.com/signup) to use this API. It's free to sign up, and use for testing and integration process. + +%prep +%autosetup -n pdfgeneratorapi-0.2 + +%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-pdfgeneratorapi -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +1a156431506dce556e9ac379d0f4c135 pdfgeneratorapi-0.2.tar.gz |