]>
Commit | Line | Data |
---|---|---|
852fcb77 | 1 | Summary: Little game where you have to build molecules out of single atoms |
e837eb94 | 2 | Summary(pl.UTF-8): Mała gra w której trzeba budować cząsteczki z pojedynczych atomów |
852fcb77 | 3 | Name: atomix |
e9d34ad0 | 4 | Version: 1.0.1 |
aa9c1f72 | 5 | Release: 3 |
852fcb77 | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
8 | Source0: http://triq.net/~jens/download/%{name}-%{version}.tar.gz | |
e9d34ad0 | 9 | # Source0-md5: dd0d5d29020863d8140f919edd96d150 |
bfb5d457 | 10 | Patch0: %{name}-desktop.patch |
852fcb77 | 11 | URL: http://triq.net/~jens/atomix.php |
1ca6dbb9 | 12 | BuildRequires: autoconf |
852fcb77 | 13 | BuildRequires: automake |
043204fc | 14 | BuildRequires: gettext-tools |
852fcb77 | 15 | BuildRequires: intltool |
1ca6dbb9 | 16 | BuildRequires: libglade2-devel >= 2.0.1 |
852fcb77 | 17 | BuildRequires: libgnomeui-devel >= 2.4.0 |
18 | BuildRequires: libxml2-devel >= 2.4.23 | |
42f84c1d | 19 | BuildRequires: pkgconfig |
852fcb77 | 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 | ||
58b469c8 JR |
29 | %description -l pl.UTF-8 |
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ę. | |
852fcb77 | 35 | |
36 | %prep | |
37 | %setup -q | |
bfb5d457 | 38 | %patch0 -p1 |
852fcb77 | 39 | |
aa9c1f72 | 40 | # Note: it is also for desktop translation |
41 | mv -f po/{no,nb}.po | |
42 | ||
852fcb77 | 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 |