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