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