Another fix
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=14
This commit is contained in:
parent
2ae913cc27
commit
47c943b093
@ -40,7 +40,7 @@ perhaps will have a thought, what Widelands is all about.
|
|||||||
sed -i 's#flagi#%{optflags}##' build/scons-tools/scons_configure.py
|
sed -i 's#flagi#%{optflags}##' build/scons-tools/scons_configure.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CCFLAGS="$RPM_OPT_FLAGS"
|
export extra_compile_flags=$RPM_OPT_FLAGS"
|
||||||
scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_datadir}/%{name}/locale build_id=%{build_id}
|
scons build=release datadir=%{_datadir}/%{name} bindir=%{_bindir} localedir=%{_datadir}/%{name}/locale build_id=%{build_id}
|
||||||
|
|
||||||
# ./build-widelands.sh
|
# ./build-widelands.sh
|
||||||
@ -63,27 +63,27 @@ find usr/share/widelands/locale/ -maxdepth 1 -type d -name \*_\* | sed -n 's#\(
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre
|
# %%pre
|
||||||
# preparing system before update
|
# preparing system before update
|
||||||
cat << EOF | while read name; do rm -rf "%{_datadir}/widelands/maps/${name}.wmf"; done
|
# cat << EOF | while read name; do rm -rf "%{_datadir}/widelands/maps/${name}.wmf"; done
|
||||||
Checkmate
|
#Checkmate
|
||||||
Dry Riverbed
|
#Dry Riverbed
|
||||||
Elven Forests
|
#Elven Forests
|
||||||
Enemy in sight
|
#Enemy in sight
|
||||||
Finlakes
|
#Finlakes
|
||||||
Firegames
|
#Firegames
|
||||||
Four Castles
|
#Four Castles
|
||||||
Glacier Lake
|
#Glacier Lake
|
||||||
Golden Peninsula
|
#Golden Peninsula
|
||||||
Lake of tranquility
|
#Lake of tranquility
|
||||||
Plateau
|
#Plateau
|
||||||
Riverlands
|
#Riverlands
|
||||||
The Oasis Triangle
|
#The Oasis Triangle
|
||||||
The big lake
|
#The big lake
|
||||||
The long way
|
#The long way
|
||||||
Two frontiers
|
#Two frontiers
|
||||||
War of the Valleys
|
#War of the Valleys
|
||||||
EOF
|
#EOF
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user