commit 4e00af5bc23cadbb036a591b92e5a826708f26fc68d1103007026e2d6348afa3 Author: Martin Pluskal Date: Fri Feb 17 08:50:18 2023 +0000 Accepting request 1066063 from home:mnhauke Initial package for pt2-clone OBS-URL: https://build.opensuse.org/request/show/1066063 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/pt2-clone?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/pt2-clone-1.57.tar.gz b/pt2-clone-1.57.tar.gz new file mode 100644 index 0000000..4346cdc --- /dev/null +++ b/pt2-clone-1.57.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bddc1f446251a1ed582cf1b9bb3bc7d4714ed838e76583b34026e5b3a6573fa +size 8882994 diff --git a/pt2-clone.changes b/pt2-clone.changes new file mode 100644 index 0000000..59f1ac1 --- /dev/null +++ b/pt2-clone.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 14 23:17:28 UTC 2023 - Martin Hauke + +- Initial package, version 1.57 diff --git a/pt2-clone.spec b/pt2-clone.spec new file mode 100644 index 0000000..2cf4fc9 --- /dev/null +++ b/pt2-clone.spec @@ -0,0 +1,60 @@ +# +# spec file for package pt2-clone +# +# 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: pt2-clone +Version: 1.57 +Release: 0 +Summary: ProTracker 2 clone +License: BSD-3-Clause AND CC-BY-NC-SA-4.0 +Group: Productivity/Multimedia/Sound/Editors and Convertors +URL: https://16-bits.org/pt2.php +#Git-Clone: https://github.com/8bitbubsy/pt2-clone.git +Source: https://github.com/8bitbubsy/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(sdl2) + +%description +Multi-platform clone of the classic music making software +ProTracker 2.3D. + +%prep +%setup -q +# HACK: fix icon +sed 's|Icon=ProTracker 2 clone|Icon=pt2-clone|g' \ + -i "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" + +%build +%cmake +%cmake_build + +%install +%cmake_install +install -Dpm 0644 "release/other/Freedesktop.org Resources/ProTracker 2 clone.desktop" %{buildroot}%{_datadir}/applications/%{name}.desktop +install -Dpm 0644 "release/other/Freedesktop.org Resources/ProTracker 2 clone.png" %{buildroot}%{_datadir}/pixmaps/%{name}.png + +%files +%license LICENSE LICENSES.txt +%doc README.md release/{effects.txt,help.txt,keybindings.txt} +%doc release/other/protracker.ini +%{_bindir}/pt2-clone +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png + +%changelog