summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2020-08-02 21:21:35 -0400
committerYaakov Selkowitz <yselkowi@redhat.com>2020-08-02 21:21:35 -0400
commit79148134c799d245c0c71200c9bb01a8d0fdb1bd (patch)
tree8c8d9b8ff555f10f92744e18b5a10e5619be5a75
downloadqnetwalk-79148134c799d245c0c71200c9bb01a8d0fdb1bd.tar.gz
qnetwalk-79148134c799d245c0c71200c9bb01a8d0fdb1bd.tar.xz
qnetwalk-79148134c799d245c0c71200c9bb01a8d0fdb1bd.zip
qnetwalk 1.5
-rw-r--r--.gitignore1
-rw-r--r--qnetwalk.spec46
-rw-r--r--sources1
3 files changed, 48 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ba750e4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/qnetwalk-*.tar.gz
diff --git a/qnetwalk.spec b/qnetwalk.spec
new file mode 100644
index 0000000..a5d3e5a
--- /dev/null
+++ b/qnetwalk.spec
@@ -0,0 +1,46 @@
+Name: qnetwalk
+Version: 1.5
+Release: 1%{?dist}
+Summary: Network administration game
+License: GPLv2
+URL: https://github.com/AMDmi3/%{name}/
+Source0: https://github.com/AMDmi3/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: qt5-qttools-devel
+BuildRequires: SDL_mixer-devel
+
+%description
+QNetWalk is a game for system administrators.
+
+%prep
+%setup -q
+
+%build
+%cmake
+%cmake_build
+
+%install
+%cmake_install
+
+%find_lang %{name} --with-qt --without-mo
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
+
+%files -f %{name}.lang
+%doc README.md
+%license COPYING
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/%{name}/
+%{_datadir}/%{name}/sounds/
+%dir %{_datadir}/%{name}/translations
+%{_datadir}/pixmaps/%{name}.xpm
+%{_mandir}/man6/%{name}.6.*
+
+
+%changelog
+* Sun Aug 2 2020 Yaakov Selkowitz <yselkowi@redhat.com> - 1.5-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..964a872
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (qnetwalk-1.5.tar.gz) = f58d25033b515ee79e73d6f9528908818ee510083ba378c42481cb2fafe3eb041bf43425eaa335b6bfaeee959815916343fba77431aacf30b9ebdca9ac78735e