]> git.pld-linux.org Git - packages/pingus.git/blob - pingus.spec
- release 5
[packages/pingus.git] / pingus.spec
1 Summary:        Pingus, a lemmings style game with penguins
2 Summary(pl.UTF-8):      Gra typu lemmingi z pingwinami w roli głównej
3 Summary(pt_BR.UTF-8):   Um clone de lemmings com pingüins
4 Name:           pingus
5 Version:        0.7.3
6 Release:        5
7 License:        GPL v2+
8 Group:          X11/Applications/Games
9 Source0:        http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7d1a0b0d658cc46dd09d6274f39acc7d
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-opt.patch
14 Patch1:         %{name}-gcc4.patch
15 URL:            http://pingus.seul.org/
16 BuildRequires:  SDL_image-devel
17 BuildRequires:  SDL_mixer-devel
18 BuildRequires:  boost-devel >= 1.36.0
19 BuildRequires:  libpng-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  rpmbuild(macros) >= 1.385
22 BuildRequires:  scons
23 BuildRequires:  xorg-lib-libXi-devel
24 # sr@Latn vs. sr@latin
25 Conflicts:      glibc-misc < 6:2.7
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 A cool lemmings game with penguins instead of lemmings!
30
31 %description -l pl.UTF-8
32 Wspaniała gra typu lemmingi z tym, że steruje się pingwinami!
33
34 %description -l pt_BR.UTF-8
35 Pingus é um clone do jogo Lemmings, com a diferença de que você guia
36 pingüins.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 # note: it loads *.po files directly, no need to use msgfmt
44 mv -f data/po/sr{,@latin}.po
45 rm -f data/po/pingus.pot
46
47 %build
48 %scons with_xinput=true
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_desktopdir},%{_pixmapsdir}}
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56 install %{name} $RPM_BUILD_ROOT%{_bindir}
57 cp -r data $RPM_BUILD_ROOT%{_datadir}/%{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog NEWS TODO
65 %attr(755,root,root) %{_bindir}/pingus
66 %{_datadir}/%{name}
67 %{_desktopdir}/%{name}.desktop
68 %{_pixmapsdir}/%{name}.png
This page took 0.072547 seconds and 4 git commands to generate.