Accepting request 1066060 from home:mnhauke

Initial package for ft2play

OBS-URL: https://build.opensuse.org/request/show/1066060
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/ft2play?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2023-02-17 08:51:00 +00:00 committed by Git OBS Bridge
commit 9f6342dd77
6 changed files with 113 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

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/8bitbubsy/ft2play.git</param>
<param name="revision">main</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">0~git%cd</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/8bitbubsy/ft2play.git</param>
<param name="changesrevision">e2998ff3f3e2b568723d2060176b192115136336</param></service></servicedata>

View File

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

19
ft2play.changes Normal file
View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Wed Feb 15 12:10:19 UTC 2023 - mardnh@gmx.de
- Update to version 0~git20230215:
* Added CMakeLists.txt by roox
- Drop not longer needed patch:
* 0001-Create-CMakeLists.txt.patch
-------------------------------------------------------------------
Tue Feb 14 22:10:18 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Update to version 0~git20220407
- Use _service file to generate tarball from git
-------------------------------------------------------------------
Mon Oct 11 14:01:50 UTC 2021 - Arachnos
- Initial package with ft2play git20210713.e997a5c

50
ft2play.spec Normal file
View File

@ -0,0 +1,50 @@
#
# spec file for package ft2play
#
# Copyright (c) 2023 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/
#
Name: ft2play
Version: 0~git20230215
Release: 0
Summary: Bit-accurate C port of Fasttracker's XM replayer
License: BSD-3-Clause
Group: Productivity/Multimedia/Sound/Players
URL: https://github.com/8bitbubsy/ft2play
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake >= 3.7
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl2)
%description
Bit-accurate C port of Fasttracker's XM replayer (SB16/WAV render mode).
This is a direct port of the original asm/Pascal source codes.
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog