]> git.pld-linux.org Git - packages/pingus.git/blob - pingus.spec
- BR: physfs-devel
[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.0
6 Release:        1
7 License:        GPL v2+
8 Group:          X11/Applications/Games
9 Source0:        http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
10 # Source0-md5:  d967a3c233aa094236eb2ce6a3e20dd8
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-opt.patch
14 URL:            http://pingus.seul.org/
15 BuildRequires:  SDL-devel >= 1.2.0
16 BuildRequires:  SDL_image-devel
17 BuildRequires:  SDL_mixer-devel
18 BuildRequires:  boost-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  physfs-devel
22 BuildRequires:  rpmbuild(macros) >= 1.385
23 BuildRequires:  scons
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 A cool lemmings game with penguins instead of lemmings!
28
29 %description -l pl.UTF-8
30 Wspaniała gra typu lemmingi z tym, że steruje się pingwinami!
31
32 %description -l pt_BR.UTF-8
33 Pingus é um clone do jogo Lemmings, com a diferença de que você guia 
34 pingüins.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 # note: it loads *.po files directly, no need to use msgfmt
41 mv -f data/po/sr{,@Latn}.po
42 mv -f data/po/{no,nb}.po
43 rm -f data/po/pingus.pot
44
45 %build
46 %scons
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.036442 seconds and 4 git commands to generate.