summaryrefslogtreecommitdiff
path: root/python-tmuxp.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-tmuxp.spec')
-rw-r--r--python-tmuxp.spec162
1 files changed, 162 insertions, 0 deletions
diff --git a/python-tmuxp.spec b/python-tmuxp.spec
new file mode 100644
index 0000000..562e324
--- /dev/null
+++ b/python-tmuxp.spec
@@ -0,0 +1,162 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tmuxp
+Version: 1.27.0
+Release: 1
+Summary: tmux session manager
+License: MIT
+URL: http://github.com/tmux-python/tmuxp/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ea/e3/80b5828fd233a86cb0dc43abef8df0a0e03c674ac8c2d4bc1a7726f7aa9e/tmuxp-1.27.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-PyYAML
+Requires: python3-colorama
+Requires: python3-libtmux
+
+%description
+environment:
+ system: Linux
+ arch: x86_64
+# ... so on
+```
+# Docs / Reading material
+See the [Quickstart](http://tmuxp.git-pull.com/quickstart.html).
+[Documentation](http://tmuxp.git-pull.com) homepage (also in
+[中文](http://tmuxp-zh.rtfd.org/))
+Want to learn more about tmux itself? [Read The Tao of Tmux
+online](http://tmuxp.git-pull.com/about_tmux.html).
+# Donations
+Your donations fund development of new features, testing and support.
+Your money will go directly to maintenance and development of the
+project. If you are an individual, feel free to give whatever feels
+right for the value you get out of the project.
+See donation options at <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/tmuxp>
+- Docs: <https://tmuxp.git-pull.com>
+- API: <https://tmuxp.git-pull.com/api.html>
+- Changelog: <https://tmuxp.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/tmuxp/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/tmuxp>
+- pypi: <https://pypi.python.org/pypi/tmuxp>
+- Open Hub: <https://www.openhub.net/p/tmuxp-python>
+- Repology: <https://repology.org/project/tmuxp/versions>
+- License: [MIT](http://opensource.org/licenses/MIT).
+
+%package -n python3-tmuxp
+Summary: tmux session manager
+Provides: python-tmuxp
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tmuxp
+environment:
+ system: Linux
+ arch: x86_64
+# ... so on
+```
+# Docs / Reading material
+See the [Quickstart](http://tmuxp.git-pull.com/quickstart.html).
+[Documentation](http://tmuxp.git-pull.com) homepage (also in
+[中文](http://tmuxp-zh.rtfd.org/))
+Want to learn more about tmux itself? [Read The Tao of Tmux
+online](http://tmuxp.git-pull.com/about_tmux.html).
+# Donations
+Your donations fund development of new features, testing and support.
+Your money will go directly to maintenance and development of the
+project. If you are an individual, feel free to give whatever feels
+right for the value you get out of the project.
+See donation options at <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/tmuxp>
+- Docs: <https://tmuxp.git-pull.com>
+- API: <https://tmuxp.git-pull.com/api.html>
+- Changelog: <https://tmuxp.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/tmuxp/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/tmuxp>
+- pypi: <https://pypi.python.org/pypi/tmuxp>
+- Open Hub: <https://www.openhub.net/p/tmuxp-python>
+- Repology: <https://repology.org/project/tmuxp/versions>
+- License: [MIT](http://opensource.org/licenses/MIT).
+
+%package help
+Summary: Development documents and examples for tmuxp
+Provides: python3-tmuxp-doc
+%description help
+environment:
+ system: Linux
+ arch: x86_64
+# ... so on
+```
+# Docs / Reading material
+See the [Quickstart](http://tmuxp.git-pull.com/quickstart.html).
+[Documentation](http://tmuxp.git-pull.com) homepage (also in
+[中文](http://tmuxp-zh.rtfd.org/))
+Want to learn more about tmux itself? [Read The Tao of Tmux
+online](http://tmuxp.git-pull.com/about_tmux.html).
+# Donations
+Your donations fund development of new features, testing and support.
+Your money will go directly to maintenance and development of the
+project. If you are an individual, feel free to give whatever feels
+right for the value you get out of the project.
+See donation options at <https://git-pull.com/support.html>.
+# Project details
+- tmux support: 1.8+
+- python support: >= 3.7, pypy, pypy3
+- Source: <https://github.com/tmux-python/tmuxp>
+- Docs: <https://tmuxp.git-pull.com>
+- API: <https://tmuxp.git-pull.com/api.html>
+- Changelog: <https://tmuxp.git-pull.com/history.html>
+- Issues: <https://github.com/tmux-python/tmuxp/issues>
+- Test Coverage: <https://codecov.io/gh/tmux-python/tmuxp>
+- pypi: <https://pypi.python.org/pypi/tmuxp>
+- Open Hub: <https://www.openhub.net/p/tmuxp-python>
+- Repology: <https://repology.org/project/tmuxp/versions>
+- License: [MIT](http://opensource.org/licenses/MIT).
+
+%prep
+%autosetup -n tmuxp-1.27.0
+
+%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-tmuxp -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.27.0-1
+- Package Spec generated