]> git.pld-linux.org Git - packages/freedroidrpg.git/blob - freedroidrpg.spec
- updated to final 0.9.13
[packages/freedroidrpg.git] / freedroidrpg.spec
1 #
2 # Conditional build
3 %bcond_without  tools   # without game tools
4 #
5 Summary:        Single player sci-fi RPG featuring Tux and evil MS bots
6 Summary(pl):    RPG z gatunku s-f dla jednego gracza z Tuksem i z³ymi robotami MS
7 Name:           freedroidrpg
8 Version:        0.9.13
9 Release:        1
10 License:        GPL v2+
11 Group:          X11/Applications/Games
12 Source0:        http://dl.sourceforge.net/freedroid/%{name}-%{version}.tar.bz2
13 # Source0-md5:  d57e366a69e8999f5f0e30e960f72d15
14 Source1:        %{name}.desktop
15 Source2:        %{name}.png
16 URL:            http://freedroid.sourceforge.net/
17 BuildRequires:  SDL-devel >= 1.2.3
18 BuildRequires:  SDL_image-devel
19 BuildRequires:  SDL_mixer-devel
20 BuildRequires:  automake
21 BuildRequires:  gtk+-devel
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libogg-devel
24 BuildRequires:  libpng-devel
25 BuildRequires:  libvorbis-devel
26 BuildRequires:  zlib-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This game evolved as an extension of the arcade game Freedroid into an
31 RPG.
32
33 The MS has taken over the galaxy via their trojan horse OS that was
34 running everywhere. But twenty years after the MS took over, the Bots
35 rebelled and attacked all life forms. Humans and Linarians (like the
36 Tux) had to flee to some remote planets and now live underground,
37 struggling to survive.
38
39 This is when some frustrated worker frees the Tux, who had been
40 imprisoned by the MS shortly before they took over government.
41
42 %description -l pl
43 Ta gra wyewoluowa³a jako rozszerzenie gry zrêczno¶ciowej Freedroid w
44 RPG.
45
46 MS przej±³ galaktykê poprzez konia trojañskiego OS, który dzia³a³
47 wszêdzie. Ale dwadzie¶cia lat pó¼niej Roboty zbuntowa³y siê i
48 zaatakowa³y wszystkie formy ¿ycia. Ludzie i Linarianie (jak Tux)
49 musieli uciec na odleg³e planety i ¿yj± teraz w podziemiu, walcz±c o
50 przetrwanie.
51
52 To dzieje siê wtedy, gdy pewien sfrustrowany pracownik uwalnia Tuksa,
53 który by³ uwiêziony przez MS wkrótce przed objêciem przez nich rz±dów.
54
55 %package tools
56 Summary:        Tools for freefroidrpg
57 Summary(pl):    Narzêdzia dla freedroidrpg
58 Group:          X11/Applications/Games
59 Requires:       %{name} = %{version}-%{release}
60
61 %description tools
62 Item and dialog editor for freedroidrpg with other tools.
63
64 %description tools -l pl
65 Edytor przedmiotów i dialogów dla freedroidrpg wraz z innymi
66 narzêdziami.
67
68 %prep
69 %setup -q 
70
71 %build
72 cp -f /usr/share/automake/config.sub .
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS NEWS README TODO
92 %attr(755,root,root) %{_bindir}/freedroidRPG
93 %{_datadir}/%{name}
94 %{_desktopdir}/*
95 %{_pixmapsdir}/*
96 %{_mandir}/man6/*
97
98 %if %{with tools}
99 %files tools
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/*Editor
102 %attr(755,root,root) %{_bindir}/croppy
103 %attr(755,root,root) %{_bindir}/pngtoico
104 %endif
This page took 0.092588 seconds and 3 git commands to generate.