X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=csmash.spec;h=f3dd207a59dd048702fe3d8057bf26c4103795dc;hb=40129fdef7b8b1a270620796a9ff7b25024371e6;hp=f11214ea772a0c775544936fa0010a1d5d13289a;hpb=4739172a1c73002faf00c71e8940387bb9a2af54;p=packages%2Fcsmash.git diff --git a/csmash.spec b/csmash.spec index f11214e..f3dd207 100644 --- a/csmash.spec +++ b/csmash.spec @@ -1,15 +1,14 @@ Summary: 3D tabletennis game Summary(pl): Trójwymiarowy tenis sto³owy Name: csmash -Version: 0.6.2 -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/ BuildRequires: OpenGL-devel BuildRequires: SDL-devel @@ -34,15 +33,14 @@ CannonSmash to tr 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 mizzing -touch acinclude.m4 +rm -f acinclude.m4 missing aclocal -autoconf -automake -a -c -CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" +%{__autoconf} +%{__automake} -i %configure %{__make} @@ -54,16 +52,16 @@ install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}} install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} -gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en* -%lang(jp) %doc README.gz +%doc AUTHORS CREDITS ChangeLog NEWS README.en +%lang(ja) %doc README %attr(755,root,root) %{_bindir}/* -%{_datadir}/csmash +%{_datadir}/games/csmash %{_applnkdir}/Games/* %{_pixmapsdir}/*