Changeset - r1159:f98440f40268
[Not reviewed]
master
0 1 0
dominik - 20 years ago 2005-01-24 23:58:12
dominik@openttd.org
(svn r1660) Added scenarios to Mandrakelinux specs file
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
os/linux/openttd.spec
Show inline comments
 
@@ -47,16 +47,18 @@ rm -rf $RPM_BUILD_ROOT
 
make BINARY_DIR=%{_gamesbindir} PREFIX=%{_gamesdatadir} DATA_DIR=openttd INSTALL_DIR=%{_gamesdatadir}/openttd/ USE_HOMEDIR=1 PERSONAL_DIR=.openttd INSTALL=1 RELEASE=%{version}
 

	
 
%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
 
install -m644 media/openttd.32.png -D $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
 
install -m644 media/openttd.64.png -D $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
 
install -m644 media/openttd.128.png -D $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png
 
@@ -111,12 +113,16 @@ rm -rf $RPM_BUILD_ROOT
 
%{_gamesdatadir}/openttd/data/canalsw.grf
 
%{_gamesdatadir}/openttd/data/openttd.grf
 
%{_gamesdatadir}/openttd/data/opntitle.dat
 
%{_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
 
%{_liconsdir}/*.png
 

	
 
%doc changelog.txt readme.txt COPYING os/linux/README.urpmi
0 comments (0 inline, 0 general)