]> git.pld-linux.org Git - packages/csmash.git/blobdiff - csmash.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/csmash.git] / csmash.spec
index 4f13fa284cc3689acd90603aa40f2bc8c9998653..67f0c1e77a6e801a884fb806923b778104411ec3 100644 (file)
@@ -1,16 +1,23 @@
 Summary:       3D tabletennis game
 Summary(pl):   Trójwymiarowy tenis sto³owy
 Name:          csmash
-Version:       0.6.0
-Release:       1
+Version:       0.6.4.2
+Release:       3
+License:       GPL
 Group:         X11/Applications/Games
-Group(de):     X11/Applikationen/Spiele
-Group(pl):     X11/Aplikacje/Gry
-Source0:       http://prdownloads.SourceForge.net/CannonSmash/%{name}-%{version}.tar.gz
+Source0:       http://prdownloads.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
+Source2:       %{name}.png
+Patch0:                %{name}-types.patch
 URL:           http://CannonSmash.Sourceforge.net/
-License:       GPL
 BuildRequires: OpenGL-devel
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtk+-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libstdc++-devel
 Requires:      OpenGL
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,37 +28,40 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 CannonSmash is a 3D tabletennis game. The goal of this project is to
 represent various strategy of tabletennis on computer game.
 
-
 %description -l pl
 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
 
 %prep
-%setup -q
+%setup -q -n %{name}-0.6.4
+%patch0 -p1
 
 %build
+rm -f acinclude.m4 missing
+%{__aclocal}
+%{__autoconf}
+%{__automake} -i
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
 
 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en TODO 
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS* CREDITS* ChangeLog* NEWS* TODO* README.en*
-%lang(jp) %doc README.gz
+%doc AUTHORS CREDITS ChangeLog NEWS README.en
+%lang(ja) %doc README
 %attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/csmash
-%{_datadir}/csmash/Parts
-%{_datadir}/csmash/images
-%{_datadir}/csmash/wav
+%{_datadir}/games/csmash
 %{_applnkdir}/Games/*
+%{_pixmapsdir}/*
This page took 0.076434 seconds and 4 git commands to generate.