2 %define orgname ktuberling
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
12 Group: X11/Applications/Games
13 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
14 # Source0-md5: e786a44c9edda2bd2b22bb7861d50629
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)
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
30 There is no winer. The only purpose is to make the funniest faces you
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.
37 W grze nie ma zwycięzcy. Jedynym celem gry jest stworzenie
38 najzabawniejszej twarzy, jaką się da ułożyć.
40 %description -l pt_BR.UTF-8
41 Jogo de desenho do 'Homem-batata' para crianças.
44 %setup -q -n %{orgname}-%{version}
55 rm -rf $RPM_BUILD_ROOT
57 %{__make} -C build install \
58 DESTDIR=$RPM_BUILD_ROOT \
59 kde_htmldir=%{_kdedocdir}
61 install -d $RPM_BUILD_ROOT/var/games
62 # remove locolor icons
63 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
65 %find_lang %{orgname} --with-kde
68 rm -rf $RPM_BUILD_ROOT
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