forked from pool/python-TermRecord
- fix usage of libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-TermRecord?expand=0&rev=14
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
TermRecord-1.2.5.tar.gz
Normal file
3
TermRecord-1.2.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e099080f22ac9d1f14249c548c35bf6950ce20f31065288fdd7b1c30c591a33
|
||||
size 51620
|
||||
40
python-TermRecord.changes
Normal file
40
python-TermRecord.changes
Normal file
@@ -0,0 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 15:32:41 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- fix usage of libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 12 15:01:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 15:56:09 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Run through spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:07 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 29 12:52:48 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Reword description not to assume any particular use.
|
||||
Drop fantasizing about possible use cases.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
69
python-TermRecord.spec
Normal file
69
python-TermRecord.spec
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package python-TermRecord
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
Name: python-TermRecord
|
||||
Version: 1.2.5
|
||||
Release: 0
|
||||
Summary: A terminal session recorder with HTML output
|
||||
License: MIT
|
||||
URL: https://github.com/theonewolf/TermRecord
|
||||
Source: https://files.pythonhosted.org/packages/source/T/TermRecord/TermRecord-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-Jinja2 >= 2.6
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Jinja2 >= 2.6}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
TermRecord is a program that wraps the `script` command. It automagically
|
||||
detects the terminal size, records the session, and stores the output as
|
||||
either JSON, embeddable JavaScript, or a static HTML file. The HTML is
|
||||
self-contained, embedding all necessary dependencies in one file so that
|
||||
it can be shipped to anyone that has a browser. Fonts are embedded, too.
|
||||
|
||||
%prep
|
||||
%setup -q -n TermRecord-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/TermRecord
|
||||
|
||||
%pre
|
||||
# Removing old update-alternatives entries.
|
||||
%python_libalternatives_reset_alternative TermRecord
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/TermRecord
|
||||
%{python_sitelib}/[Tt]erm[Rr]ecord
|
||||
%{python_sitelib}/[Tt]erm[Rr]ecord-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user