]> git.pld-linux.org Git - packages/openttd.git/blobdiff - openttd.spec
- up to 1.6.1
[packages/openttd.git] / openttd.spec
index e7019bfd0c1d1d9fc73f75b29a9b406020d21dc2..ce91de2cff780dc8636553ff2539176fcb2f7c85 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       An open source reimplementation of the Microprose game "Transport Tycoon Deluxe"
 Summary(pl.UTF-8):     Otwarta reimplementacja gry Transport Tycoon Deluxe
 Name:          openttd
-Version:       1.0.4
+Version:       1.6.1
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Games
-Source0:       http://binaries.openttd.org/releases/%{version}/%{name}-%{version}-source.tar.bz2
-# Source0-md5: e11e81bee589c04abd3cc4f3fafcb2b1
+Source0:       http://us.binaries.openttd.org/binaries/releases/%{version}/%{name}-%{version}-source.tar.xz
+# Source0-md5: 420c0488d2b085a1879ae2325e558310
 Source1:       %{name}.desktop
 Source2:       %{name}-server.desktop
 Patch0:                %{name}-home_etc.patch
@@ -19,12 +19,15 @@ URL:                http://www.openttd.org/
 BuildRequires: SDL-devel
 BuildRequires: fontconfig-devel
 BuildRequires: freetype-devel
+BuildRequires: grfcodec >= 6.0.2
 %{?with_home_etc:BuildRequires:        home-etc-devel}
+BuildRequires: libicu-devel
 BuildRequires: libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: lzo-devel
 BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
+BuildRequires: xz-devel
 BuildRequires: zlib-devel
 Requires:      %{name}-data = %{version}-%{release}
 Suggests:      %{name}-ai
@@ -174,6 +177,12 @@ install media/openttd.256.png $RPM_BUILD_ROOT%{_pixmapsdir}/openttd.png
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files
 %defattr(644,root,root,755)
 %doc changelog.txt known-bugs.txt readme.txt docs/multiplayer.txt
This page took 0.041391 seconds and 4 git commands to generate.