1 Summary: Historically compatible Doom engine
6 Group: Applications/Games
7 Source0: http://www.chocolate-doom.org/downloads/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 20ef24c517f701023aa187c07b587ce6
9 URL: http://chocolate-doom.org/
10 BuildRequires: SDL-devel
11 BuildRequires: SDL_mixer-devel
12 BuildRequires: SDL_net-devel
13 BuildRequires: desktop-file-utils
14 BuildRequires: libsamplerate-devel
16 BuildRequires: python-modules
17 Requires: desktop-file-utils
18 Requires: gtk-update-icon-cache
19 Requires: hicolor-icon-theme
20 Provides: bundled(md5-plumb)
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Chocolate Doom is a game engine that aims to accurately reproduce the
25 experience of playing vanilla Doom. It is a conservative, historically
26 accurate Doom source port, which is compatible with the thousands of
27 mods and levels that were made before the Doom source code was
28 released. Rather than flashy new graphics, Chocolate Doom's main
29 features are its accurate reproduction of the game as it was played in
37 --disable-silent-rules
41 rm -rf $RPM_BUILD_ROOT
43 iconsdir=%{_iconsdir}/hicolor/64x64/apps \
44 DESTDIR=$RPM_BUILD_ROOT
48 mv $RPM_BUILD_ROOT%{_docdir}/chocolate-{doom,heretic,hexen,strife} docs
50 install -d $RPM_BUILD_ROOT%{_bindir}
51 mv $RPM_BUILD_ROOT%{_prefix}/games/* $RPM_BUILD_ROOT%{_bindir}
53 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-heretic.desktop
54 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-hexen.desktop
55 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-strife.desktop
56 desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/screensavers/chocolate-doom-screensaver.desktop
59 rm -rf $RPM_BUILD_ROOT
62 %update_desktop_database
63 %update_icon_cache hicolor
66 %update_desktop_database
67 %update_icon_cache hicolor
70 %defattr(644,root,root,755)
71 %doc ChangeLog NEWS NOT-BUGS README
73 %attr(755,root,root) %{_bindir}/chocolate-doom
74 %attr(755,root,root) %{_bindir}/chocolate-server
75 %attr(755,root,root) %{_bindir}/chocolate-doom-setup
76 %attr(755,root,root) %{_bindir}/chocolate-heretic
77 %attr(755,root,root) %{_bindir}/chocolate-heretic-setup
78 %attr(755,root,root) %{_bindir}/chocolate-hexen
79 %attr(755,root,root) %{_bindir}/chocolate-hexen-setup
80 %attr(755,root,root) %{_bindir}/chocolate-strife
81 %attr(755,root,root) %{_bindir}/chocolate-strife-setup
82 %{_datadir}/appdata/*.appdata.xml
83 %{_desktopdir}/chocolate-doom.desktop
84 %{_desktopdir}/chocolate-setup.desktop
85 %{_desktopdir}/screensavers/chocolate-doom-screensaver.desktop
86 %{_desktopdir}/chocolate-heretic.desktop
87 %{_desktopdir}/chocolate-hexen.desktop
88 %{_desktopdir}/chocolate-strife.desktop
89 %{_iconsdir}/hicolor/*/apps/chocolate-doom.png
90 %{_iconsdir}/hicolor/*/apps/chocolate-setup.png
91 %{_mandir}/man5/chocolate-doom.cfg.5*
92 %{_mandir}/man5/chocolate-heretic.cfg.5*
93 %{_mandir}/man5/chocolate-hexen.cfg.5*
94 %{_mandir}/man5/chocolate-strife.cfg.5*
95 %{_mandir}/man5/default.cfg.5*
96 %{_mandir}/man5/heretic.cfg.5*
97 %{_mandir}/man5/hexen.cfg.5*
98 %{_mandir}/man5/strife.cfg.5*
99 %{_mandir}/man6/chocolate-doom.6*
100 %{_mandir}/man6/chocolate-server.6*
101 %{_mandir}/man6/chocolate-setup.6*
102 %{_mandir}/man6/chocolate-doom-setup.6*
103 %{_mandir}/man6/chocolate-heretic-setup.6*
104 %{_mandir}/man6/chocolate-heretic.6*
105 %{_mandir}/man6/chocolate-hexen-setup.6*
106 %{_mandir}/man6/chocolate-hexen.6*
107 %{_mandir}/man6/chocolate-strife-setup.6*
108 %{_mandir}/man6/chocolate-strife.6*