diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:12:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 07:12:49 +0000 |
commit | 6a061c058b6b681c921189b040715bb589c9a08b (patch) | |
tree | 4de611c61bfdb74a3e5ed1ba4e80a9d253d79623 | |
parent | 6b263aa148f0263f7e5979617647df944e9cc704 (diff) |
automatic import of python-glow-navigator
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-glow-navigator.spec | 104 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 106 insertions, 0 deletions
@@ -0,0 +1 @@ +/glow_navigator-1.24.1.tar.gz diff --git a/python-glow-navigator.spec b/python-glow-navigator.spec new file mode 100644 index 0000000..a0032c1 --- /dev/null +++ b/python-glow-navigator.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-glow-navigator +Version: 1.24.1 +Release: 1 +Summary: Tool for navigating Glow object relationships +License: MIT +URL: https://github.com/thoughtcroft/glow_navigator +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/29/b4/b706b5e6a2e1fec7039f6998f91b3b2dc139efc0f37a6d1cb1b6d519b5be/glow_navigator-1.24.1.tar.gz +BuildArch: noarch + +Requires: python3-click +Requires: python3-colorama +Requires: python3-future +Requires: python3-networkx +Requires: python3-pyreadline +Requires: python3-pyyaml +Requires: python3-termcolor +Requires: python3-coverage +Requires: python3-ddt +Requires: python3-pylint +Requires: python3-pytest + +%description +This is a prototype for use with the an app designer tool at my workplace. +The project uses a directed graph approach to map the relationship between different objects such as +- formflows +- templates (pages and forms) +- conditions +- command rules +- images +The user can interrogate the graph using regex to locate nodes of interest and to then explore the connections (nodes) between the predecessors (parents or callers) and the successors (children or callees) to understand the relationship between the various objects. + +%package -n python3-glow-navigator +Summary: Tool for navigating Glow object relationships +Provides: python-glow-navigator +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-glow-navigator +This is a prototype for use with the an app designer tool at my workplace. +The project uses a directed graph approach to map the relationship between different objects such as +- formflows +- templates (pages and forms) +- conditions +- command rules +- images +The user can interrogate the graph using regex to locate nodes of interest and to then explore the connections (nodes) between the predecessors (parents or callers) and the successors (children or callees) to understand the relationship between the various objects. + +%package help +Summary: Development documents and examples for glow-navigator +Provides: python3-glow-navigator-doc +%description help +This is a prototype for use with the an app designer tool at my workplace. +The project uses a directed graph approach to map the relationship between different objects such as +- formflows +- templates (pages and forms) +- conditions +- command rules +- images +The user can interrogate the graph using regex to locate nodes of interest and to then explore the connections (nodes) between the predecessors (parents or callers) and the successors (children or callees) to understand the relationship between the various objects. + +%prep +%autosetup -n glow-navigator-1.24.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-glow-navigator -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.24.1-1 +- Package Spec generated @@ -0,0 +1 @@ +0792ae26b0d8e084e5406f1437ea2de2 glow_navigator-1.24.1.tar.gz |