From 07d6ca0aa37b61dab7ebff3045fb4c57a8c21577 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 04:06:57 +0000 Subject: automatic import of python-appfire-connect-sdk --- python-appfire-connect-sdk.spec | 381 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 381 insertions(+) create mode 100644 python-appfire-connect-sdk.spec (limited to 'python-appfire-connect-sdk.spec') diff --git a/python-appfire-connect-sdk.spec b/python-appfire-connect-sdk.spec new file mode 100644 index 0000000..746227e --- /dev/null +++ b/python-appfire-connect-sdk.spec @@ -0,0 +1,381 @@ +%global _empty_manifest_terminate_build 0 +Name: python-appfire-connect-sdk +Version: 1.9.1 +Release: 1 +Summary: SDK for creating and deploying appfire connect apps (jira, confluence and bitbucket) +License: MIT +URL: https://bitbucket.org/appfire/ac-app-installer/src/master/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5a/4b/e7367f0de350269f75821b5d8dd33802021e01ed81598ff36e1a3e4c3a8e/appfire-connect-sdk-1.9.1.tar.gz +BuildArch: noarch + + +%description +# Appfire connect app SDK + +## What does it do? + +Creates a Atlassian Connect app template and provides a toolkit for deploying to AWS environment + +## Command Line Arguments + +``` +--verbose, -v : "verbose" +--region, -r : "AWS region", default="us-east-1" +--profile, -p : "AWS profile as the default environment", default="default" +--env, -e : "personal, dev, test, stage or prod", default="personal" +--stack, -s : "CDK stack to deploy", default="app", "core" or "app" +--stage, -stage : "dev, test, stage or prod", default="dev" +--app-suffix, -as : "green" or nothing (not passing the argument) +``` + +###### Note: see personal.env.yml or env.yml for personal or DTS/Prod environments respectively. + +## Run via Python + +``` +create-appfire-app -v +``` + +## Bootstrap app + +#### bootstraps CDK toolkit + +``` +appfire bootstrap +``` + +## Deploy core stack + +``` +appfire deploy -s core +``` + +## Deploy biz service stack + +``` +appfire deploy -s biz-service +``` + +## Deploy app service stack + +``` +appfire deploy -s app-service +``` + +## Deploy module service stack + +``` +appfire deploy -s module-service +``` + +## Deploy app + +``` +appfire deploy +``` + +## List stacks + +``` +appfire list (or appfire ls) +``` + +## Diff stack + +``` +appfire diff +``` + +## Destroy app stack + +``` +appfire destroy +``` + +## Run the app + +#### The app will run locally on port 9000 using the AWS_PROFILE as set from personal.env.yaml ['environment']['personal']['profile'] + +``` +appfire run +``` + +## Build and Run SDK locally + +```cmd +python setup.py build && python setup.py install +``` + +## Possible Issues + +1. If you are getting `SSL: CERTIFICATE_VERIFY_FAILED` while running install command, run following file + +```cmd +/Applications/Python 3X/Install Certificates.command +``` + + +%package -n python3-appfire-connect-sdk +Summary: SDK for creating and deploying appfire connect apps (jira, confluence and bitbucket) +Provides: python-appfire-connect-sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-appfire-connect-sdk +# Appfire connect app SDK + +## What does it do? + +Creates a Atlassian Connect app template and provides a toolkit for deploying to AWS environment + +## Command Line Arguments + +``` +--verbose, -v : "verbose" +--region, -r : "AWS region", default="us-east-1" +--profile, -p : "AWS profile as the default environment", default="default" +--env, -e : "personal, dev, test, stage or prod", default="personal" +--stack, -s : "CDK stack to deploy", default="app", "core" or "app" +--stage, -stage : "dev, test, stage or prod", default="dev" +--app-suffix, -as : "green" or nothing (not passing the argument) +``` + +###### Note: see personal.env.yml or env.yml for personal or DTS/Prod environments respectively. + +## Run via Python + +``` +create-appfire-app -v +``` + +## Bootstrap app + +#### bootstraps CDK toolkit + +``` +appfire bootstrap +``` + +## Deploy core stack + +``` +appfire deploy -s core +``` + +## Deploy biz service stack + +``` +appfire deploy -s biz-service +``` + +## Deploy app service stack + +``` +appfire deploy -s app-service +``` + +## Deploy module service stack + +``` +appfire deploy -s module-service +``` + +## Deploy app + +``` +appfire deploy +``` + +## List stacks + +``` +appfire list (or appfire ls) +``` + +## Diff stack + +``` +appfire diff +``` + +## Destroy app stack + +``` +appfire destroy +``` + +## Run the app + +#### The app will run locally on port 9000 using the AWS_PROFILE as set from personal.env.yaml ['environment']['personal']['profile'] + +``` +appfire run +``` + +## Build and Run SDK locally + +```cmd +python setup.py build && python setup.py install +``` + +## Possible Issues + +1. If you are getting `SSL: CERTIFICATE_VERIFY_FAILED` while running install command, run following file + +```cmd +/Applications/Python 3X/Install Certificates.command +``` + + +%package help +Summary: Development documents and examples for appfire-connect-sdk +Provides: python3-appfire-connect-sdk-doc +%description help +# Appfire connect app SDK + +## What does it do? + +Creates a Atlassian Connect app template and provides a toolkit for deploying to AWS environment + +## Command Line Arguments + +``` +--verbose, -v : "verbose" +--region, -r : "AWS region", default="us-east-1" +--profile, -p : "AWS profile as the default environment", default="default" +--env, -e : "personal, dev, test, stage or prod", default="personal" +--stack, -s : "CDK stack to deploy", default="app", "core" or "app" +--stage, -stage : "dev, test, stage or prod", default="dev" +--app-suffix, -as : "green" or nothing (not passing the argument) +``` + +###### Note: see personal.env.yml or env.yml for personal or DTS/Prod environments respectively. + +## Run via Python + +``` +create-appfire-app -v +``` + +## Bootstrap app + +#### bootstraps CDK toolkit + +``` +appfire bootstrap +``` + +## Deploy core stack + +``` +appfire deploy -s core +``` + +## Deploy biz service stack + +``` +appfire deploy -s biz-service +``` + +## Deploy app service stack + +``` +appfire deploy -s app-service +``` + +## Deploy module service stack + +``` +appfire deploy -s module-service +``` + +## Deploy app + +``` +appfire deploy +``` + +## List stacks + +``` +appfire list (or appfire ls) +``` + +## Diff stack + +``` +appfire diff +``` + +## Destroy app stack + +``` +appfire destroy +``` + +## Run the app + +#### The app will run locally on port 9000 using the AWS_PROFILE as set from personal.env.yaml ['environment']['personal']['profile'] + +``` +appfire run +``` + +## Build and Run SDK locally + +```cmd +python setup.py build && python setup.py install +``` + +## Possible Issues + +1. If you are getting `SSL: CERTIFICATE_VERIFY_FAILED` while running install command, run following file + +```cmd +/Applications/Python 3X/Install Certificates.command +``` + + +%prep +%autosetup -n appfire-connect-sdk-1.9.1 + +%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-appfire-connect-sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 1.9.1-1 +- Package Spec generated -- cgit v1.2.3