Name: @PACKAGE@ Summary: @PACKAGE_SHORTDESC@ Version: @VERSION@ Release: 1 Source: http://mesh.dl.sourceforge.net/project/chocolate-doom/@PACKAGE@/@VERSION@/@PACKAGE@-@VERSION@.tar.gz URL: @PACKAGE_URL@ Group: Amusements/Games BuildRoot: /var/tmp/@PACKAGE@-buildroot License: @PACKAGE_LICENSE@ Packager: @PACKAGE_MAINTAINER@ <@PACKAGE_BUGREPORT@> Prefix: %{_prefix} Autoreq: 0 Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0 %description %(sed -n "/==/ q; p " < README) See @PACKAGE_URL@ for more information. %package -n @PROGRAM_PREFIX@heretic Summary: @PACKAGE_SHORTDESC@ (Heretic binaries) Group: Amusements/Games Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0 %package -n @PROGRAM_PREFIX@hexen Summary: @PACKAGE_SHORTDESC@ (Hexen binaries) Group: Amusements/Games Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0 %prep rm -rf $RPM_BUILD_ROOT %setup -q %build ./configure \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ --localstatedir=/var/lib \ --sharedstatedir=/usr/com \ --mandir=/usr/share/man \ --infodir=/usr/share/info make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %{_mandir}/man5/@PROGRAM_PREFIX@doom.cfg.5 %{_mandir}/man5/default.cfg.5 %{_mandir}/man6/@PROGRAM_PREFIX@doom.6 %{_mandir}/man6/@PROGRAM_PREFIX@server.6 %{_mandir}/man6/@PROGRAM_PREFIX@doom-setup.6 /usr/share/doc/@PACKAGE@/* /usr/games/@PROGRAM_PREFIX@doom /usr/games/@PROGRAM_PREFIX@server /usr/games/@PROGRAM_PREFIX@doom-setup /usr/share/icons/* /usr/share/applications/* %files @PROGRAM_PREFIX@heretic %{_mandir}/man5/@PROGRAM_PREFIX@heretic.cfg.5 %{_mandir}/man5/heretic.cfg.5 %{_mandir}/man6/@PROGRAM_PREFIX@heretic.6 %{_mandir}/man6/@PROGRAM_PREFIX@heretic-setup.6 /usr/share/doc/@PROGRAM_PREFIX@heretic/* /usr/games/@PROGRAM_PREFIX@heretic /usr/games/@PROGRAM_PREFIX@heretic-setup %files @PROGRAM_PREFIX@hexen %{_mandir}/man5/@PROGRAM_PREFIX@hexen.cfg.5 %{_mandir}/man5/hexen.cfg.5 %{_mandir}/man6/@PROGRAM_PREFIX@hexen.6 %{_mandir}/man6/@PROGRAM_PREFIX@hexen-setup.6 /usr/share/doc/@PROGRAM_PREFIX@hexen/* /usr/games/@PROGRAM_PREFIX@hexen /usr/games/@PROGRAM_PREFIX@hexen-setup