%define rev git20110427 Name: gamine Version: 1.2 Release: %mkrel -c %{rev} 5 Summary: An interactive game for young children License: GPLv2 Group: Education #http://gitorious.org/gamine/gamine URL: http://www.gnunux.info/projets/gamine Source0: %{name}-%{version}-%{rev}.tar.gz Source1: %{name}.conf Patch0: %{name}-%{version}-mga-gtk3-i18n-config-cursor.patch Patch1: %{name}-%{version}-mga-more-locales.patch Patch2: %{name}-%{version}-mga-fix-greek-persian.patch Patch3: %{name}-%{version}-mga-enable-debug.patch Patch4: %{name}-%{version}-mga-gstreamer.patch BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gstreamer-1.0) %description Gamine is a game designed for 2 years old children who are not able to use a keyboard. The child uses the mouse to draw coloured dots and lines on the screen. %prep %setup -q -n %{name}-%{version}-%{rev} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 sed -i 's|sounds/README|README.sounds|g' COPYING cp -f %{SOURCE1} ./ %build %make PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} %install %makeinstall_std PREFIX=%{_prefix} SYSCONFDIR=%{_sysconfdir} #menu-entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Gamine GenericName=Game for small children GenericName[be]=ÐÑлÑÐ½Ñ Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑкÑÑ Ð´Ð·ÐµÑак GenericName[da]=Spil for smÃ¥ børn GenericName[de]=Spiel für kleine Kinder GenericName[es]=Juego para niños pequeños GenericName[fa]=Ø¨Ø§Ø²Û Ø¨Ø±Ø§Û Ú©Ùدکا٠کÙÚÚ© است GenericName[fr]=Jeu pour jeunes enfants GenericName[nl]=Spel voor kleine kinderen GenericName[pl]=Gra dla maÅych dzieci GenericName[ru]=ÐгÑа Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑÐºÐ¸Ñ Ð´ÐµÑей GenericName[sv]=Ett spel för smÃ¥ barn GenericName[tr]=Küçük çocuklar için bir oyun GenericName[uk]=ÐÑа Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑÐºÐ¸Ñ Ð´ÑÑей GenericName[zh_CN]=éåå°å©åç游æ GenericName[zh_TW]=é©å幼童çéæ² Comment=Educational game for young children Comment[be]=ÐавÑÑалÑÐ½Ð°Ñ Ð³ÑлÑÐ½Ñ Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑкÑÑ Ð´Ð·ÐµÑа Comment[cs]=VzdÄlávacà hra pro malé dÄti Comment[da]=Pædagogisk spil til de mindste børn Comment[de]=Lernspiel für Kinder Comment[es]=Juego educativo para niños pequeños Comment[fa]=Ø¨Ø§Ø²Û Ø¢Ù ÙØ²Ø´Û Ø¨Ø±Ø§Û Ú©Ùدکا٠کÙÚÚ© است Comment[fr]=Jeu éducatif pour jeunes enfants Comment[it]=Gioco educativo per bambini Comment[ja]=å¹¼å ç¨å¯¾è©±çã²ã¼ã Comment[ms]=Permainan pendidikan untuk kanak-kanak Comment[nl]=Educatief spel voor jonge kinderen Comment[pl]=Edukacyjna gra dla maÅych dzieci Comment[pt]=Jogo educacionais para crianças Comment[pt_BR]=Jogo educativos para crianças Comment[ru]=ÐбÑÑаÑÑÐ°Ñ Ð¸Ð³Ñа Ð´Ð»Ñ Ð¼Ð°Ð»ÐµÐ½ÑÐºÐ¸Ñ Ð´ÐµÑей Comment[sv]=Undervisningsspel för yngre barn Comment[tr]=Küçük çocuklar için eÄitici bir oyun Comment[uk]=РозвиваÑÑа гÑа Ð´Ð»Ñ Ð´ÑÑей молодÑого вÑÐºÑ Comment[zh_CN]=éåå¹¼å¿çæ©æ游æ Comment[zh_TW]=é©å幼童çæè²éæ² Exec=%{name} Icon=%{name} Terminal=false Type=Application Categories=Game;KidsGame; EOF %find_lang %{name} %files -f %{name}.lang %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/doc/%{name} %{_datadir}/%{name} %{_iconsdir}/hicolor/scalable/apps/%{name}.svg %config(noreplace) %{_sysconfdir}/%{name}.conf %changelog * Tue Jan 06 2015 alexl <alexl> 1.2-0.git20110427.5.mga5 + Revision: 808823 - merged dektop file with upstream * Wed Oct 15 2014 umeabot <umeabot> 1.2-0.git20110427.4.mga5 + Revision: 746518 - Second Mageia 5 Mass Rebuild * Sun Sep 28 2014 umeabot <umeabot> 1.2-0.git20110427.3.mga5 + Revision: 731460 - Mageia 5 Mass Rebuild * Fri Sep 05 2014 alexl <alexl> 1.2-0.git20110427.2.mga5 + Revision: 672423 - supplemented gstreamer.patch * Fri Sep 05 2014 alexl <alexl> 1.2-0.git20110427.1.mga5 + Revision: 672417 - used gstreamer-1.0 instead of gstreamer-0.10 (gstreamer.patch) - rediff enable.debug.patch and more-locales.patch - gtk3 instead of gtk2, fixed Chinese output, fixed cursor, using /etc/gamine.conf instead of gconf (gtk3-i18n-config-cursor.patch) - thanks to "alex AT linuxonly DOT ru" for gtk3-i18n-config-cursor.patch - the latest snapshot * Sun Aug 17 2014 alexl <alexl> 1.1-6.mga5 + Revision: 664493 - enabled debug pkg/fixed "debuginfo-without-sources" (enable-debug.patch) - added additional locales from upsteam (more-locales.patch) and fixed greek, persian (fix-greek-persian.patch) - added additional url in spec * Sat Aug 16 2014 alexl <alexl> 1.1-5.mga5 + Revision: 663999 - translated desktop file - deleted gconf support (del-gconf.patch) - fixed file name in COPYING * Mon Aug 04 2014 alexl <alexl> 1.1-4.mga5 + Revision: 659641 - added GenericName for desktop file - used macroses in spec file (Mageia policy) * Tue Apr 08 2014 alexl <alexl> 1.1-3.mga5 + Revision: 612901 - fix: docdir for package must be in rpm * Tue Apr 08 2014 alexl <alexl> 1.1-2.mga5 + Revision: 612896 - fix: directory must be in rpm - use iconsdir macros * Tue Apr 08 2014 alexl <alexl> 1.1-1.mga5 + Revision: 612829 - imported package gamine