]>
Commit | Line | Data |
---|---|---|
56bd4f80 WF |
1 | %define _state stable |
2 | %define orgname ktuberling | |
3 | %define qtver 4.8.0 | |
4 | ||
5 | Summary: KDE game for small children | |
6 | Summary(pl.UTF-8): Gra dla małych dzieci | |
7 | Summary(pt_BR.UTF-8): Jogo de desenho do 'Homem-batata' para crianças | |
8 | Name: kde4-%{orgname} | |
ef111b1d | 9 | Version: 4.13.1 |
56bd4f80 WF |
10 | Release: 1 |
11 | License: GPL | |
12 | Group: X11/Applications/Games | |
13 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
ef111b1d | 14 | # Source0-md5: e786a44c9edda2bd2b22bb7861d50629 |
56bd4f80 WF |
15 | BuildRequires: automoc4 >= 0.9.88 |
16 | BuildRequires: cmake >= 2.8.0 | |
17 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
18 | BuildRequires: kde4-libkdegames-devel >= %{version} | |
19 | BuildRequires: qt4-build >= %{qtver} | |
20 | BuildRequires: qt4-qmake >= %{qtver} | |
21 | BuildRequires: rpmbuild(macros) >= 1.600 | |
22 | Obsoletes: kde4-kdegames-%{orgname} | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | It is a potato editor. That means that you can drag and drop eyes, | |
27 | mouths, moustache, and other parts of face and goodies onto a | |
28 | potato-like guy. | |
29 | ||
30 | There is no winer. The only purpose is to make the funniest faces you | |
31 | can. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | KTuberling to edytor ziemniaków. Oznacza to, że można układać oczy, | |
35 | usta, wąsy oraz inne części twarzy na postać podobną do ziemniaka. | |
36 | ||
37 | W grze nie ma zwycięzcy. Jedynym celem gry jest stworzenie | |
38 | najzabawniejszej twarzy, jaką się da ułożyć. | |
39 | ||
40 | %description -l pt_BR.UTF-8 | |
41 | Jogo de desenho do 'Homem-batata' para crianças. | |
42 | ||
43 | %prep | |
44 | %setup -q -n %{orgname}-%{version} | |
45 | ||
46 | %build | |
47 | install -d build | |
48 | cd build | |
49 | %cmake \ | |
50 | ../ | |
51 | ||
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} -C build install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT \ | |
59 | kde_htmldir=%{_kdedocdir} | |
60 | ||
61 | install -d $RPM_BUILD_ROOT/var/games | |
62 | # remove locolor icons | |
63 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor | |
64 | ||
65 | %find_lang %{orgname} --with-kde | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files -f %{orgname}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_bindir}/ktuberling | |
73 | %{_desktopdir}/kde4/ktuberling.desktop | |
74 | %{_datadir}/apps/ktuberling | |
75 | %{_iconsdir}/*/*/apps/ktuberling.png | |
76 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-tuberling.png |