]> git.pld-linux.org Git - packages/circuslinux.git/blobdiff - circuslinux.spec
- fix docdir packaging
[packages/circuslinux.git] / circuslinux.spec
index f462156d3fc020498174b6d0fbb9b5706281b3c8..32a0ae5f2a58993347e78bdc6c160e2141ed334c 100644 (file)
@@ -1,26 +1,28 @@
-Summary:       "Circus Linux!" is a clone of the Atari 2600 game "Circus Atari"
-Summary(pl):   "Circus Linux!" jest klonem gry z Atari 2600 "Circus Atari"
+Summary:       "Circus Linux!" - a clone of the Atari 2600 game "Circus Atari"
+Summary(pl.UTF-8):     "Circus Linux!" - klon gry z Atari 2600 "Circus Atari"
 Name:          circuslinux
 Version:       1.0.3
-Release:       1
+Release:       4
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/%{name}-%{version}.tar.gz
-Source1:       %{name}-desktop.patch
+# Source0-md5: d53f7d28d974c5605d6bebb9b1569216
+Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-makefile.patch
 Patch1:                %{name}-version.patch
 URL:           http://www.newbreedsoftware.com/circus-linux/
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
+BuildRequires: autoconf
+BuildRequires: automake
+Requires:      libmikmod
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/X11R6
-%define         _mandir         %{_prefix}/man
-
 %description
-"Circus Linux!" is a clone of the Atari 2600 game "Circus Atari", which is
-itself a clone of an earlier arcade game named, simply "Circus".
+"Circus Linux!" is a clone of the Atari 2600 game "Circus Atari",
+which is itself a clone of an earlier arcade game named, simply
+"Circus".
 
 The object is to move a teeter-totter back and forth across the screen
 to bounce clowns up into the air. When they reach the top, they pop
@@ -28,16 +30,17 @@ rows of balloons and then fall back down.
 
 (The gameplay is similar to the classics "Breakout" and "Arkanoid.")
 
-%description -l pl
-"Circus Linux!" jest klonem gry z Atari 2600 - "Circus Atari", która z
-kolei sama jest klonem wcze¶niejszej gry zrêczno¶ciowej, nazywaj±cej siê
-po prostu "Circus".
+%description -l pl.UTF-8
+"Circus Linux!" jest klonem gry z Atari 2600 - "Circus Atari", która z
+kolei sama jest klonem wcześniejszej gry zręcznościowej, nazywającej
+się po prostu "Circus".
 
-Celem gry jest przesuwanie hu¶tawki w poprzek ekranu tak aby podbijaæ
-skacz±cych clownów do góry. Kiedy clown wyskakuje, zbija czê¶æ z baloników
-lataj±cych w rzêdach pod sufitem, a potem spada z powrotem na dó³.
+Celem gry jest przesuwanie huśtawki w poprzek ekranu tak aby podbijać
+skaczących clownów do góry. Kiedy clown wyskakuje, zbija część z
+baloników latających w rzędach pod sufitem, a potem spada z powrotem
+na dół.
 
-Motyw gry jest podobny do klasycznych gier - "Breakout" i "Arkanoid"
+Motyw gry jest podobny do klasycznych gier - "Breakout" i "Arkanoid".
 
 %prep
 %setup -q
@@ -45,7 +48,6 @@ Motyw gry jest podobny do klasycznych gier - "Breakout" i "Arkanoid"
 %patch1 -p1
 
 %build
-rm -f missing
 %{__aclocal}
 %{__autoconf}
 %{__automake}
@@ -54,13 +56,16 @@ rm -f missing
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,5 +74,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS.txt CHANGES.txt FAQ.txt README.txt README-SDL.txt TODO.txt
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-%{_applnkdir}/Games/Arcade/*
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
This page took 0.058761 seconds and 4 git commands to generate.