commit 36a2d809f7b84b6d101d0b381f588388b5498efc9bea52419ad995e7b6197f2f Author: Todd R Date: Thu May 24 20:56:27 2018 +0000 Accepting request 612029 from devel:languages:python:misc terminal session recorder OBS-URL: https://build.opensuse.org/request/show/612029 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TermRecord?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/TermRecord-1.2.5.tar.gz b/TermRecord-1.2.5.tar.gz new file mode 100644 index 0000000..824192d --- /dev/null +++ b/TermRecord-1.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e099080f22ac9d1f14249c548c35bf6950ce20f31065288fdd7b1c30c591a33 +size 51620 diff --git a/python-TermRecord.changes b/python-TermRecord.changes new file mode 100644 index 0000000..2e8a4f4 --- /dev/null +++ b/python-TermRecord.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Thu May 24 17:50:13 UTC 2018 - toddrme2178@gmail.com + +- Update to 1.2.5 + * make sure we include LICENSE files when packaging + * Adding optional named tempfiles +- spec file cleanups + +------------------------------------------------------------------- +Wed May 3 01:55:24 UTC 2017 - ralf.dannert@suse.com + +- initial package submission +- new Version 1.2.4 + diff --git a/python-TermRecord.spec b/python-TermRecord.spec new file mode 100644 index 0000000..b0503a7 --- /dev/null +++ b/python-TermRecord.spec @@ -0,0 +1,78 @@ +# +# spec file for package python-TermRecord +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-TermRecord +Version: 1.2.5 +Release: 0 +License: MIT +Summary: A simple terminal session recorder with easy-to-share HTML output! +Url: http://github.com/theonewolf/TermRecord +Group: Development/Languages/Python +Source: https://pypi.python.org/packages/source/T/TermRecord/TermRecord-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module Jinja2 >= 2.6} +# /SECTION +Requires: python-Jinja2 >= 2.6 +BuildArch: noarch +Requires(post): update-alternatives +Requires(postun): update-alternatives + +%python_subpackages + +%description +TermRecord is a program that wraps the ``script`` command. It automagically +detects your terminal size, records your session, and stores the output as +either JSON, embeddable JavaScript, or a static HTML file. The HTML is +completely self-contained, embedding all necessary dependencies in one file +and can be shipped to anyone that has a modern browser. It even embeds a +font! + +You can store these files as your own notes, email them to collaborators, +use them as instructional examples, or whatever you want! Because they are +self-contained there are no third-party middlemen involved, you are free to +share and keep them forever---they will never go away! +Development + +%prep +%setup -q -n TermRecord-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_clone -a %{buildroot}%{_bindir}/TermRecord + +%post +%python_install_alternative TermRecord + +%postun +%python_uninstall_alternative TermRecord + +%files %{python_files} +%license LICENSE +%python_alternative %{_bindir}/TermRecord +%{python_sitelib}/* + +%changelog +