From c7308951b662c9a47158245d8ffdfc109a4551e20378a4d601f12c2dee307064 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 17 Feb 2023 08:50:52 +0000 Subject: [PATCH] Accepting request 1066062 from home:mnhauke Initial package for ft2-clone OBS-URL: https://build.opensuse.org/request/show/1066062 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/ft2-clone?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + ft2-clone-1.63.tar.gz | 3 ++ ft2-clone.changes | 12 ++++++++ ft2-clone.desktop | 10 +++++++ ft2-clone.spec | 64 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 113 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ft2-clone-1.63.tar.gz create mode 100644 ft2-clone.changes create mode 100644 ft2-clone.desktop create mode 100644 ft2-clone.spec 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/ft2-clone-1.63.tar.gz b/ft2-clone-1.63.tar.gz new file mode 100644 index 0000000..4696587 --- /dev/null +++ b/ft2-clone-1.63.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eecff99aa37b0dc989066b35237bbcbd407e87b1d9e443c7e75ca09413d1b34b +size 6029757 diff --git a/ft2-clone.changes b/ft2-clone.changes new file mode 100644 index 0000000..d3cee54 --- /dev/null +++ b/ft2-clone.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Tue Feb 14 21:42:47 UTC 2023 - Martin Hauke + +- Update to version 1.63 +- Build with system-wide flac +- Use pkg-config style dependencies + +------------------------------------------------------------------- +Sat Oct 9 14:04:02 UTC 2021 - Arachnos + +- Initial package with Fasttracker II clone v1.47 + diff --git a/ft2-clone.desktop b/ft2-clone.desktop new file mode 100644 index 0000000..f2db29d --- /dev/null +++ b/ft2-clone.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=Fasttracker II clone +Comment=A clone of the classic music making software Fasttracker II +Exec=ft2-clone +Icon=ft2-clone +Terminal=false +Categories=AudioVideo;AudioVideoEditing; +Keywords=tracker;music; +MimeType=audio/xm;audio/mod;audio/s3m;audio/stm; diff --git a/ft2-clone.spec b/ft2-clone.spec new file mode 100644 index 0000000..53566d9 --- /dev/null +++ b/ft2-clone.spec @@ -0,0 +1,64 @@ +# +# spec file for package ft2-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: ft2-clone +Version: 1.63 +Release: 0 +Summary: Fasttracker II clone +License: BSD-3-Clause AND CC-BY-NC-SA-4.0 +Group: Productivity/Multimedia/Sound/Editors and Convertors +URL: https://16-bits.org/ft2.php +#Git-Clone: https://github.com/8bitbubsy/ft2-clone.git +Source: https://github.com/8bitbubsy/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: icns-utils +BuildRequires: pkgconfig +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(sdl2) +Provides: bundled(rtmidi) + +%description +Multi-platform clone of the classic music making software +Fasttracker II. It can load XM, MOD, S3M, STM module files. + +%prep +%setup -q +icns2png -x "release/macos/ft2-clone-macos.app/Contents/Resources/ft2-clone-macos.icns" +rm -R src/libflac + +%build +%cmake -DEXTERNAL_LIBFLAC=ON +%cmake_build + +%install +%cmake_install + +install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop +install -Dpm 0644 ft2-clone-macos_256x256x32.png %{buildroot}%{_datadir}/pixmaps/%{name}.png + +%files +%license LICENSE LICENSES.txt src/gfxdata/bmp/LICENSE.txt +%doc README.md release/problems.txt +%{_bindir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png + +%changelog