diff options
Diffstat (limited to 'python-backlogprocessing.spec')
| -rw-r--r-- | python-backlogprocessing.spec | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/python-backlogprocessing.spec b/python-backlogprocessing.spec new file mode 100644 index 0000000..5b98745 --- /dev/null +++ b/python-backlogprocessing.spec @@ -0,0 +1,210 @@ +%global _empty_manifest_terminate_build 0 +Name: python-backlogprocessing +Version: 0.1.9 +Release: 1 +Summary: processing working time on backlog. +License: MIT +URL: https://github.com/tys-hiroshi/backlogprocessing +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/3e/4778584a18f8e1b74d07488c9c6fa196a37af666d6c0a6a9b45d3d0b0ae4/backlogprocessing-0.1.9.zip +BuildArch: noarch + + +%description +[](https://github.com/tys-hiroshi/backlogprocessing/actions/workflows/pypi-package-publish.yml) + +# Summary + +processing working time on backlog. + +Reference + +https://developer.nulab.com/ja/docs/backlog/ + +## Requirements + +- Python 3.7+ +- pybacklog +- pipenv install python-dateutil +- pipenv install --dev twine + +## Install package + +https://pypi.org/project/backlogprocessing/ + +``` +pip install backlogprocessing +``` + +## Usage + +``` +from backlogprocessingmodule import * + +backlogapiprocessing.run(ConfigFilePath, LoggingConfigFilePath) +``` + + +## For Developer + +When you need to upload this package, see package_release.md + + +### Migrate requirements.txt to Pipfile + +https://www.kabuku.co.jp/developers/python-pipenv-graph + +``` +pipenv install -r requirements.txt +pipenv graph +``` + +%package -n python3-backlogprocessing +Summary: processing working time on backlog. +Provides: python-backlogprocessing +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-backlogprocessing +[](https://github.com/tys-hiroshi/backlogprocessing/actions/workflows/pypi-package-publish.yml) + +# Summary + +processing working time on backlog. + +Reference + +https://developer.nulab.com/ja/docs/backlog/ + +## Requirements + +- Python 3.7+ +- pybacklog +- pipenv install python-dateutil +- pipenv install --dev twine + +## Install package + +https://pypi.org/project/backlogprocessing/ + +``` +pip install backlogprocessing +``` + +## Usage + +``` +from backlogprocessingmodule import * + +backlogapiprocessing.run(ConfigFilePath, LoggingConfigFilePath) +``` + + +## For Developer + +When you need to upload this package, see package_release.md + + +### Migrate requirements.txt to Pipfile + +https://www.kabuku.co.jp/developers/python-pipenv-graph + +``` +pipenv install -r requirements.txt +pipenv graph +``` + +%package help +Summary: Development documents and examples for backlogprocessing +Provides: python3-backlogprocessing-doc +%description help +[](https://github.com/tys-hiroshi/backlogprocessing/actions/workflows/pypi-package-publish.yml) + +# Summary + +processing working time on backlog. + +Reference + +https://developer.nulab.com/ja/docs/backlog/ + +## Requirements + +- Python 3.7+ +- pybacklog +- pipenv install python-dateutil +- pipenv install --dev twine + +## Install package + +https://pypi.org/project/backlogprocessing/ + +``` +pip install backlogprocessing +``` + +## Usage + +``` +from backlogprocessingmodule import * + +backlogapiprocessing.run(ConfigFilePath, LoggingConfigFilePath) +``` + + +## For Developer + +When you need to upload this package, see package_release.md + + +### Migrate requirements.txt to Pipfile + +https://www.kabuku.co.jp/developers/python-pipenv-graph + +``` +pipenv install -r requirements.txt +pipenv graph +``` + +%prep +%autosetup -n backlogprocessing-0.1.9 + +%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-backlogprocessing -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.9-1 +- Package Spec generated |
