summaryrefslogtreecommitdiffstats
path: root/qnetwalk.spec
blob: b26c819ff66bc71cc6e697a26364fbf40d09b601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Name:           qnetwalk
Version:        1.6
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
* Tue Nov 30 2021 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6-1
- new version

* Sun Aug  2 2020 Yaakov Selkowitz <yselkowi@redhat.com> - 1.5-1
- Initial package