/[packages]/cauldron/gamine/current/SPECS/gamine.spec
ViewVC logotype

Contents of /cauldron/gamine/current/SPECS/gamine.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 664493 - (show annotations) (download)
Sat Aug 16 22:05:26 2014 UTC (9 years, 8 months ago) by alexl
File size: 2345 byte(s)
- 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
1 Name: gamine
2 Version: 1.1
3 Release: %mkrel 6
4 Summary: An interactive game for young children
5 License: GPLv2
6 Group: Education
7 #http://gitorious.org/gamine/gamine
8 URL: http://www.gnunux.info/projets/gamine
9 Source0: http://www.gnunux.info/projets/gamine/%{name}-%{version}.tar.gz
10 Source1: %{name}-i18n-%{version}.tar.gz
11 Patch0: %{name}-%{version}-mga-del-gconf.patch
12 Patch1: %{name}-%{version}-mga-more-locales.patch
13 Patch2: %{name}-%{version}-mga-fix-greek-persian.patch
14 Patch3: %{name}-%{version}-mga-enable-debug.patch
15 BuildRequires: pkgconfig(gtk+-2.0)
16 BuildRequires: pkgconfig(libxml-2.0)
17 BuildRequires: pkgconfig(gstreamer-0.10)
18
19 %description
20 Gamine is a game designed for 2 years old children who
21 are not able to use a keyboard. The child uses the mouse
22 to draw coloured dots and lines on the screen.
23
24 %prep
25 %setup -q
26 pushd locale
27 tar -xf %{SOURCE1}
28 popd
29 %patch0 -p1
30 %patch1 -p1
31 %patch2 -p1
32 %patch3 -p1
33 sed -i 's/^LDLIBS = /LDLIBS = -lX11 -lm /' Makefile
34 sed -i 's|printf(gettext(.*), cursorfile);||g' %{name}.c
35 sed -i 's|sounds/README|README.sounds|g' COPYING
36
37 %build
38 %make PREFIX=%{_prefix}
39
40 %install
41 mkdir -p %{buildroot}/%{_prefix}
42 %makeinstall_std PREFIX=%{buildroot}/%{_prefix}
43 rm -f %{buildroot}%{_datadir}/%{name}/pencil.png
44 rm -f %{buildroot}%{_datadir}/doc/%{name}/README.pencil
45
46 #menu-entry
47 mkdir -p %{buildroot}%{_datadir}/applications
48 cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
49 [Desktop Entry]
50 Name=Gamine
51 GenericName=Gamine
52 Comment=Educational game for young children
53 Comment[ru]=Обучающая игра для маленьких детей
54 Comment[cs]=Vzdělávací hra pro malé děti
55 Comment[es]=Juego educativo para niños pequeños
56 Comment[it]=Gioco educativo per bambini
57 Comment[ms]=Permainan pendidikan untuk kanak-kanak
58 Comment[pt]=Jogo educacionais para crianças
59 Comment[pt_BR]=Jogo educativos para crianças
60 Comment[uk]=Розвиваюча гра для дітей молодшого віку
61 Comment[fr]=Jeu éducatif pour jeunes enfants
62 Comment[de]=Lernspiel für Kinder
63 Exec=%{name}
64 Icon=%{name}
65 Terminal=false
66 Type=Application
67 Categories=Game;KidsGame;
68 EOF
69
70 %find_lang %{name}
71
72 %files -f %{name}.lang
73 %{_bindir}/%{name}
74 %{_datadir}/applications/%{name}.desktop
75 %{_datadir}/doc/%{name}
76 %{_datadir}/%{name}
77 %{_iconsdir}/%{name}.png
78 %{_iconsdir}/hicolor/scalable/apps/%{name}.svg
79

  ViewVC Help
Powered by ViewVC 1.1.30