57 lines
1.2 KiB
RPMSpec
57 lines
1.2 KiB
RPMSpec
![]() |
|
||
|
Name: psdoom
|
||
|
Summary: psdoom-ng source port - psDooM with Chocolate Doom
|
||
|
Version: 2012.02.05-1.6.0
|
||
|
Release: 1
|
||
|
Source: http://mesh.dl.sourceforge.net/project/chocolate-doom/psdoom/2012.02.05-1.6.0/psdoom-2012.02.05-1.6.0.tar.gz
|
||
|
URL: https://github.com/orsonteodoro/psdoom-ng/
|
||
|
Group: Amusements/Games
|
||
|
BuildRoot: /var/tmp/psdoom-buildroot
|
||
|
License: GNU General Public License, version 2
|
||
|
Packager: Orson Teodoro <orsonteodoro@yahoo.com>
|
||
|
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 https://github.com/orsonteodoro/psdoom-ng/ for more information.
|
||
|
|
||
|
%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
|
||
|
%doc %{_mandir}/man5/*
|
||
|
%doc %{_mandir}/man6/*
|
||
|
/usr/share/doc/psdoom/*
|
||
|
/usr/games/*
|
||
|
/usr/share/icons/*
|
||
|
/usr/share/applications/*
|
||
|
|