/[packages]/cauldron/90secondportraits/current/SPECS/90secondportraits.spec
ViewVC logotype

Contents of /cauldron/90secondportraits/current/SPECS/90secondportraits.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1814733 - (show annotations) (download)
Mon Mar 21 15:50:21 2022 UTC (2 years, 1 month ago) by umeabot
File size: 1990 byte(s)
Mageia 9 Mass Rebuild
1 Name: 90secondportraits
2 Version: 1.01b
3 Release: %mkrel 5
4 Summary: Speed painting game: paint portraits in 90 seconds!
5 Group: Games/Arcade
6 License: zlib and CC-BY-SA 4.0 and CC-BY
7 URL: https://tangramgames.dk/games/90secondportraits/
8 # Repacked with submodules from https://github.com/SimonLarsen/90-Second-Portraits
9 Source0: %{name}-%{version}.tar.xz
10 Source1: %{name}-128.png
11 Source2: README.md
12 Patch0: 90secondportraits-1.01b-mga-Support-fkeys-and-numpad-for-scaling.patch
13
14 BuildArch: noarch
15 BuildRequires: zip
16 Requires: love0.10
17
18 %description
19 Time is money and you have neither!
20 In 90 Second Portraits you're paying the bills by speed painting
21 portraits of bypassing customers!
22
23 You have 90 seconds to paint the customer and his/her preferred background.
24 Your work day ends after 5 customers!
25
26 %files
27 %doc CREDITS.txt LICENSE.txt README.md
28 %{_datadir}/applications/%{name}.desktop
29 %{_gamesbindir}/%{name}
30 %{_gamesdatadir}/%{name}/%{name}.love
31 %{_iconsdir}/hicolor/*/apps/%{name}.png
32
33 #----------------------------------------------------------------------------
34
35 %prep
36 %autosetup -p1
37 cp %{_sourcedir}/README.md .
38
39 %build
40 # Create .love archive
41 zip -9 -q -r %{name}.love .
42
43 # Launcher script
44 cat > %{name}.sh << EOF
45 #!/bin/sh
46 love0.10 %{_gamesdatadir}/%{name}/%{name}.love
47 EOF
48
49 # Desktop entry
50 cat > %{name}.desktop << EOF
51 [Desktop Entry]
52 Name=90 Second Portraits
53 GenericName=Speed painting
54 Comment=Speed painting game: paint portraits in 90 seconds!
55 Exec=%{name}
56 Icon=%{name}
57 Terminal=false
58 Type=Application
59 Categories=Game;ArcadeGame;
60 EOF
61
62 %install
63 install -D -m 644 %{name}.love %{buildroot}%{_gamesdatadir}/%{name}/%{name}.love
64 install -D -m 755 %{name}.sh %{buildroot}%{_gamesbindir}/%{name}
65 install -D -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
66 install -D -m 644 %{_sourcedir}/%{name}-128.png %{buildroot}%{_iconsdir}/hicolor/128x128/apps/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.30