]> git.pld-linux.org Git - packages/pingus.git/blob - pingus.spec
- some fun with Source, beacause their CVS sux
[packages/pingus.git] / pingus.spec
1 %define         cvsdate 01-05-26
2 Summary:        Pingus, a lemmings style game with penguins
3 Summary(pl):    Gra typu lemmingi z pingwinami w roli g³ównej
4 Name:           pingus
5 Version:        0.4.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games
9 Group(de):      X11/Applikationen/Spiele
10 Group(pl):      X11/Aplikacje/Gry
11 #Source0:       cvs://anonymous@dark.x.dtu.dk:/usr/local/cvsroot:Games/Pingus/Pingus-%{ver}.tar.gz
12 Source0:        http://dark.x.dtu.dk/~mbn/clanlib/download/snapshots/Games/Pingus-CVS-%{cvsdate}.tar.gz
13 URL:            http://pingus.seul.org/
14 BuildRequires:  gtk+-devel > 1.2.1
15 BuildRequires:  glib-devel
16 BuildRequires:  XFree86-devel
17 BuildRequires:  gettext-devel
18 BuildRequires:  SDL-devel >= 1.2.0
19 BuildRequires:  SDL_mixer-devel
20 BuildRequires:  ClanLib-devel >= 0.5.0
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libxml-devel
23 BuildRequires:  Hermes-devel
24 BuildRequires:  texinfo
25 BuildRequires:  automake
26 BuildRequires:  autoconf
27 BuildRequires:  gettext-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _prefix         /usr/X11R6
31 %define         _mandir         %{_prefix}/man
32
33 %description
34 A cool lemmings game with penguins instead of lemmings!
35
36 %description -l pl
37 Wspania³a gra typu lemmings z tym, ¿e sterujesz pingwinami!
38
39 %prep
40 %setup -q -n Pingus
41
42 %build
43 ./autogen.sh || :
44 CPPFLAGS="-I%{_includedir}"; export CPPFLAGS
45 LDFLAGS="-L%{_libdir} %{rpmldflags}"; export LDFLAGS
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         bindir=%{_bindir}
55
56 gzip -9nf AUTHORS BUGS ChangeLog CREDITS FAQ NEWS TODO WISHLIST
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc *.gz
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/%{name}
66 %{_mandir}/man*/*
This page took 0.126166 seconds and 3 git commands to generate.