Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > e9ad1ccac3195cf8239c1979d672e9fe > files > 8

gamine-1.2-0.git20110427.5.mga5.src.rpm

%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