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