]> git.pld-linux.org Git - packages/lifegeek.git/blob - lifegeek.spec
- tabs in preamble
[packages/lifegeek.git] / lifegeek.spec
1 Summary:        "The Life of a Geek" game
2 Summary(pl.UTF-8):      Gra "The Life of a Geek" (Życie geeka)
3 Name:           lifegeek
4 Version:        1.04stable
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Games
8 Source0:        http://dl.sourceforge.net/lifegeek/%{name}-%{version}.tar.gz
9 # Source0-md5:  f5cbd668e36bc7f023eb8268cee1620a
10 Patch0:         %{name}-path.patch
11 URL:            http://www.pikecountycomputer.com/lifegeek/
12 BuildRequires:  libstdc++-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The Life of a Geek is very silly console game in which you (a geek)
17 must keep a computer running until you graduate college. Surf around
18 on the Internet, battling hackers to gain money and better security
19 for your box. Drink lots of caffeine to keep yourself awake, since if
20 you go to sleep, you risk an attack on your computer. Save up money to
21 take a month-long college course and improve your education, but
22 remember that paying attention to schoolwork also leaves your computer
23 open to attack. Find a quick job for a month at places like fast-food
24 restaurants and grocery stores, but remember again that time away from
25 your computer leaves it open to attack. Virii may also appear on your
26 computer, weakening your computer's health points regularly until
27 cleaned.
28
29 %description -l pl.UTF-8
30 Life of a Geek (Życie geeka) to bardzo głupia gra działająca na
31 terminalu tekstowym, w której gracz (geek) musi utrzymać działający
32 komputer do czasu ukończenia uczelni. Musi szperać po Internecie,
33 walcząc z hakerami, aby zdobyć pieniądze i lepsze bezpieczeństwo dla
34 maszyny. Musi pić dużo kawy, aby trzymać się na nogach, ponieważ
35 jeśli zaśnie, może narazić komputer na atak. Trzeba gromadzić
36 fundusze, aby uczestniczyć w miesięcznych kursach doskonaląc swoje
37 wykształcenie, ale jednocześnie trzeba pamiętać, że poświęcanie
38 uwagi nauce także pozostawia komputer otwartym na atak. Gracz musi
39 znaleźć pracę w miejscach typu restauracje fast-food czy sklepy
40 spożywcze, ale tu także musi pamiętać, że w czasie nieobecności
41 komputer pozostaje otwarty na ataki. W komputerze mogą pojawić się
42 także wirusy, regularnie osłabiając zdrowie komputera do czasu
43 usunięcia ich.
44
45 %prep
46 %setup -q -n lginst
47 %patch0 -p1
48
49 %build
50 %{__make} \
51         CXX="%{__cxx}" \
52         CXXFLAGS="%{rpmcflags} -Wall"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_var}/games/%{name}}
57
58 install lifegeek $RPM_BUILD_ROOT%{_bindir}
59 install *.lg     $RPM_BUILD_ROOT%{_datadir}/%{name}
60 install scores.lgs $RPM_BUILD_ROOT%{_var}/games/%{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc changes readme todo
68 %attr(2755,root,games) %{_bindir}/*
69 %attr(775,root,games) %dir %{_var}/games/lifegeek
70 %attr(664,root,games) %{_var}/games/lifegeek/scores.lgs
71 %{_datadir}/%{name}
This page took 0.075431 seconds and 4 git commands to generate.