SHA256
1
0
forked from pool/pt2-clone

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
This commit is contained in:
Martin Pluskal 2023-02-17 08:50:18 +00:00 committed by Git OBS Bridge
commit 4e00af5bc2
5 changed files with 91 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

3
pt2-clone-1.57.tar.gz Normal file
View File

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

4
pt2-clone.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Feb 14 23:17:28 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 1.57

60
pt2-clone.spec Normal file
View File

@ -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