annotate immposiblerush/RPM/immposiblerush.spec @ 18:b5e2aba31fdb

lamertetris-0.230821-3 package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 15:35:26 +0200
parents 4dc186728822
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #
prymula <prymula76@outlook.com>
parents:
diff changeset
2 # spec file for package n00btetris
prymula <prymula76@outlook.com>
parents:
diff changeset
3 #
prymula <prymula76@outlook.com>
parents:
diff changeset
4 # Copyright (c) 2020 SUSE LLC
prymula <prymula76@outlook.com>
parents:
diff changeset
5 #
prymula <prymula76@outlook.com>
parents:
diff changeset
6 # All modifications and additions to the file contributed by third parties
prymula <prymula76@outlook.com>
parents:
diff changeset
7 # remain the property of their copyright owners, unless otherwise agreed
prymula <prymula76@outlook.com>
parents:
diff changeset
8 # upon. The license for this file, and modifications and additions to the
prymula <prymula76@outlook.com>
parents:
diff changeset
9 # file, is the same license as for the pristine package itself (unless the
prymula <prymula76@outlook.com>
parents:
diff changeset
10 # license for the pristine package is not an Open Source License, in which
prymula <prymula76@outlook.com>
parents:
diff changeset
11 # case the license is the MIT License). An "Open Source License" is a
prymula <prymula76@outlook.com>
parents:
diff changeset
12 # license that conforms to the Open Source Definition (Version 1.9)
prymula <prymula76@outlook.com>
parents:
diff changeset
13 # published by the Open Source Initiative.
prymula <prymula76@outlook.com>
parents:
diff changeset
14
prymula <prymula76@outlook.com>
parents:
diff changeset
15 # Please submit bugfixes or comments via https://bugs.opensuse.org/
prymula <prymula76@outlook.com>
parents:
diff changeset
16 #
prymula <prymula76@outlook.com>
parents:
diff changeset
17
10
4dc186728822 immposiblerush-0.230919-2
prymula <prymula76@outlook.com>
parents: 1
diff changeset
18 %define unmangled_version 0.230919-2
0
prymula <prymula76@outlook.com>
parents:
diff changeset
19 Name: immposiblerush
1
84a8cf4ae913 immposiblerush-0.230919-0.1
prymula <prymula76@outlook.com>
parents: 0
diff changeset
20 Version: 0.230919
10
4dc186728822 immposiblerush-0.230919-2
prymula <prymula76@outlook.com>
parents: 1
diff changeset
21 Release: 2
0
prymula <prymula76@outlook.com>
parents:
diff changeset
22 Summary: Color-matching game
prymula <prymula76@outlook.com>
parents:
diff changeset
23 License: GPL
prymula <prymula76@outlook.com>
parents:
diff changeset
24 URL: https://prymula.ct8.pl
prymula <prymula76@outlook.com>
parents:
diff changeset
25 Source0: %{name}-%{unmangled_version}.tar.gz
prymula <prymula76@outlook.com>
parents:
diff changeset
26 %if 0%{?suse_version}==1530
prymula <prymula76@outlook.com>
parents:
diff changeset
27 BuildRequires: java-11-openjdk, ant
prymula <prymula76@outlook.com>
parents:
diff changeset
28 Requires: java-11-openjdk
prymula <prymula76@outlook.com>
parents:
diff changeset
29 %else
prymula <prymula76@outlook.com>
parents:
diff changeset
30 BuildRequires: java-11-openjdk, ant
prymula <prymula76@outlook.com>
parents:
diff changeset
31 Requires: java-11-openjdk
prymula <prymula76@outlook.com>
parents:
diff changeset
32 %endif
prymula <prymula76@outlook.com>
parents:
diff changeset
33 BuildArch: noarch
prymula <prymula76@outlook.com>
parents:
diff changeset
34
prymula <prymula76@outlook.com>
parents:
diff changeset
35 %description
prymula <prymula76@outlook.com>
parents:
diff changeset
36
prymula <prymula76@outlook.com>
parents:
diff changeset
37
prymula <prymula76@outlook.com>
parents:
diff changeset
38 %prep
prymula <prymula76@outlook.com>
parents:
diff changeset
39 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
prymula <prymula76@outlook.com>
parents:
diff changeset
40
prymula <prymula76@outlook.com>
parents:
diff changeset
41 %build
prymula <prymula76@outlook.com>
parents:
diff changeset
42 ant compile
prymula <prymula76@outlook.com>
parents:
diff changeset
43 ant jar
prymula <prymula76@outlook.com>
parents:
diff changeset
44
prymula <prymula76@outlook.com>
parents:
diff changeset
45 %install
prymula <prymula76@outlook.com>
parents:
diff changeset
46 mkdir -p %{buildroot}/usr
prymula <prymula76@outlook.com>
parents:
diff changeset
47 mkdir -p %{buildroot}/usr/games
prymula <prymula76@outlook.com>
parents:
diff changeset
48 mkdir -p %{buildroot}/usr/share
prymula <prymula76@outlook.com>
parents:
diff changeset
49 mkdir -p %{buildroot}/usr/share/immposiblerush
prymula <prymula76@outlook.com>
parents:
diff changeset
50 mkdir -p %{buildroot}/usr/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
51
prymula <prymula76@outlook.com>
parents:
diff changeset
52 #%make_install
prymula <prymula76@outlook.com>
parents:
diff changeset
53
prymula <prymula76@outlook.com>
parents:
diff changeset
54 install -m 0644 build/jar/ImmposibleRush.jar %{buildroot}/usr/games
prymula <prymula76@outlook.com>
parents:
diff changeset
55 install -m 0644 res/immposiblerush.png %{buildroot}/usr/share/immposiblerush
prymula <prymula76@outlook.com>
parents:
diff changeset
56 install -m 0755 ImmposibleRush.desktop %{buildroot}/usr/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
57
prymula <prymula76@outlook.com>
parents:
diff changeset
58 %files
prymula <prymula76@outlook.com>
parents:
diff changeset
59 %defattr(0755,root,root)
prymula <prymula76@outlook.com>
parents:
diff changeset
60 %{_datadir}/immposiblerush/
prymula <prymula76@outlook.com>
parents:
diff changeset
61 /usr/games/
prymula <prymula76@outlook.com>
parents:
diff changeset
62 %defattr(0644,root,root)
prymula <prymula76@outlook.com>
parents:
diff changeset
63 /usr/games/ImmposibleRush.jar
prymula <prymula76@outlook.com>
parents:
diff changeset
64 %{_datadir}/immposiblerush/immposiblerush.png
prymula <prymula76@outlook.com>
parents:
diff changeset
65 %{_datadir}/applications/ImmposibleRush.desktop
prymula <prymula76@outlook.com>
parents:
diff changeset
66
prymula <prymula76@outlook.com>
parents:
diff changeset
67 %changelog
prymula <prymula76@outlook.com>
parents:
diff changeset
68
prymula <prymula76@outlook.com>
parents:
diff changeset
69 %description
prymula <prymula76@outlook.com>
parents:
diff changeset
70 Match the color on the square in such a way that it matches the color of the ball. Control, key 'A' - turn left, key 'D' - turn right.
prymula <prymula76@outlook.com>
parents:
diff changeset
71