From 6581ef12dac1f5cd45e8e9b91837e66c897f02b7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 07:58:42 +0000 Subject: automatic import of python-pdfgeneratorapi --- .gitignore | 1 + python-pdfgeneratorapi.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 98 insertions(+) create mode 100644 python-pdfgeneratorapi.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0840e0b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 +[![PyPI version](https://badge.fury.io/py/pdfgeneratorapi.svg)](https://badge.fury.io/py/pdfgeneratorapi) +[![Build Status](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python.svg?branch=master)](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[![image](https://img.shields.io/pypi/v/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/pypi/l/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/sameerkumar18) +[![image](https://img.shields.io/badge/Paypal-Donate-blue.svg)](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 +[![PyPI version](https://badge.fury.io/py/pdfgeneratorapi.svg)](https://badge.fury.io/py/pdfgeneratorapi) +[![Build Status](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python.svg?branch=master)](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[![image](https://img.shields.io/pypi/v/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/pypi/l/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/sameerkumar18) +[![image](https://img.shields.io/badge/Paypal-Donate-blue.svg)](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 +[![PyPI version](https://badge.fury.io/py/pdfgeneratorapi.svg)](https://badge.fury.io/py/pdfgeneratorapi) +[![Build Status](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python.svg?branch=master)](https://travis-ci.org/sameerkumar18/pdfgeneratorapi-python) +[![image](https://img.shields.io/pypi/v/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/pypi/l/pdfgeneratorapi.svg)](https://pypi.org/project/pdfgeneratorapi/) +[![image](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/sameerkumar18) +[![image](https://img.shields.io/badge/Paypal-Donate-blue.svg)](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 - 0.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..9b81d52 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +1a156431506dce556e9ac379d0f4c135 pdfgeneratorapi-0.2.tar.gz -- cgit v1.2.3