summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2020-07-31 11:32:29 -0400
committerYaakov Selkowitz <yselkowi@redhat.com>2020-07-31 11:32:29 -0400
commit85d941300172930eef4f59ccc800c2a11bc03961 (patch)
tree6d07833f54a3c90984b922c9d8b024f3492f94a3
downloadpeg-e-85d941300172930eef4f59ccc800c2a11bc03961.tar.gz
peg-e-85d941300172930eef4f59ccc800c2a11bc03961.tar.xz
peg-e-85d941300172930eef4f59ccc800c2a11bc03961.zip
peg-e 1.2.8
-rw-r--r--.gitignore1
-rw-r--r--peg-e.spec54
-rw-r--r--sources1
3 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c47fcd7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/peg-e-*-src.tar.bz2
diff --git a/peg-e.spec b/peg-e.spec
new file mode 100644
index 0000000..0b939c4
--- /dev/null
+++ b/peg-e.spec
@@ -0,0 +1,54 @@
+Name: peg-e
+Version: 1.2.8
+Release: 1%{?dist}
+Summary: Peg solitaire 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
+Peg-E is a peg solitaire game in which you jump over pieces in order to
+remove them from the board, ultimately trying to eliminate all but one.
+The boards are randomly generated, with 100 levels of difficulty. The game
+auto-saves, and has undo-redo capability. Pieces can move horizontally,
+vertically, and diagonally.
+
+%prep
+%setup -q
+
+%build
+%{qmake_qt5} PREFIX=%{_prefix}
+make %{?_smp_mflags}
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+
+%find_lang pege --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 pege.lang
+%doc ChangeLog CREDITS README
+%license COPYING
+%{_bindir}/%{name}
+%{_datadir}/metainfo/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/%{name}/
+%{_datadir}/%{name}/icons/
+%dir %{_datadir}/%{name}/translations
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
+%{_datadir}/pixmaps/%{name}.xpm
+%{_mandir}/man6/%{name}.6.*
+
+
+%changelog
+* Fri Jul 31 2020 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.8-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..d7593bd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (peg-e-1.2.8-src.tar.bz2) = 063bfb091b95f0613475e7ff9b5762ac563ede3e3a22e420e14cf098d2f6d9801bb8aaa677bddf693bdc4050b4e4be3292c1072429a294e633e2ca734d88ffa0