|
|
114b339 |
%global realname childsplay_sp
|
|
|
0e1cec5 |
%global python_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
|
|
|
33b8407 |
|
|
|
554f728 |
Name: childsplay
|
|
Jon Ciesla |
e424fec |
Version: 1.6
|
|
|
cfff48a |
Release: 18%{?dist}
|
|
|
554f728 |
Summary: Suite of educational games for young children
|
|
|
554f728 |
Group: Amusements/Games
|
|
|
66adbe2 |
License: GPLv3
|
|
|
33b8407 |
URL: http://www.schoolsplay.org/
|
|
|
0e42bbd |
Source0: http://downloads.sourceforge.net/schoolsplay/%{name}-%{version}.tgz
|
|
|
554f728 |
Source1: childsplay.desktop
|
|
|
e3d5673 |
Source2: childsplay.appdata.xml
|
|
|
0e1cec5 |
Source10: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_bg-0.9.1.tgz
|
|
|
0e1cec5 |
Source11: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ca-0.9.1.tgz
|
|
|
0e1cec5 |
Source12: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_de-0.9.1.tgz
|
|
|
0e1cec5 |
Source13: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_el-0.9.tgz
|
|
|
0e1cec5 |
Source14: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_en_GB-0.9.1.tgz
|
|
|
0e1cec5 |
Source15: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_es-0.9.1.tgz
|
|
|
0e1cec5 |
Source16: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_fr-0.9.1.tgz
|
|
|
0e1cec5 |
Source17: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_it-0.9.1.tgz
|
|
|
0e1cec5 |
Source18: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_lt-0.9.1.tgz
|
|
|
0e1cec5 |
Source19: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nb-0.9.1.tgz
|
|
|
0e1cec5 |
Source20: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nl-0.9.1.tgz
|
|
|
0e1cec5 |
Source21: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt-0.9.1.tgz
|
|
|
0e1cec5 |
Source22: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt_BR-0.9.1.tgz
|
|
|
0e1cec5 |
Source23: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ro-0.9.1.tgz
|
|
|
0e1cec5 |
Source24: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ru-0.9.1.tgz
|
|
|
0e1cec5 |
Source25: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sl-0.9.1.tgz
|
|
|
0e1cec5 |
Source26: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sv-0.9.2.tgz
|
|
|
bad2f0e |
Patch0: childsplay-fix-sqlalchemy-exceptions-import.patch
|
|
|
617c7f6 |
Patch1: childsplay-1.6-flashcards-lang-fallback.patch
|
|
|
554f728 |
BuildArch: noarch
|
|
|
0026884 |
BuildRequires: python desktop-file-utils ImageMagick
|
|
|
33b8407 |
Requires: pygame
|
|
|
33b8407 |
Requires: python-sqlalchemy
|
|
|
33b8407 |
Requires: hicolor-icon-theme
|
|
|
5c8936d |
Requires: pyfribidi
|
|
|
5256620 |
Requires: dejavu-sans-fonts
|
|
|
33b8407 |
Provides: childsplay_sp = %{version}-%{release}
|
|
|
2421a7d |
Provides: childsplay_plugins = %{version}-%{release}
|
|
|
2421a7d |
Obsoletes: childsplay_plugins <= 0.90
|
|
|
33b8407 |
|
|
|
554f728 |
%description
|
|
|
554f728 |
Childsplay is a suite of educational games for young children. It's written in
|
|
|
554f728 |
Python and uses the SDL-libraries. The aim is to be educational and at the same
|
|
|
554f728 |
time be fun to play.
|
|
|
554f728 |
|
|
|
554f728 |
Some activities make use of language dependent voice samples, these sounds are
|
|
|
52fb89f |
available as childsplay-alphabet_sounds packages. For those you'll have to
|
|
|
52fb89f |
install the childsplay-alphabet_sounds package for the languages you intend to
|
|
|
52fb89f |
use. For example childsplay-alphabet_sounds_nl.
|
|
|
52fb89f |
Available alphabet sounds packages:
|
|
|
52fb89f |
childsplay-alphabet_sounds_bg
|
|
|
52fb89f |
childsplay-alphabet_sounds_ca
|
|
|
52fb89f |
childsplay-alphabet_sounds_de
|
|
|
52fb89f |
childsplay-alphabet_sounds_el
|
|
|
52fb89f |
childsplay-alphabet_sounds_en_GB
|
|
|
52fb89f |
childsplay-alphabet_sounds_es
|
|
|
52fb89f |
childsplay-alphabet_sounds_fr
|
|
|
52fb89f |
childsplay-alphabet_sounds_lt
|
|
|
52fb89f |
childsplay-alphabet_sounds_nb
|
|
|
52fb89f |
childsplay-alphabet_sounds_nl
|
|
|
52fb89f |
childsplay-alphabet_sounds_pt
|
|
|
0e1cec5 |
childsplay-alphabet_sounds_pt_BR
|
|
|
52fb89f |
childsplay-alphabet_sounds_ro
|
|
|
52fb89f |
childsplay-alphabet_sounds_ru
|
|
|
52fb89f |
childsplay-alphabet_sounds_sl
|
|
|
52fb89f |
childsplay-alphabet_sounds_sv
|
|
|
52fb89f |
|
|
|
554f728 |
|
|
|
5256620 |
%package alphabet_sounds_bg
|
|
|
5256620 |
Summary: Bulgarian alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-bg)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_bg
|
|
|
5256620 |
Bulgarian alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
554f728 |
|
|
|
33b8407 |
%package alphabet_sounds_ca
|
|
|
33b8407 |
Summary: Catalan alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-ca)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_ca
|
|
|
33b8407 |
Catalan alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
33b8407 |
%package alphabet_sounds_de
|
|
|
33b8407 |
Summary: German alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-de)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_de
|
|
|
33b8407 |
German alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
5256620 |
%package alphabet_sounds_el
|
|
|
5256620 |
Summary: New Greek alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-el)
|
|
|
cfff48a |
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_el
|
|
|
5256620 |
new Greek alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
5256620 |
%package alphabet_sounds_en_GB
|
|
|
5256620 |
Summary: British English alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-en_GB)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_en_GB
|
|
|
5256620 |
British English alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
33b8407 |
%package alphabet_sounds_es
|
|
|
33b8407 |
Summary: Spanish alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-es)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_es
|
|
|
33b8407 |
Spanish alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
33b8407 |
%package alphabet_sounds_fr
|
|
|
33b8407 |
Summary: French alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-fr)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_fr
|
|
|
33b8407 |
French alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
33b8407 |
%package alphabet_sounds_it
|
|
|
33b8407 |
Summary: Italian alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-it)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_it
|
|
|
33b8407 |
Italian alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
5256620 |
%package alphabet_sounds_lt
|
|
|
5256620 |
Summary: Lithuanian alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-lt)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_lt
|
|
|
5256620 |
Lithuanian alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
5256620 |
%package alphabet_sounds_nb
|
|
|
cfff48a |
Summary: Norwegian Bokmål alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-nb)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_nb
|
|
|
cfff48a |
Norwegian Bokmål alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
33b8407 |
%package alphabet_sounds_nl
|
|
|
33b8407 |
Summary: Dutch alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-nl)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_nl
|
|
|
33b8407 |
Dutch alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
5256620 |
%package alphabet_sounds_pt
|
|
|
5256620 |
Summary: Portuguese alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-pt)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_pt
|
|
|
5256620 |
Portuguese alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
0e1cec5 |
%package alphabet_sounds_pt_BR
|
|
|
0e1cec5 |
Summary: Brazilian Portuguese alphabet sounds for Childsplay
|
|
|
0e1cec5 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
0e1cec5 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-pt_BR)
|
|
|
0e1cec5 |
|
|
|
0e1cec5 |
%description alphabet_sounds_pt_BR
|
|
|
0e1cec5 |
Brazilian Portuguese alphabet sounds for Childsplay
|
|
|
0e1cec5 |
|
|
|
0e1cec5 |
|
|
|
5256620 |
%package alphabet_sounds_ro
|
|
|
5256620 |
Summary: Romanian alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-ro)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_ro
|
|
|
5256620 |
Romanian alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
33b8407 |
%package alphabet_sounds_ru
|
|
|
33b8407 |
Summary: Russian alphabet sounds for Childsplay
|
|
|
33b8407 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
33b8407 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-ru)
|
|
|
0e1cec5 |
|
|
|
33b8407 |
%description alphabet_sounds_ru
|
|
|
33b8407 |
Russian alphabet sounds for Childsplay
|
|
|
33b8407 |
|
|
|
33b8407 |
|
|
|
5256620 |
%package alphabet_sounds_sl
|
|
|
5256620 |
Summary: Slovenian alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: CC-BY
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-sl)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_sl
|
|
|
5256620 |
Slovenian alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
5256620 |
%package alphabet_sounds_sv
|
|
|
5256620 |
Summary: Swedish alphabet sounds for Childsplay
|
|
|
5256620 |
Group: Amusements/Games
|
|
|
0e1cec5 |
License: GPLv2
|
|
|
5256620 |
Requires: %{name} = %{version}-%{release}
|
|
|
cfff48a |
Supplements: (%{name} = %{version}-%{release} and langpacks-sv)
|
|
|
0e1cec5 |
|
|
|
5256620 |
%description alphabet_sounds_sv
|
|
|
5256620 |
Swedish alphabet sounds for Childsplay
|
|
|
5256620 |
|
|
|
5256620 |
|
|
|
554f728 |
%prep
|
|
|
0e1cec5 |
%setup -q -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26
|
|
|
bad2f0e |
%patch0 -p1 -z .sqlalchemy
|
|
|
617c7f6 |
%patch1 -p1
|
|
|
554f728 |
# we don't use the buggy provided install
|
|
|
33b8407 |
rm setup.py
|
|
|
554f728 |
# fixup the python scripts to call python directly and make them executable
|
|
|
33b8407 |
sed -i 's!/usr/bin/env python!%{_bindir}/python!' bin/%{name}
|
|
|
7fc6035 |
# fix wrong end of line encoding
|
|
|
7fc6035 |
sed -i -e 's|\r||g' doc/license.txt
|
|
|
5256620 |
# lang lt miss subdir
|
|
|
0e1cec5 |
pushd alphabet_sounds_lt-0.9.1/AlphabetSounds
|
|
|
5256620 |
mkdir lt
|
|
|
5256620 |
mv *.* lt
|
|
|
5256620 |
popd
|
|
|
33b8407 |
|
|
|
554f728 |
|
|
|
554f728 |
%build
|
|
|
33b8407 |
# setup.py is not really usable for our needs
|
|
|
33b8407 |
echo "## Automated file please do not edit" > SPBasePaths.py
|
|
|
33b8407 |
echo "# This module holds all the paths needed for %{name}." >> SPBasePaths.py
|
|
|
c653c57 |
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
|
|
c653c57 |
echo "DOCDIR = '%{_docdir}/%{name}'" >> SPBasePaths.py
|
|
|
c653c57 |
%else
|
|
|
c653c57 |
echo "DOCDIR = '%{_docdir}/%{name}-%{version}'" >> SPBasePaths.py
|
|
|
c653c57 |
%endif
|
|
|
33b8407 |
echo "PYTHONCPDIR = '%{python_sitedir}/%{realname}'" >> SPBasePaths.py
|
|
|
33b8407 |
echo "BASEDIR = '%{_datadir}/%{realname}'" >> SPBasePaths.py
|
|
|
33b8407 |
echo "SHARELIBDATADIR = '%{_datadir}/%{realname}'" >> SPBasePaths.py
|
|
|
33b8407 |
echo "ALPHABETDIR = '%{_datadir}/%{realname}/alphabetsounds'" >> SPBasePaths.py
|
|
|
33b8407 |
echo "LOCALEDIR = '%{_datadir}/locale'" >> SPBasePaths.py
|
|
|
554f728 |
|
|
|
554f728 |
|
|
|
554f728 |
%install
|
|
|
33b8407 |
# setup.py is not really usable for our needs
|
|
|
554f728 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
33b8407 |
mkdir -p $RPM_BUILD_ROOT%{python_sitedir}/%{realname}/lib
|
|
|
554f728 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale
|
|
|
33b8407 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
33b8407 |
|
|
|
33b8407 |
cp -a bin/%{name} $RPM_BUILD_ROOT%{_bindir}
|
|
|
33b8407 |
|
|
|
33b8407 |
cp -a lib/CPData $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
33b8407 |
cp -a lib/SPData $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
33b8407 |
cp -a alphabetsounds $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
554f728 |
cp -a locale/* $RPM_BUILD_ROOT%{_datadir}/locale
|
|
|
554f728 |
|
|
|
33b8407 |
cp -a *.py $RPM_BUILD_ROOT%{python_sitedir}/%{realname}
|
|
|
33b8407 |
cp -a gui $RPM_BUILD_ROOT%{python_sitedir}/%{realname}
|
|
|
33b8407 |
cp -a lib/*.py $RPM_BUILD_ROOT%{python_sitedir}/%{realname}/lib
|
|
|
33b8407 |
cp -a ocempgui $RPM_BUILD_ROOT%{python_sitedir}/%{realname}
|
|
|
33b8407 |
|
|
|
33b8407 |
%find_lang %{realname}
|
|
|
554f728 |
|
|
|
554f728 |
# below is the desktop file and icon stuff.
|
|
|
554f728 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
0026884 |
desktop-file-install \
|
|
|
0026884 |
%if 0%{?fedora} && 0%{?fedora} < 19
|
|
|
0026884 |
--vendor fedora \
|
|
|
0026884 |
%endif
|
|
|
0026884 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
0026884 |
%{SOURCE1}
|
|
|
0026884 |
|
|
|
e3d5673 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
e3d5673 |
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/
|
|
|
e3d5673 |
|
|
|
0026884 |
for i in 32x32 64x64 128x128 192x192 256x256; do
|
|
|
0026884 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps
|
|
|
0026884 |
if [ -f lib/SPData/menu/default/logo_cp_$i.png ]; then
|
|
|
0026884 |
install -p -m 644 lib/SPData/menu/default/logo_cp_$i.png \
|
|
|
0026884 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps/%{name}.png
|
|
|
0026884 |
else
|
|
|
0026884 |
convert lib/SPData/menu/default/logo_cp_180x180.png -resize $i \
|
|
|
0026884 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$i/apps/%{name}.png
|
|
|
0026884 |
fi
|
|
|
0026884 |
done
|
|
|
33b8407 |
|
|
|
5256620 |
#Remove provided font and symlink system one
|
|
|
c5ae42e |
rm $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVuSansCondensed-Bold.ttf
|
|
|
c5ae42e |
rm $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVu-ttf.copyright
|
|
|
c5ae42e |
ln -s ../../fonts/dejavu/DejaVuSansCondensed-Bold.ttf $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVuSansCondensed-Bold.ttf
|
|
|
c5ae42e |
|
|
|
33b8407 |
#Alphabet sounds
|
|
|
0e1cec5 |
for sounds in bg ca de en_GB es fr it lt nb nl pt pt_BR ro ru sl
|
|
|
33b8407 |
do
|
|
|
0e1cec5 |
cp -a alphabet_sounds_$sounds-0.9.1/AlphabetSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds
|
|
|
5256620 |
done
|
|
|
0e1cec5 |
for sounds in ca de es fr it nl pt_BR ru sl
|
|
|
5256620 |
do
|
|
|
0e1cec5 |
cp -a alphabet_sounds_$sounds-0.9.1/FlashCardsSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/CPData/FlashcardsData/names
|
|
|
33b8407 |
done
|
|
|
0e1cec5 |
# sv and el language have a different version from the rest
|
|
|
0e1cec5 |
cp -a alphabet_sounds_el-0.9/AlphabetSounds/el $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds
|
|
|
0e1cec5 |
cp -a alphabet_sounds_sv-0.9.2/AlphabetSounds/sv $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds
|
|
|
554f728 |
|
|
|
554f728 |
|
|
|
554f728 |
%post
|
|
|
bad2f0e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
554f728 |
|
|
|
554f728 |
%postun
|
|
|
bad2f0e |
if [ $1 -eq 0 ] ; then
|
|
|
bad2f0e |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
bad2f0e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
70c0f68 |
fi
|
|
|
554f728 |
|
|
|
bad2f0e |
%posttrans
|
|
|
bad2f0e |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
bad2f0e |
|
|
|
554f728 |
|
|
|
33b8407 |
%files -f %{realname}.lang
|
|
|
cfff48a |
%doc Changelog doc/* README
|
|
|
cfff48a |
%license COPYING
|
|
|
554f728 |
%{_bindir}/%{name}
|
|
|
33b8407 |
%dir %{_datadir}/%{realname}
|
|
|
33b8407 |
%{_datadir}/%{realname}/SPData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/*.*
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/BilliardData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FallinglettersData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FindsoundData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FishtankData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/cards
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/sounds
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/en
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/LMemoryData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/MemoryData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/PackidData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/PongData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/PuzzleData
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/SoundmemoryData
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/en
|
|
|
33b8407 |
%{python_sitedir}/%{realname}
|
|
|
0026884 |
%{_datadir}/applications/*%{name}.desktop
|
|
|
a554640 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
e3d5673 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
554f728 |
|
|
|
5256620 |
%files alphabet_sounds_bg
|
|
|
0e1cec5 |
%doc alphabet_sounds_bg-0.9.1/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/bg
|
|
|
5256620 |
|
|
|
33b8407 |
%files alphabet_sounds_ca
|
|
|
0e1cec5 |
%doc alphabet_sounds_ca-0.9.1/copyright alphabet_sounds_ca-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/ca
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/ca
|
|
|
33b8407 |
|
|
|
33b8407 |
%files alphabet_sounds_de
|
|
|
0e1cec5 |
%doc alphabet_sounds_de-0.9.1/copyright alphabet_sounds_de-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/de
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/de
|
|
|
33b8407 |
|
|
|
5256620 |
%files alphabet_sounds_el
|
|
|
0e1cec5 |
%doc alphabet_sounds_el-0.9/copyright alphabet_sounds_el-0.9/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/el
|
|
|
5256620 |
|
|
|
5256620 |
%files alphabet_sounds_en_GB
|
|
|
0e1cec5 |
%doc alphabet_sounds_en_GB-0.9.1/copyright alphabet_sounds_en_GB-0.9.1/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/en_GB
|
|
|
5256620 |
|
|
|
33b8407 |
%files alphabet_sounds_es
|
|
|
0e1cec5 |
%doc alphabet_sounds_es-0.9.1/copyright alphabet_sounds_es-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/es
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/es
|
|
|
33b8407 |
|
|
|
33b8407 |
%files alphabet_sounds_fr
|
|
|
0e1cec5 |
%doc alphabet_sounds_fr-0.9.1/copyright alphabet_sounds_fr-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/fr
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/fr
|
|
|
33b8407 |
|
|
|
33b8407 |
%files alphabet_sounds_it
|
|
|
0e1cec5 |
%doc alphabet_sounds_it-0.9.1/copyright alphabet_sounds_it-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/it
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/it
|
|
|
33b8407 |
|
|
|
5256620 |
%files alphabet_sounds_lt
|
|
|
0e1cec5 |
%doc alphabet_sounds_lt-0.9.1/copyright alphabet_sounds_lt-0.9.1/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/lt
|
|
|
5256620 |
|
|
|
5256620 |
%files alphabet_sounds_nb
|
|
|
0e1cec5 |
%doc alphabet_sounds_nb-0.9.1/copyright alphabet_sounds_nb-0.9.1/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/nb
|
|
|
5256620 |
|
|
|
33b8407 |
%files alphabet_sounds_nl
|
|
|
0e1cec5 |
%doc alphabet_sounds_nl-0.9.1/copyright alphabet_sounds_nl-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/nl
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/nl
|
|
|
33b8407 |
|
|
|
760686a |
%files alphabet_sounds_pt
|
|
|
0e1cec5 |
%doc alphabet_sounds_pt-0.9.1/copyright alphabet_sounds_pt-0.9.1/GPL-2
|
|
|
760686a |
%{_datadir}/%{realname}/alphabetsounds/pt
|
|
|
760686a |
|
|
|
0e1cec5 |
%files alphabet_sounds_pt_BR
|
|
|
0e1cec5 |
%doc alphabet_sounds_pt_BR-0.9.1/copyright alphabet_sounds_pt_BR-0.9.1/GPL-2
|
|
|
0e1cec5 |
%{_datadir}/%{realname}/alphabetsounds/pt_BR
|
|
|
0e1cec5 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/pt_BR
|
|
|
760686a |
|
|
|
5256620 |
%files alphabet_sounds_ro
|
|
|
0e1cec5 |
%doc alphabet_sounds_ro-0.9.1/copyright alphabet_sounds_ro-0.9.1/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/ro
|
|
|
5256620 |
|
|
|
33b8407 |
%files alphabet_sounds_ru
|
|
|
0e1cec5 |
%doc alphabet_sounds_ru-0.9.1/copyright alphabet_sounds_ru-0.9.1/GPL-2
|
|
|
33b8407 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/ru
|
|
|
33b8407 |
%{_datadir}/%{realname}/alphabetsounds/ru
|
|
|
33b8407 |
|
|
|
5256620 |
%files alphabet_sounds_sl
|
|
|
0e1cec5 |
%doc alphabet_sounds_sl-0.9.1/LICENCE alphabet_sounds_sl-0.9.1/license.txt
|
|
|
0e1cec5 |
%doc alphabet_sounds_sl-0.9.1/README
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/sl
|
|
|
5256620 |
%{_datadir}/%{realname}/CPData/FlashcardsData/names/sl
|
|
|
5256620 |
|
|
|
5256620 |
%files alphabet_sounds_sv
|
|
|
0e1cec5 |
%doc alphabet_sounds_sv-0.9.2/copyright alphabet_sounds_sv-0.9.2/GPL-2
|
|
|
5256620 |
%{_datadir}/%{realname}/alphabetsounds/sv
|
|
|
5256620 |
|
|
|
33b8407 |
|
|
|
554f728 |
%changelog
|
|
|
cfff48a |
* Tue Mar 01 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.6-18
|
|
|
cfff48a |
- Add Supplements: for https://fedoraproject.org/wiki/Packaging:Langpacks guidelines
|
|
|
cfff48a |
|
|
|
e5bb034 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-17
|
|
|
e5bb034 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e5bb034 |
|
|
|
e1fde33 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-16
|
|
|
e1fde33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e1fde33 |
|
|
|
e3d5673 |
* Wed Jul 30 2014 Hans de Goede <hdegoede@redhat.com> - 1.6-15
|
|
|
e3d5673 |
- Add appdata file (rhbz#1124599)
|
|
|
e3d5673 |
|
|
|
4ad420e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-14
|
|
|
4ad420e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4ad420e |
|
|
|
c653c57 |
* Sun Sep 15 2013 Hans de Goede <hdegoede@redhat.com> - 1.6-13
|
|
|
c653c57 |
- Fix docdir for unversioned docdir F-20 change (rhbz#993696)
|
|
|
c653c57 |
|
|
|
22ccbdc |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-12
|
|
|
22ccbdc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
22ccbdc |
|
|
|
0026884 |
* Fri May 10 2013 Hans de Goede <hdegoede@redhat.com> - 1.6-11
|
|
|
0026884 |
- Fix crash (import error) with latest sqlalchemy
|
|
|
0026884 |
- Add more icon sizes
|
|
|
0026884 |
|
|
|
9d5415d |
* Thu Feb 14 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 1.6-10
|
|
|
9d5415d |
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
|
|
|
9d5415d |
|
|
|
7040c57 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-9
|
|
|
7040c57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7040c57 |
|
|
|
0e1cec5 |
* Mon Dec 17 2012 Hans de Goede <hdegoede@redhat.com> - 1.6-8
|
|
|
0e1cec5 |
- Upgrade -sv alphabetsounds to 0.9.2 version
|
|
|
0e1cec5 |
- Add -pt_BR alphabetsounds
|
|
|
0e1cec5 |
- Correct License tag for alphabetsounds sub-packages: GPLv2, except for
|
|
|
0e1cec5 |
-sl which is CC-BY
|
|
|
0e1cec5 |
|
|
|
d8fb10a |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-7
|
|
|
d8fb10a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d8fb10a |
|
|
|
617c7f6 |
* Wed May 23 2012 Hans de Goede <hdegoede@redhat.com> - 1.6-6
|
|
|
617c7f6 |
- Fix flashcards not working when no flashcards sound are available in
|
|
|
617c7f6 |
the choosen language (rhbz#823024)
|
|
|
617c7f6 |
|
|
|
760686a |
* Tue May 15 2012 Hans de Goede <hdegoede@redhat.com> - 1.6-5
|
|
|
760686a |
- Fix missing childsplay-alphabet_sounds_pt sub-package (rhbz#821510)
|
|
|
760686a |
|
|
|
2287d0c |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
2287d0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2287d0c |
|
|
|
bad2f0e |
* Thu Dec 15 2011 Hans de Goede <hdegoede@redhat.com> - 1.6-3
|
|
|
bad2f0e |
- Fix childsplay no longer working due to the new 0.7 sqlalchemey (rhbz#767799)
|
|
|
bad2f0e |
|
|
Jon Ciesla |
686caef |
* Fri Jun 17 2011 Jon Ciesla <limb@jcomserv.net> - 1.6-2
|
|
Jon Ciesla |
686caef |
- Bump and rebuild for BZ 712251,
|
|
Jon Ciesla |
686caef |
|
|
Jon Ciesla |
e424fec |
* Fri Jun 03 2011 Jon Ciesla <limb@jcomserv.net> - 1.6-1
|
|
Jon Ciesla |
e424fec |
- 1.6, removes non-free images, BZ 710311.
|
|
Jon Ciesla |
e424fec |
|
|
|
8721033 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
|
|
|
8721033 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8721033 |
|
|
|
52fb89f |
* Sat Jan 1 2011 Hans de Goede <hdegoede@redhat.com> - 1.5.1-3
|
|
|
52fb89f |
- Remove reference to no longer used gcompris-sound packages from %%description
|
|
|
52fb89f |
- Drop obsolete README.RPM (all relevant info is in %%description)
|
|
|
52fb89f |
|
|
|
cbc5735 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.1-2
|
|
|
cbc5735 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
cbc5735 |
|
|
|
114b339 |
* Thu May 20 2010 Johan Cwiklinski <johan AT x-tnd DOT be> 1.5.1-1
|
|
|
114b339 |
- 1.5.1
|
|
|
114b339 |
|
|
|
0026884 |
* Tue Apr 13 2010 Johan Cwiklinski <johan AT x-tnd DOT be> 1.5-1
|
|
|
0e42bbd |
- 1.5
|
|
|
0e42bbd |
- Update Sources URL making rpmlint happy
|
|
|
0e42bbd |
|
|
|
9806b9d |
* Fri Oct 23 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.4-2
|
|
|
9806b9d |
- fix get_locale issue (bug #530599)
|
|
|
9806b9d |
|
|
|
5256620 |
* Sun Sep 13 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.4-1
|
|
|
5256620 |
- 1.4
|
|
|
5256620 |
|
|
|
ba7b3bf |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
ba7b3bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ba7b3bf |
|
|
|
7fc6035 |
* Sat May 23 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.3-1
|
|
|
7fc6035 |
- 1.3
|
|
|
7fc6035 |
|
|
|
9580914 |
* Sat Apr 11 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.1-5
|
|
|
9580914 |
- Added missing BR
|
|
|
9580914 |
|
|
|
eb87f09 |
* Tue Mar 31 2009 Tom "spot" Callaway <tcallawa@redhat.com> 1.1-4
|
|
|
eb87f09 |
- fix dejavu-fonts dependency
|
|
|
eb87f09 |
|
|
|
c5ae42e |
* Mon Mar 30 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.1-3
|
|
|
c5ae42e |
- Symlink to system font (BZ #477372)
|
|
|
c5ae42e |
|
|
|
2421a7d |
* Sun Mar 29 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.1-2
|
|
|
2421a7d |
- Versions for Obsoletes and Provides were inverted
|
|
|
2421a7d |
|
|
|
33b8407 |
* Sun Mar 29 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 1.1-1
|
|
|
33b8407 |
- Upgrade to 1.1
|
|
|
33b8407 |
- Added localized alphabet sounds
|
|
|
22a0522 |
|
|
|
29e7680 |
* Thu Jan 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.90.2-1
|
|
|
29e7680 |
- New upstream version 0.90.2
|
|
|
29e7680 |
- Drop upstreamed replace-cfg patch
|
|
|
29e7680 |
|
|
|
66adbe2 |
* Sun Aug 26 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.90-1
|
|
|
66adbe2 |
- New upstream version 0.90, license changed to GPL version 3,
|
|
|
66adbe2 |
no other changes.
|
|
|
66adbe2 |
|
|
|
70c0f68 |
* Mon Aug 6 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.85.1-3
|
|
|
70c0f68 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
70c0f68 |
|
|
|
5c8936d |
* Thu Jun 7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.85.1-2
|
|
|
5c8936d |
- Add pyfribidi Requires for Hebrew support
|
|
|
5c8936d |
|
|
|
99807fa |
* Fri Dec 22 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.85.1-1
|
|
|
99807fa |
- New upstream release 0.85.1
|
|
|
99807fa |
|
|
|
cdebd6e |
* Tue Oct 31 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.84.1-1
|
|
|
cdebd6e |
- New upstream release 0.84.1
|
|
|
cdebd6e |
- Install the (still used) assetml files under %%{_datadir}/%%{name} instead
|
|
|
cdebd6e |
of under %%{_datadir}/assetml, since we no longer ship libassetml
|
|
|
cdebd6e |
|
|
|
1d24f23 |
* Fri Sep 22 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.83.1-1
|
|
|
1d24f23 |
- New upstream release 0.83.1
|
|
|
1d24f23 |
|
|
|
bb8cf16 |
* Wed Sep 6 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.83-2
|
|
|
bb8cf16 |
- Don't %%ghost the .pyo files (bug 205370)
|
|
|
bb8cf16 |
|
|
|
a554640 |
* Sun Aug 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.83-1
|
|
|
a554640 |
- New upstream version 0.83
|
|
|
a554640 |
|
|
|
f98cc17 |
* Thu May 11 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.81.8-3
|
|
|
f98cc17 |
- Fix not finding of initial/default childsplayrc file.
|
|
|
f98cc17 |
|
|
|
554f728 |
* Wed May 10 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.81.8-2
|
|
|
554f728 |
- Ghost .pyo files
|
|
|
554f728 |
- BR: desktop-file-utils
|
|
|
554f728 |
|
|
|
554f728 |
* Fri May 5 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.81.8-1
|
|
|
554f728 |
- Initial package
|