summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2021-11-29 14:57:46 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2021-11-29 14:57:46 -0500
commite7464303f6af661dde9be07cc412dd53643b643c (patch)
tree62cc4c1d24b14d3734337e8361df77bb24e3ef2b
downloadcutemaze-e7464303f6af661dde9be07cc412dd53643b643c.tar.gz
cutemaze-e7464303f6af661dde9be07cc412dd53643b643c.tar.xz
cutemaze-e7464303f6af661dde9be07cc412dd53643b643c.zip
cutemaze 1.3.0
-rw-r--r--.gitignore1
-rw-r--r--cutemaze.spec51
-rw-r--r--sources1
3 files changed, 53 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4fa294c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cutemaze-*.tar.bz2
diff --git a/cutemaze.spec b/cutemaze.spec
new file mode 100644
index 0000000..658cb7e
--- /dev/null
+++ b/cutemaze.spec
@@ -0,0 +1,51 @@
+Name: cutemaze
+Version: 1.3.0
+Release: 1%{?dist}
+Summary: To-down maze game
+License: GPLv3+
+URL: http://gottcode.org/%{name}/
+Source0: http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
+
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: qt5-qttools-devel
+
+Requires: hicolor-icon-theme
+
+%description
+CuteMaze is a top-down game in which mazes are randomly generated using one of
+a choice of several different algorithms. You move your character through the
+maze while hunting for targets. The game is won once all of these targets have
+been picked up.
+
+%prep
+%setup -q
+
+%build
+%{qmake_qt5} PREFIX=%{_prefix}
+make %{?_smp_mflags}
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+
+%find_lang %{name} --with-qt --without-mo
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml || :
+
+%files -f %{name}.lang
+%doc ChangeLog CREDITS README
+%license COPYING
+%{_bindir}/%{name}
+%{_datadir}/metainfo/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/%{name}/
+%dir %{_datadir}/%{name}/translations
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
+%{_mandir}/man6/%{name}.6.*
+
+
+%changelog
+* Mon Jun 14 2021 Yaakov Selkowitz <yselkowi@redhat.com> - 1.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..3cef245
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cutemaze-1.3.0-src.tar.bz2) = aa878725f6628ce363f51d5aec46853412f45576e7e37b4bc9c46e11e19e243c68181d6dadb17828184489267d9ec7d871644ce5aa513a02b42323fa7512d2f0