Import initial pacakge
This commit is contained in:
parent
8bb8f4feb8
commit
f6d0289753
5 changed files with 168 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/90-Second-Portraits-1.01b.zip
|
||||
92
90-Second-Portraits-appdata.patch
Normal file
92
90-Second-Portraits-appdata.patch
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
--- a/appdata/90-Second-Portraits
|
||||
+++ b/appdata/90-Second-Portraits
|
||||
@@ -0,0 +1,13 @@
|
||||
+#!/bin/sh
|
||||
+if [ $# -ne 0 ]
|
||||
+then
|
||||
+ if [ "$1" == "-h" ]||[ "$1" == "--help" ]
|
||||
+ then
|
||||
+ man 6 90-Second-Portraits
|
||||
+ exit
|
||||
+ fi
|
||||
+ echo "Invalid option(s): $*" 1>&2
|
||||
+ echo Usage: `basename $0` [-h] 1>&2
|
||||
+ exit 1
|
||||
+fi
|
||||
+love /usr/share/90-Second-Portraits/90-Second-Portraits.love
|
||||
--- a/appdata/90-Second-Portraits.6
|
||||
+++ b/appdata/90-Second-Portraits.6
|
||||
@@ -0,0 +1,18 @@
|
||||
+.TH 90-Second-Portraits 6 "VERSION" "90 Second Portraits"
|
||||
+.SH NAME
|
||||
+90-Second-Portraits - 90 Second Portraits v VERSION
|
||||
+.SH SYNOPSIS
|
||||
+Frantic street painting game
|
||||
+.SH DESCRIPTION
|
||||
+90 Second Portraits is a silly speed painting game developed for Ludum Dare 31
|
||||
+Jam competition. Time is money and you have neither! In 90 SECOND PORTRAITS
|
||||
+you’re paying the bills by speed painting portraits of bypassing customers!
|
||||
+You have 90 seconds to paint the customer and his/her preferred background!
|
||||
+Your work day ends after 5 customers!
|
||||
+This game is made with LOVE. You can find more games and
|
||||
+information about the author(s) at http://tangramgames.dk/
|
||||
+.SH OPTIONS
|
||||
+.BR \-h ", " \-\-help
|
||||
+Show manpage.
|
||||
+.SH SEE ALSO
|
||||
+.BR love(6)
|
||||
--- a/appdata/90-Second-Portraits.appdata.xml
|
||||
+++ b/appdata/90-Second-Portraits.appdata.xml
|
||||
@@ -0,0 +1,41 @@
|
||||
+<?xml version="1.0" encoding="UTF-8"?>
|
||||
+<component type="desktop">
|
||||
+ <id>90-Second-Portraits.desktop</id>
|
||||
+ <metadata_license>CC-BY-SA</metadata_license>
|
||||
+ <project_license>zlib</project_license>
|
||||
+ <name>90 Second Portraits</name>
|
||||
+ <summary>Frantic street painting game</summary>
|
||||
+ <description>
|
||||
+ <p>
|
||||
+ 90 Second Portraits is a silly speed painting game developed for Ludum Dare 31
|
||||
+ Jam competition. Time is money and you have neither! In 90 SECOND PORTRAITS
|
||||
+ you’re paying the bills by speed painting portraits of bypassing customers!
|
||||
+ You have 90 seconds to paint the customer and his/her preferred background!
|
||||
+ Your work day ends after 5 customers!
|
||||
+ </p>
|
||||
+ </description>
|
||||
+ <screenshots>
|
||||
+ <screenshot type="default">
|
||||
+ <image>http://tangramgames.dk/games/90secondportraits/images/header.png</image>
|
||||
+ <caption>Title Screen</caption>
|
||||
+ </screenshot>
|
||||
+ <screenshot>
|
||||
+ <image>http://tangramgames.dk/games/90secondportraits/images/1.png</image>
|
||||
+ <caption>Example gameplay 1</caption>
|
||||
+ </screenshot>
|
||||
+ <screenshot>
|
||||
+ <image>http://tangramgames.dk/games/90secondportraits/images/2.png</image>
|
||||
+ <caption>Example gameplay 2</caption>
|
||||
+ </screenshot>
|
||||
+ <screenshot>
|
||||
+ <image>http://tangramgames.dk/games/90secondportraits/images/3.png</image>
|
||||
+ <caption>Example gameplay 3</caption>
|
||||
+ </screenshot>
|
||||
+ <screenshot>
|
||||
+ <image>http://tangramgames.dk/games/90secondportraits/images/4.png</image>
|
||||
+ <caption>Example gameplay 4</caption>
|
||||
+ </screenshot>
|
||||
+ </screenshots>
|
||||
+ <url type="homepage">http://tangramgames.dk/games/90secondportraits/</url>
|
||||
+ <url type="bugtracker">https://github.com/SimonLarsen/90-Second-Portraits/issues</url>
|
||||
+</component>
|
||||
--- a/appdata/90-Second-Portraits.desktop
|
||||
+++ b/appdata/90-Second-Portraits.desktop
|
||||
@@ -0,0 +1,8 @@
|
||||
+[Desktop Entry]
|
||||
+Name=90 Second Portraits
|
||||
+Comment=Frantic street painting game
|
||||
+Exec=90-Second-Portraits
|
||||
+Type=Application
|
||||
+Categories=Game;ArcadeGame;
|
||||
+Terminal=false
|
||||
+Icon=90-Second-Portraits
|
||||
74
90-Second-Portraits.spec
Normal file
74
90-Second-Portraits.spec
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
Name: 90-Second-Portraits
|
||||
Version: 1.01b
|
||||
Release: 2%{?dist}
|
||||
Summary: Frantic street painting game
|
||||
|
||||
#See LICENSE file in source for details
|
||||
#All code is zlib excluding slam.lua, which is MIT
|
||||
#All assets are CC-BY-SA 4.0, excluding music, which is CC-BY 3.0
|
||||
License: zlib and MIT and CC-BY-SA and CC-BY
|
||||
URL: http://tangramgames.dk/games/90secondportraits/
|
||||
Source0: https://github.com/SimonLarsen/%{name}/releases/download/%{version}/90secondportraits-%{version}.love#/%{name}-%{version}.zip
|
||||
#Patch for appdata, manpage, execution script, and desktop file
|
||||
Patch0: %{name}-appdata.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildArch: noarch
|
||||
Requires: love
|
||||
|
||||
#From the website (see URL above)
|
||||
%description
|
||||
90 Second Portraits is a silly speed painting game developed for Ludum Dare 31
|
||||
Jam competition. Time is money and you have neither! In 90 SECOND PORTRAITS
|
||||
you’re paying the bills by speed painting portraits of bypassing customers!
|
||||
You have 90 seconds to paint the customer and his/her preferred background!
|
||||
Your work day ends after 5 customers!
|
||||
|
||||
%prep
|
||||
%autosetup -c -p1
|
||||
sed -i 's/VERSION/%{version}/g' appdata/%{name}.6
|
||||
|
||||
%build
|
||||
#love "binary" files are just zipped sources, but should exclude appdata/docs
|
||||
zip -r %{name}.love . -x appdata -x *.txt -x *.md
|
||||
|
||||
%install
|
||||
#Install love file
|
||||
install -p -D -m 0644 %{name}.love \
|
||||
%{buildroot}/%{_datadir}/%{name}/%{name}.love
|
||||
#Install execution script
|
||||
install -p -D -m 0755 appdata/%{name} \
|
||||
%{buildroot}/%{_bindir}/%{name}
|
||||
#Install manpage
|
||||
install -p -D -m 0644 appdata/%{name}.6 \
|
||||
%{buildroot}/%{_mandir}/man6/%{name}.6
|
||||
#Install appdata.xml and verify
|
||||
install -p -D -m 0644 appdata/%{name}.appdata.xml \
|
||||
%{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/appdata/*.appdata.xml
|
||||
#Install desktop, icon:
|
||||
desktop-file-install \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
appdata/%{name}.desktop
|
||||
install -p -D -m 0644 data/images/title_background.png \
|
||||
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
||||
|
||||
%files
|
||||
%doc README.md CREDITS.txt
|
||||
%license LICENSE.txt
|
||||
%{_mandir}/man6/%{name}.*
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
|
||||
%changelog
|
||||
* Fri Mar 16 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.01b-2
|
||||
- Fix license and use license macro
|
||||
- Move some documentation to correct location
|
||||
|
||||
* Fri Mar 16 2018 Jeremy Newton <alexjnewt at hotmail dot com> - 1.01b-1
|
||||
- Initial package
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# 90-Second-Portraits
|
||||
|
||||
The 90-Second-Portraits package
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (90-Second-Portraits-1.01b.zip) = c8033d1dc260fc2702ce42c9648057bc3131a35d01249c2e5e1288e8aee2a88cbe59b13fa7e431253e08cfc1ff7fd98c1a62acdf082a6a7497b4dac0a7767b20
|
||||
Loading…
Add table
Add a link
Reference in a new issue