Name: khangman Version: 4.7.4 Release: 1mamba Summary: Hangman Game Group: Graphical Desktop/Applications/Educational Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/khangman-%{version}.tar.bz2 License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: kdelibs-devel BuildRequires: kde-workspace-devel BuildRequires: libgcc BuildRequires: libkdeedu-devel BuildRequires: libphonon-devel BuildRequires: libqt4-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END Requires: kde-workspace Provides: khangman4 = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: khangman4 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KHangMan is a game based on the well-known hangman game. It is aimed at children aged six and over. The game has several categories of words to play with, for example: Animals (animals words) and three difficulty categories: Easy, Medium and Hard. A word is picked at random, the letters are hidden, and you must guess the word by trying one letter after another. Each time you guess a wrong letter, part of a picture of a hangman is drawn. You must guess the word before being hanged! You have 10 tries. %prep %setup -q %build %cmake_kde4 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post touch --no-create %{_kde4_icondir}/hicolor &>/dev/null exit 0 %posttrans update-desktop-database -q &>/dev/null gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q &>/dev/null touch --no-create %{_kde4_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null fi exit 0 %files %defattr(-,root,root) %{_kde4_bindir}/%{name} %{_kde4_datadir}/%{name} %{_kde4_kcfgdir}/%{name}.kcfg %{_kde4_icondir}/hicolor/*/apps/%{name}.png %{_kde4_icondir}/hicolor/scalable/apps/%{name}.svgz %{_kde4_xdgappsdir}/%{name}.desktop %config %{_kde4_configdir}/%{name}.knsrc %doc %lang(en) %{_kde4_htmldir}/en/%{name} %{_mandir}/man6/%{name}.* %doc AUTHORS COPYING COPYING.DOC ChangeLog README TODO %changelog * Sun Dec 11 2011 Automatic Build System 4.7.4-1mamba - automatic version update by autodist * Thu Nov 03 2011 Automatic Build System 4.7.3-1mamba - automatic version update by autodist * Fri Oct 14 2011 Automatic Build System 4.7.2-1mamba - automatic version update by autodist * Sat Oct 01 2011 Davide Madrisan 4.7.1-1mamba - package created by autospec