]> git.pld-linux.org Git - packages/atomix.git/blob - atomix.spec
- BR: gettext-devel, pkgconfig
[packages/atomix.git] / atomix.spec
1 Summary:        Little game where you have to build molecules out of single atoms
2 Summary(pl):    Ma³a gra w której trzeba budowaæ cz±steczki z pojedynczych atomów
3 Name:           atomix
4 Version:        1.0.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://triq.net/~jens/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  dd0d5d29020863d8140f919edd96d150
10 Patch0:         %{name}-desktop.patch
11 URL:            http://triq.net/~jens/atomix.php
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  intltool
16 BuildRequires:  libglade2-devel >= 2.0.1
17 BuildRequires:  libgnomeui-devel >= 2.4.0
18 BuildRequires:  libxml2-devel >= 2.4.23
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Atomix is a little game where you have to build molecules out of
24 single atoms. These are laying around between the walls and obstacles
25 on the playfield. Once you have pushed an atom in one direction it
26 moves until it hits an obstacle or another atom. The game is inspired
27 by the original Amiga version.
28
29 %description -l pl
30 Atomix jest ma³± gr±, w której trzeba budowaæ cz±steczki z
31 pojedynczych atomów, le¿±cych dooko³a na planszy. Gdy atom zostanie
32 popchniêty, porusza siê w zadanym kierunku a¿ do momentu uderzenia w
33 inny atom lub przeszkodê. Inspiracj± do powstania tej gry by³a
34 oryginalna wersja na Amigê.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 # Note: it is also for desktop translation
41 mv -f po/{no,nb}.po
42
43 %build
44 glib-gettextize --copy --force
45 intltoolize --copy --force
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/%{name}
68 %{_desktopdir}/*.desktop
69 %{_datadir}/gnome-2.0/ui/*.xml
70 %{_localstatedir}/games/%{name}.scores
This page took 0.576672 seconds and 4 git commands to generate.