diff options
-rw-r--r-- | os/linux/openttd.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/os/linux/openttd.spec b/os/linux/openttd.spec index db268be59..a53011f65 100644 --- a/os/linux/openttd.spec +++ b/os/linux/openttd.spec @@ -50,10 +50,12 @@ make BINARY_DIR=%{_gamesbindir} PREFIX=%{_gamesdatadir} DATA_DIR=openttd INSTALL mkdir -p $RPM_BUILD_ROOT%{_gamesbindir} mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/lang mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/data +mkdir -p $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/scenario cp ./openttd $RPM_BUILD_ROOT%{_gamesbindir}/ cp -r ./lang/*.lng $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/lang/ cp -r ./data/*.grf $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/data/ +cp -r ./scenario/*.scn $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/scenario/ cp -r ./data/opntitle.dat $RPM_BUILD_ROOT%{_gamesdatadir}/openttd/data/ # icon @@ -114,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT %{_gamesdatadir}/openttd/data/signalsw.grf %{_gamesdatadir}/openttd/data/trkfoundw.grf +"%{_gamesdatadir}/openttd/scenario/Linkgame Islands 2004.scn" +"%{_gamesdatadir}/openttd/scenario/Mountain Pass.scn" +"%{_gamesdatadir}/openttd/scenario/Volcano City.scn" + %{_menudir}/%{name} %{_iconsdir}/*.png %{_miconsdir}/*.png |