annotate trix/RPM/trix.spec @ 11:78390e0e674f

remove DPF
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 20:21:56 +0100
parents 542e305f23f4
children bef3b1af6326
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
2 # spec file for package trix
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
3 #
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
4 # Copyright (c) 2020 SUSE LLC
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
5 #
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
6 # All modifications and additions to the file contributed by third parties
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
7 # remain the property of their copyright owners, unless otherwise agreed
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
8 # upon. The license for this file, and modifications and additions to the
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
9 # file, is the same license as for the pristine package itself (unless the
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
10 # license for the pristine package is not an Open Source License, in which
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
11 # case the license is the MIT License). An "Open Source License" is a
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
12 # license that conforms to the Open Source Definition (Version 1.9)
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
13 # published by the Open Source Initiative.
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
14
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
15 # Please submit bugfixes or comments via https://bugs.opensuse.org/
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
16 #
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
17
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
18 %define unmangled_version 0.230821-0~beta
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
19 Name: trix
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
20 Version: 0.230821
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
21 Release: 0~beta
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
22 Summary: clicking on blocks
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
23 License: CC-PDDC
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
24 URL: http://prymula.ct8.pl
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
25 Source0: %{name}-%{unmangled_version}.tar.gz
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
26 %if 0%{?suse_version}==1530
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
27 BuildRequires: libSDL2-devel, libSDL2_ttf-devel, libSDL2_image-devel, pkgconfig, pkgconfig(sdl2)
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
28 Requires: libSDL2-2_0-0, libSDL2_ttf-2_0-0, libSDL2_image-2_0-0
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
29 %else
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
30 BuildRequires: SDL2-devel, SDL2_ttf-devel, SDL2_image-devel, pkgconfig, pkgconfig(sdl2)
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
31 Requires: SDL2, SDL2_ttf, SDL_image
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
32 %endif
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
33 BuildArch: x86_64
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
34
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
35 %description
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
36
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
37
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
38 %prep
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
39 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
40
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
41 %build
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
42 make
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
43
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
44 %install
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
45 mkdir -p %{buildroot}%{_bindir}
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
46 mkdir -p %{buildroot}%{_datadir}
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
47 mkdir -p %{buildroot}%{_datadir}/trix
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
48 mkdir -p %{buildroot}%{_datadir}/trix/img
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
49 mkdir -p %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
50
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
51 #mkdir -p %{buildroot}/usr
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
52 #mkdir -p %{buildroot}/usr/share
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
53 mkdir -p %{buildroot}%{_datadir}/applications
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
54
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
55 #%make_install
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
56
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
57 install -m 0755 trix %{buildroot}%{_bindir}
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
58 install -m 0644 img/trix-icon.png %{buildroot}%{_datadir}/trix/img
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
59 install -m 0644 img/trix-icon.bmp %{buildroot}%{_datadir}/trix/img
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
60 install -m 0644 img/icons.bmp %{buildroot}%{_datadir}/trix/img
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
61 install -m 0644 img/bg/image1.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
62 install -m 0644 img/bg/image2.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
63 install -m 0644 img/bg/image3.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
64 install -m 0644 img/bg/image4.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
65 install -m 0644 img/bg/image5.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
66 install -m 0644 img/bg/image6.jpeg %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
67 install -m 0644 img/bg/catalogue.txt %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
68 install -m 0644 img/bg/AUTHOR.txt %{buildroot}%{_datadir}/trix/img/bg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
69 install -m 0644 Trix.desktop %{buildroot}/usr/share/applications
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
70 install -m 0644 ZapfHumanist.ttf %{buildroot}%{_datadir}/trix
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
71
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
72
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
73
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
74 %files
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
75 %defattr(0755,root,root)
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
76 %{_bindir}/trix
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
77 %{_datadir}/trix/
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
78 %{_datadir}/trix/img/
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
79 %{_datadir}/trix/img/bg/
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
80 %defattr(0644,root,root)
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
81 %{_datadir}/trix/img/trix-icon.png
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
82 %{_datadir}/trix/img/trix-icon.bmp
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
83 %{_datadir}/trix/img/icons.bmp
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
84 %{_datadir}/trix/img/bg/image1.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
85 %{_datadir}/trix/img/bg/image2.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
86 %{_datadir}/trix/img/bg/image3.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
87 %{_datadir}/trix/img/bg/image4.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
88 %{_datadir}/trix/img/bg/image5.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
89 %{_datadir}/trix/img/bg/image6.jpeg
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
90 %{_datadir}/trix/img/bg/catalogue.txt
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
91 %{_datadir}/trix/img/bg/AUTHOR.txt
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
92 %{_datadir}/applications/Trix.desktop
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
93 %{_datadir}/trix/ZapfHumanist.ttf
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
94
542e305f23f4 arkanoid-trix-debian-dir
prymula <prymula76@outlook.com>
parents:
diff changeset
95 %changelog