Restore normal macro look
OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=6
This commit is contained in:
parent
f3d8b422e8
commit
12c2e4b362
@ -23,7 +23,7 @@ Summary: Open source port of the DOOM game engine
|
||||
License: GPL-2.0+
|
||||
Group: Amusements/Games/3D/Shoot
|
||||
Url: http://prboom-plus.sourceforge.net/
|
||||
Source: %{name}-%{version}+.tar.xz
|
||||
Source: %name-%{version}+.tar.xz
|
||||
Patch1: prboom-nodatetime.diff
|
||||
Patch2: prboom-types1.diff
|
||||
Patch3: prboom-types2.diff
|
||||
@ -71,25 +71,25 @@ never happen in the future since compatibility is as important.
|
||||
./bootstrap;
|
||||
# rpm has its own optimizations, so turn off shipped defaults
|
||||
%configure --enable-gl --disable-cpu-opt --program-prefix='' \
|
||||
--with-waddir=%{_datadir}/doom --disable-dogs
|
||||
--with-waddir=%_datadir/doom --disable-dogs
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b=%{buildroot};
|
||||
b="%buildroot:;
|
||||
make install DESTDIR="$b";
|
||||
# Will manually package docs (see %%files)
|
||||
rm -Rf "$b/%{_datadir}/doc";
|
||||
mkdir -p "$b/%{_bindir}";
|
||||
mv "$b/%{_prefix}/games"/* "$b/%{_bindir}/";
|
||||
rm -Rf "$b/%_datadir/doc";
|
||||
mkdir -p "$b/%_bindir";
|
||||
mv "$b/%_prefix/games"/* "$b/%_bindir/";
|
||||
# Convenience symlink
|
||||
ln -s prboom-plus "$b/%{_bindir}/prboom";
|
||||
ln -s prboom-plus "$b/%_bindir/prboom";
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS AUTHORS README
|
||||
%doc doc/MBF.txt doc/MBFFAQ.txt doc/README.compat doc/README.demos doc/boom.txt
|
||||
%{_bindir}/*
|
||||
%{_datadir}/doom
|
||||
%{_mandir}/*/*
|
||||
%_bindir/*
|
||||
%_datadir/doom
|
||||
%_mandir/*/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user