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