Mercurial > hg > pub > prymula > com
comparison immposiblerush/RPM/immposiblerush.spec @ 0:2787f5e749ae
INIT
author | prymula <prymula76@outlook.com> |
---|---|
date | Thu, 21 Sep 2023 22:33:57 +0200 |
parents | |
children | 84a8cf4ae913 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2787f5e749ae |
---|---|
1 # | |
2 # spec file for package n00btetris | |
3 # | |
4 # Copyright (c) 2020 SUSE LLC | |
5 # | |
6 # All modifications and additions to the file contributed by third parties | |
7 # remain the property of their copyright owners, unless otherwise agreed | |
8 # upon. The license for this file, and modifications and additions to the | |
9 # file, is the same license as for the pristine package itself (unless the | |
10 # license for the pristine package is not an Open Source License, in which | |
11 # case the license is the MIT License). An "Open Source License" is a | |
12 # license that conforms to the Open Source Definition (Version 1.9) | |
13 # published by the Open Source Initiative. | |
14 | |
15 # Please submit bugfixes or comments via https://bugs.opensuse.org/ | |
16 # | |
17 | |
18 %define unmangled_version 0.230918-0 | |
19 Name: immposiblerush | |
20 Version: 0.230918 | |
21 Release: 0 | |
22 Summary: Color-matching game | |
23 License: GPL | |
24 URL: https://prymula.ct8.pl | |
25 Source0: %{name}-%{unmangled_version}.tar.gz | |
26 %if 0%{?suse_version}==1530 | |
27 BuildRequires: java-11-openjdk, ant | |
28 Requires: java-11-openjdk | |
29 %else | |
30 BuildRequires: java-11-openjdk, ant | |
31 Requires: java-11-openjdk | |
32 %endif | |
33 BuildArch: noarch | |
34 | |
35 %description | |
36 | |
37 | |
38 %prep | |
39 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} | |
40 | |
41 %build | |
42 ant compile | |
43 ant jar | |
44 | |
45 %install | |
46 mkdir -p %{buildroot}/usr | |
47 mkdir -p %{buildroot}/usr/games | |
48 mkdir -p %{buildroot}/usr/share | |
49 mkdir -p %{buildroot}/usr/share/immposiblerush | |
50 mkdir -p %{buildroot}/usr/share/applications | |
51 | |
52 #%make_install | |
53 | |
54 install -m 0644 build/jar/ImmposibleRush.jar %{buildroot}/usr/games | |
55 install -m 0644 res/immposiblerush.png %{buildroot}/usr/share/immposiblerush | |
56 install -m 0755 ImmposibleRush.desktop %{buildroot}/usr/share/applications | |
57 | |
58 %files | |
59 %defattr(0755,root,root) | |
60 %{_datadir}/immposiblerush/ | |
61 /usr/games/ | |
62 %defattr(0644,root,root) | |
63 /usr/games/ImmposibleRush.jar | |
64 %{_datadir}/immposiblerush/immposiblerush.png | |
65 %{_datadir}/applications/ImmposibleRush.desktop | |
66 | |
67 %changelog | |
68 | |
69 %description | |
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. | |
71 |