]> git.pld-linux.org Git - packages/enigma.git/blob - enigma.spec
- added gettext patch (add external arg to allow gettext 0.20+)
[packages/enigma.git] / enigma.spec
1 Summary:        Oxyd clone
2 Summary(pl.UTF-8):      Klon gry Oxyd
3 Name:           enigma
4 Version:        1.20
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://downloads.sourceforge.net/enigma-game/%{name}-%{version}.tar.gz
9 # Source0-md5:  5871158e07e675d1472f3cfc2a6557ff
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.nongnu.org/enigma/
12 BuildRequires:  SDL-devel >= 1.2.0
13 BuildRequires:  SDL_image-devel >= 1.2.0
14 BuildRequires:  SDL_mixer-devel >= 1.2.5
15 BuildRequires:  SDL_ttf-devel >= 2.0.6
16 BuildRequires:  autoconf >= 2.59
17 BuildRequires:  automake
18 BuildRequires:  curl-devel
19 BuildRequires:  gettext-tools
20 BuildRequires:  libpng-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  xerces-c-devel >= 2.4
23 BuildRequires:  zlib-devel
24 Requires:       SDL >= 1.2.0
25 Requires:       SDL_image >= 1.2.0
26 Requires:       SDL_mixer >= 1.2.5
27 Requires:       SDL_ttf >= 2.0.6
28 Requires:       xerces-c >= 2.4
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Enigma is a puzzle game inspired by Oxyd on the Atari ST and
33 Rock'n'Roll on the Amiga: You control a small black marble and have to
34 find and uncover all pairs of identical Oxyd stones in each landscape.
35 Sounds simple? It would be, if it weren't for hidden traps, vast
36 mazes, insurmountable obstacles and lots of hairy puzzles, blocking
37 your direct way to the Oxyd stones...
38
39 %description -l de.UTF-8
40 Bei Enigma handelt es sich um ein Remake des 1990 erschienen
41 Spiele-Klassikers Oxyd. Das Ziel des Spiels ist schnell erklärt:
42 Versuchen Sie alle gleichfarbigen "Oxyd"-Steine in jeder Landschaft zu
43 finden und aufzudecken. Hört sich einfach an? Wäre es vielleicht auch,
44 würden nicht versteckte Fallen, gewaltige Irrgärten, scheinbar
45 unüberwindliche Hindernisse und viele, viele Rätsel den direkten Weg
46 zu den Steinen blockieren...
47
48 %description -l pl.UTF-8
49 Enigma jest grą logiczną zainspirowaną przez Oxyd z Atari ST i
50 Rock'n'Roll z Amigi. Kontroluje się małą czarną kulkę mając za zadanie
51 odnaleźć i odkryć wszystkie pary identycznych kamieni Oxyd na każdej
52 planszy. Proste? Było by, gdyby nie ukryte pułapki, przepastne
53 labirynty, niepokonane przeszkody i mnóstwo włochatych zagadek
54 blokujących drogę do kamieni Oxyd.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 %{__gettextize}
62 %{__aclocal}
63 %{__autoheader}
64 %{__autoconf}
65 %{__automake}
66 %configure
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/libenet.a,%{_includedir}/enet}
77
78 # generic license texts
79 %{__rm} $RPM_BUILD_ROOT%{_docdir}/enigma/{COPYING,gpl.txt,lgpl.txt}
80
81 %find_lang %{name} --all-name
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/enigma
89 %{_datadir}/%{name}
90 %{_desktopdir}/enigma.desktop
91 %{_iconsdir}/hicolor/48x48/apps/enigma.png
92 %{_pixmapsdir}/enigma.png
93 %{_mandir}/man6/enigma.6*
94 %dir %{_docdir}/enigma
95 %{_docdir}/enigma/ACKNOWLEDGEMENTS
96 %{_docdir}/enigma/CHANGES
97 %{_docdir}/enigma/README
98 %{_docdir}/enigma/index.html
99 %{_docdir}/enigma/images
100 %dir %{_docdir}/enigma/manual
101 %{_docdir}/enigma/manual/enigma.html
102 %lang(de) %{_docdir}/enigma/manual/enigma_de.html
103 %lang(fr) %{_docdir}/enigma/manual/enigma_fr.html
104 %lang(ru) %{_docdir}/enigma/manual/enigma_ru.html
105 %{_docdir}/enigma/manual/images
106 %{_docdir}/enigma/reference
This page took 0.05348 seconds and 3 git commands to generate.