diff options
author | rubidium <rubidium@openttd.org> | 2008-03-27 16:09:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-03-27 16:09:15 +0000 |
commit | b88882c2fa46e65b399b73d4de647217d1ae8965 (patch) | |
tree | ddbdf7fb1c8727c30e73d0418de3c5eb04812c32 /os/mandrake | |
parent | 692ac966254dce0bd4a47cfb3163981f7e39db45 (diff) | |
download | openttd-b88882c2fa46e65b399b73d4de647217d1ae8965.tar.xz |
(svn r12448) -Change: add a spec file for RPMs. The spec file replaces the SuSE and Mandrake versions as these distributions are also supported by the new spec file. New spec file by Denis Burlaka.
Diffstat (limited to 'os/mandrake')
-rw-r--r-- | os/mandrake/README.urpmi | 9 | ||||
-rw-r--r-- | os/mandrake/openttd.spec | 146 |
2 files changed, 0 insertions, 155 deletions
diff --git a/os/mandrake/README.urpmi b/os/mandrake/README.urpmi deleted file mode 100644 index 0c8385e66..000000000 --- a/os/mandrake/README.urpmi +++ /dev/null @@ -1,9 +0,0 @@ -You require the data files of the original Transport Tycoon Deluxe -for Windows to play the game. You have to manually copy the following -files to %{_gamesdatadir}/openttd/data/ -sample.cat -trg1r.grf -trgcr.grf -trghr.grf -trgir.grf -trgtr.grf diff --git a/os/mandrake/openttd.spec b/os/mandrake/openttd.spec deleted file mode 100644 index 96d666a9c..000000000 --- a/os/mandrake/openttd.spec +++ /dev/null @@ -1,146 +0,0 @@ -#------------------------------------------------------------------------------ -# openttd.spec -# This SPEC file controls the building of custom OpenTTD RPM -# packages. -#------------------------------------------------------------------------------ - -%define name openttd -%define version 0.5.0 -%define release 1mdk - -#------------------------------------------------------------------------------ -# Prologue information -#------------------------------------------------------------------------------ -Name: %{name} -Version: %{version} -Release: %{release} -Summary: An open source clone of the Microprose game "Transport Tycoon Deluxe" -Group: Games/Strategy -License: GPL - -URL: http://www.openttd.org - -Source: %{name}-%{version}.tar.gz -Packager: Dominik Scherer <dominik@openttd.com> -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: libSDL1.2-devel >= 1.2.7 -BuildRequires: libpng3-devel >= 1.2.5 -BuildRequires: zlib1-devel >= 1.2.1 - -#------------------------------------------------------------------------------ -# Description -#------------------------------------------------------------------------------ -%description -An enhanced open source clone of the Microprose game "Transport Tycoon Deluxe". -You require the data files of the original Transport Tycoon Deluxe -for Windows to play the game. You have to MANUALLY copy them to the -game data directory! - -#------------------------------------------------------------------------------ -# install scripts -#------------------------------------------------------------------------------ -%prep -rm -rf $RPM_BUILD_ROOT -%setup - -%build -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 - -# menu entry -mkdir -p $RPM_BUILD_ROOT/%{_menudir} -cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%{name} -?package(%{name}):command="%{_gamesbindir}/openttd" icon="%{name}.png" \ - needs="X11" section="Amusement/Strategy" title="OpenTTD" \ - longtitle="%{Summary}" -EOF - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -%{update_menus} - -%postun -%{clean_menus} - -#------------------------------------------------------------------------------ -# Files listing. -#------------------------------------------------------------------------------ -%files -%defattr(-,root,root,0755) -%{_gamesbindir}/openttd - -%{_gamesdatadir}/openttd/lang/american.lng -%{_gamesdatadir}/openttd/lang/catalan.lng -%{_gamesdatadir}/openttd/lang/czech.lng -%{_gamesdatadir}/openttd/lang/danish.lng -%{_gamesdatadir}/openttd/lang/dutch.lng -%{_gamesdatadir}/openttd/lang/english.lng -%{_gamesdatadir}/openttd/lang/finnish.lng -%{_gamesdatadir}/openttd/lang/french.lng -%{_gamesdatadir}/openttd/lang/galician.lng -%{_gamesdatadir}/openttd/lang/german.lng -%{_gamesdatadir}/openttd/lang/hungarian.lng -%{_gamesdatadir}/openttd/lang/icelandic.lng -%{_gamesdatadir}/openttd/lang/italian.lng -%{_gamesdatadir}/openttd/lang/norwegian.lng -%{_gamesdatadir}/openttd/lang/origveh.lng -%{_gamesdatadir}/openttd/lang/polish.lng -%{_gamesdatadir}/openttd/lang/portuguese.lng -%{_gamesdatadir}/openttd/lang/romanian.lng -%{_gamesdatadir}/openttd/lang/slovak.lng -%{_gamesdatadir}/openttd/lang/spanish.lng -%{_gamesdatadir}/openttd/lang/swedish.lng - -%{_gamesdatadir}/openttd/data/autorail.grf -%{_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 - -#------------------------------------------------------------------------------ -# Change Log -#------------------------------------------------------------------------------ -%changelog -* Sun Jan 23 2005 Dominik Scherer <dominik@openttd.com> 0.3.6-1mdk -- Upgraded to 0.3.6 -- Structured and commented the spec file a bit (inspired by ScummVM) - -* Fri Dec 24 2004 Dominik Scherer <dominik@openttd.com> 0.3.5-1mdk -- Upgraded to 0.3.5 -- Added a warning message about the additional required files (only displayed when installing via urpmi) - -* Wed Sep 15 2004 Dominik Scherer <> 0.3.4-1mdk -- Upgraded to 0.3.4 - -* Wed Jul 31 2004 Dominik Scherer <> 0.3.3-1mdk -- Initial release |