Summary(pl): Zdob±d¼ Kulê Zota
Name: crawl
Version: 400b26
-Release: 1
+Release: 3
Epoch: 1
License: Crawl GPL
Group: Applications/Games
Source2: %{name}.png
Patch0: %{name}-makefile.patch
Patch1: %{name}-savedir.patch
+URL: http://dungeoncrawl.org/
BuildRequires: ncurses-devel
Requires: zip
+Conflicts: applnk < 1.5.13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _datadir /var/games/crawl
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_applnkdir}/Games/RPG,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6,%{_datadir},%{_desktopdir},%{_pixmapsdir}}
install source/crawl $RPM_BUILD_ROOT%{_bindir}
install docs/crawl.6 $RPM_BUILD_ROOT%{_mandir}/man6
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/RPG
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
:> $RPM_BUILD_ROOT%{_datadir}/scores
%doc docs/changes.* docs/crawl.txt docs/todo.txt docs/versions.txt
%attr(2755,root,games) %{_bindir}/crawl
%attr(2775,root,games) %dir %{_datadir}
-%attr(664,root,games) %config(noreplace) %verify(not md5 size mtime) %{_datadir}/scores
+%attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) %{_datadir}/scores
%{_mandir}/man6/*
-%{_applnkdir}/Games/RPG/*
+%{_desktopdir}/*
%{_pixmapsdir}/*