15
0

Accepting request 914054 from home:mnhauke

Initial package for python-compressed_rtf

OBS-URL: https://build.opensuse.org/request/show/914054
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-compressed_rtf?expand=0&rev=1
This commit is contained in:
2021-08-28 13:47:41 +00:00
committed by Git OBS Bridge
commit c3b1090036
7 changed files with 104 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@@ -0,0 +1,14 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/delimitry/compressed_rtf.git</param>
<param name="scm">git</param>
<param name="revision">ad93a504ca6a09aff9561eac586ff6d91861d147</param>
<param name="versionformat">1.0.6</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/delimitry/compressed_rtf.git</param>
<param name="changesrevision">ad93a504ca6a09aff9561eac586ff6d91861d147</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9be5a6380904ef07ad7ea1326c87d0ac56f49a3f2a81b5ff37051099dc5c4e73
size 6564

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Aug 24 14:40:40 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 1.0.6

View File

@@ -0,0 +1,55 @@
#
# spec file for package python-compressed_rtf
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-compressed_rtf
Version: 1.0.6
Release: 0
Summary: Compressed Rich Text Format (RTF) compression and decompression package
License: MIT
URL: https://github.com/delimitry/compressed_rtf
Source: compressed_rtf-%{version}.tar.xz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
Compressed Rich Text Format (RTF) compression and decompression package
%prep
%setup -q -n compressed_rtf-%{version}
sed -i -e '/^#!\//, 1d' compressed_rtf/{compressed_rtf.py,crc32.py}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest -v
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/compressed_rtf*
%changelog