]> git.pld-linux.org Git - packages/trackballs.git/blame - trackballs.spec
- updated gettext BR
[packages/trackballs.git] / trackballs.spec
CommitLineData
184872ba 1Summary: Game similar to Marble Madness
e226308c 2Summary(pl.UTF-8): Gra podobna do Marble Madness
184872ba 3Name: trackballs
cacd1666 4Version: 1.1.0
a1645a4d 5Release: 1
184872ba 6License: GPL
7Group: X11/Applications/Games
b43a12fd 8Source0: http://dl.sourceforge.net/trackballs/%{name}-%{version}.tar.gz
cacd1666 9# Source0-md5: 4d1c4be3274ac88038bc03e2d470546c
b43a12fd 10Source1: http://dl.sourceforge.net/trackballs/tb_design.ogg
c51accdf 11# Source1-md5: 5a8911006ca2be3b3571875ce34a5105
b43a12fd 12Source2: http://dl.sourceforge.net/trackballs/tb_genesis.ogg
c51accdf 13# Source2-md5: 2d254de734c8d1c07ebd0c8d6fb893c0
b43a12fd 14Source3: http://dl.sourceforge.net/trackballs/tb_hrluebke.ogg
c9e9fa29 15# Source3-md5: ab033eac91054ed9700f6e0a8e2f1280
b43a12fd 16Source4: http://dl.sourceforge.net/trackballs/tb_plinkeplanke.ogg
c9e9fa29 17# Source4-md5: 5a968fb86cc43fa08bbe323b63d0a457
cacd1666 18Source5: %{name}.desktop
a1645a4d 19Patch0: %{name}-install.patch
5ad902e1 20URL: http://trackballs.sourceforge.net/
184872ba 21BuildRequires: OpenGL-devel
22BuildRequires: SDL_image-devel
23BuildRequires: SDL_mixer-devel
24BuildRequires: SDL_ttf-devel
e75f989e 25BuildRequires: autoconf
26BuildRequires: automake
55b0db26 27BuildRequires: gettext-tools
e75f989e 28BuildRequires: guile-devel >= 1.6.3
29BuildRequires: libstdc++-devel
30BuildRequires: perl-base
184872ba 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%define _noautoreqdep libGL.so.1 libGLU.so.1 libGLcore.so.1
34
35%description
36Trackballs is a simple game similar to the classical game Marble
37Madness on the Amiga in the 80's. By steering a marble ball through a
38labyrinth filled with vicious hammers, pools of acid and other
39obstacles the player collects points. When the ball reaches the
40destination it continues to the next, more difficult track - unless
41the time runs out.
42
2a9b17fb
JR
43%description -l pl.UTF-8
44Trackballs jest prostą grą podobną do klasycznej Marble Madness
45napisanej na Amigę w latach 80-ych. Gracz zdobywa punkty sterując
46marmurową kulką w labiryncie wypełnionym okrutnymi młotami, kałużami
47kwasu i innymi przeszkodami. Gdy kilka osiągnie cel, przenosi się do
48następnego, trudniejszego, toru. Chyba że skończy się czas.
184872ba 49
5ad902e1 50%package music
51Summary: Background music for trackballs
e226308c 52Summary(pl.UTF-8): Muzyka w tle dla trackballs
5ad902e1 53Group: X11/Applications/Games
85dc8c3d 54Requires: %{name} = %{version}-%{release}
5ad902e1 55
56%description music
57Background music for trackballs.
58
2a9b17fb 59%description music -l pl.UTF-8
5ad902e1 60Muzyka w tle dla trackballs.
61
184872ba 62%prep
3d2496c6 63%setup -q
a1645a4d 64%patch0 -p1
184872ba 65
fcf12bcd 66%{__perl} -pi -e "s,dnl LIBS=\"-lGLU,LIBS=\"-lGLU,g" configure.ac
b43a12fd
JB
67
68%build
cacd1666 69%{__gettextize}
fcf12bcd 70%{__aclocal}
71%{__autoheader}
116a724d 72%{__autoconf}
fcf12bcd 73%{__automake}
184872ba 74CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
75%configure \
fcf12bcd 76 --with-highscores=/var/games/trackballs \
77 LDFLAGS="%{rpmldflags} -L/usr/X11R6/%{_lib}"
184872ba 78
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
fcf12bcd 83install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
184872ba 84
85dc8c3d
JB
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
184872ba 88install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/music
89install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/music
cacd1666 90install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/music
91install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/music
184872ba 92
cacd1666 93install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
5ad902e1 94install share/icons/trackballs-64x64.png $RPM_BUILD_ROOT%{_pixmapsdir}/trackballs.png
95
cacd1666 96%find_lang %{name}
97
184872ba 98%clean
99rm -rf $RPM_BUILD_ROOT
100
cacd1666 101%files -f %{name}.lang
184872ba 102%defattr(644,root,root,755)
103%doc AUTHORS ChangeLog FAQ README README.html TODO
5ad902e1 104%attr(2755,root,games) %{_bindir}/trackballs
105%dir %{_datadir}/%{name}
106%dir %{_datadir}/%{name}/music
107%{_datadir}/%{name}/fonts
108%{_datadir}/%{name}/images
109%{_datadir}/%{name}/levels
110%{_datadir}/%{name}/sfx
184872ba 111%{_mandir}/man6/*
7d70701d 112%attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/trackballs
5ad902e1 113
fcf12bcd 114%{_desktopdir}/*.desktop
5ad902e1 115%{_pixmapsdir}/*
116
117%files music
118%defattr(644,root,root,755)
119%{_datadir}/%{name}/music/*
This page took 0.074196 seconds and 4 git commands to generate.