diff --git a/.gitignore b/.gitignore index 60a8cc1..1f7786c 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ alphabet_sounds_sl-0.9.1.tgz alphabet_sounds_sv-0.9.1.tgz childsplay-1.5.1.tgz /childsplay-1.6.tgz +/alphabet_sounds_pt_BR-0.9.1.tgz +/alphabet_sounds_sv-0.9.2.tgz diff --git a/childsplay.spec b/childsplay.spec index 1613235..3c528c5 100644 --- a/childsplay.spec +++ b/childsplay.spec @@ -1,35 +1,34 @@ %global realname childsplay_sp -%global alphabet_ver 0.9.1 -%global old_alphabet_ver 0.9 +%global python_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") Name: childsplay Version: 1.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Suite of educational games for young children Group: Amusements/Games License: GPLv3 URL: http://www.schoolsplay.org/ Source0: http://downloads.sourceforge.net/schoolsplay/%{name}-%{version}.tgz Source1: childsplay.desktop -Source10: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_bg-%{alphabet_ver}.tgz -Source11: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ca-%{alphabet_ver}.tgz -Source12: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_de-%{alphabet_ver}.tgz -Source13: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_el-%{old_alphabet_ver}.tgz -Source14: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_en_GB-%{alphabet_ver}.tgz -Source15: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_es-%{alphabet_ver}.tgz -Source16: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_fr-%{alphabet_ver}.tgz -Source17: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_it-%{alphabet_ver}.tgz -Source18: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_lt-%{alphabet_ver}.tgz -Source19: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nb-%{alphabet_ver}.tgz -Source20: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nl-%{alphabet_ver}.tgz -Source21: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt-%{alphabet_ver}.tgz -Source22: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ro-%{alphabet_ver}.tgz -Source23: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ru-%{alphabet_ver}.tgz -Source24: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sl-%{alphabet_ver}.tgz -Source25: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sv-%{alphabet_ver}.tgz +Source10: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_bg-0.9.1.tgz +Source11: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ca-0.9.1.tgz +Source12: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_de-0.9.1.tgz +Source13: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_el-0.9.tgz +Source14: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_en_GB-0.9.1.tgz +Source15: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_es-0.9.1.tgz +Source16: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_fr-0.9.1.tgz +Source17: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_it-0.9.1.tgz +Source18: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_lt-0.9.1.tgz +Source19: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nb-0.9.1.tgz +Source20: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_nl-0.9.1.tgz +Source21: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt-0.9.1.tgz +Source22: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_pt_BR-0.9.1.tgz +Source23: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ro-0.9.1.tgz +Source24: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_ru-0.9.1.tgz +Source25: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sl-0.9.1.tgz +Source26: http://downloads.sourceforge.net/schoolsplay/alphabet_sounds_sv-0.9.2.tgz Patch0: childsplay-fix-sqlalchemy-exceptions-import.patch Patch1: childsplay-1.6-flashcards-lang-fallback.patch - BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: python @@ -38,15 +37,10 @@ Requires: python-sqlalchemy Requires: hicolor-icon-theme Requires: pyfribidi Requires: dejavu-sans-fonts - - Provides: childsplay_sp = %{version}-%{release} Provides: childsplay_plugins = %{version}-%{release} Obsoletes: childsplay_plugins <= 0.90 -%global python_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") - - %description Childsplay is a suite of educational games for young children. It's written in Python and uses the SDL-libraries. The aim is to be educational and at the same @@ -68,6 +62,7 @@ childsplay-alphabet_sounds_lt childsplay-alphabet_sounds_nb childsplay-alphabet_sounds_nl childsplay-alphabet_sounds_pt +childsplay-alphabet_sounds_pt_BR childsplay-alphabet_sounds_ro childsplay-alphabet_sounds_ru childsplay-alphabet_sounds_sl @@ -77,7 +72,9 @@ childsplay-alphabet_sounds_sv %package alphabet_sounds_bg Summary: Bulgarian alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_bg Bulgarian alphabet sounds for Childsplay @@ -85,7 +82,9 @@ Bulgarian alphabet sounds for Childsplay %package alphabet_sounds_ca Summary: Catalan alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_ca Catalan alphabet sounds for Childsplay @@ -93,7 +92,9 @@ Catalan alphabet sounds for Childsplay %package alphabet_sounds_de Summary: German alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_de German alphabet sounds for Childsplay @@ -101,7 +102,9 @@ German alphabet sounds for Childsplay %package alphabet_sounds_el Summary: New Greek alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_el new Greek alphabet sounds for Childsplay @@ -109,7 +112,9 @@ new Greek alphabet sounds for Childsplay %package alphabet_sounds_en_GB Summary: British English alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_en_GB British English alphabet sounds for Childsplay @@ -117,7 +122,9 @@ British English alphabet sounds for Childsplay %package alphabet_sounds_es Summary: Spanish alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_es Spanish alphabet sounds for Childsplay @@ -125,7 +132,9 @@ Spanish alphabet sounds for Childsplay %package alphabet_sounds_fr Summary: French alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_fr French alphabet sounds for Childsplay @@ -133,7 +142,9 @@ French alphabet sounds for Childsplay %package alphabet_sounds_it Summary: Italian alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_it Italian alphabet sounds for Childsplay @@ -141,7 +152,9 @@ Italian alphabet sounds for Childsplay %package alphabet_sounds_lt Summary: Lithuanian alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_lt Lithuanian alphabet sounds for Childsplay @@ -150,7 +163,9 @@ Lithuanian alphabet sounds for Childsplay %package alphabet_sounds_nb Summary: nb alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_nb nb alphabet sounds for Childsplay @@ -158,7 +173,9 @@ nb alphabet sounds for Childsplay %package alphabet_sounds_nl Summary: Dutch alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_nl Dutch alphabet sounds for Childsplay @@ -166,15 +183,29 @@ Dutch alphabet sounds for Childsplay %package alphabet_sounds_pt Summary: Portuguese alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_pt Portuguese alphabet sounds for Childsplay +%package alphabet_sounds_pt_BR +Summary: Brazilian Portuguese alphabet sounds for Childsplay +Group: Amusements/Games +License: GPLv2 +Requires: %{name} = %{version}-%{release} + +%description alphabet_sounds_pt_BR +Brazilian Portuguese alphabet sounds for Childsplay + + %package alphabet_sounds_ro Summary: Romanian alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_ro Romanian alphabet sounds for Childsplay @@ -182,7 +213,9 @@ Romanian alphabet sounds for Childsplay %package alphabet_sounds_ru Summary: Russian alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_ru Russian alphabet sounds for Childsplay @@ -190,7 +223,9 @@ Russian alphabet sounds for Childsplay %package alphabet_sounds_sl Summary: Slovenian alphabet sounds for Childsplay Group: Amusements/Games +License: CC-BY Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_sl Slovenian alphabet sounds for Childsplay @@ -198,25 +233,25 @@ Slovenian alphabet sounds for Childsplay %package alphabet_sounds_sv Summary: Swedish alphabet sounds for Childsplay Group: Amusements/Games +License: GPLv2 Requires: %{name} = %{version}-%{release} + %description alphabet_sounds_sv Swedish alphabet sounds for Childsplay %prep -%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 +%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 %patch0 -p1 -z .sqlalchemy %patch1 -p1 # we don't use the buggy provided install rm setup.py -rm `find alphabet_sounds_??-%{alphabet_ver} -name install.py` -rm -rf po # fixup the python scripts to call python directly and make them executable sed -i 's!/usr/bin/env python!%{_bindir}/python!' bin/%{name} # fix wrong end of line encoding sed -i -e 's|\r||g' doc/license.txt # lang lt miss subdir -pushd alphabet_sounds_lt-%{alphabet_ver}/AlphabetSounds +pushd alphabet_sounds_lt-0.9.1/AlphabetSounds mkdir lt mv *.* lt popd @@ -271,17 +306,17 @@ rm $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVu-ttf.copyright ln -s ../../fonts/dejavu/DejaVuSansCondensed-Bold.ttf $RPM_BUILD_ROOT%{_datadir}/%{realname}/SPData/DejaVuSansCondensed-Bold.ttf #Alphabet sounds -for sounds in bg ca de en_GB es fr it lt nb nl pt ro ru sl sv +for sounds in bg ca de en_GB es fr it lt nb nl pt pt_BR ro ru sl do - cp -a alphabet_sounds_$sounds-%{alphabet_ver}/AlphabetSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds + cp -a alphabet_sounds_$sounds-0.9.1/AlphabetSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds done -for sounds in ca de es fr it nl ru sl +for sounds in ca de es fr it nl pt_BR ru sl do - cp -a alphabet_sounds_$sounds-%{alphabet_ver}/FlashCardsSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/CPData/FlashcardsData/names + cp -a alphabet_sounds_$sounds-0.9.1/FlashCardsSounds/$sounds $RPM_BUILD_ROOT%{_datadir}/%{realname}/CPData/FlashcardsData/names done -#el language has not been updated on 0.9.1 :( -cp -a alphabet_sounds_el-%{old_alphabet_ver}/AlphabetSounds/el $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds - +# sv and el language have a different version from the rest +cp -a alphabet_sounds_el-0.9/AlphabetSounds/el $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds +cp -a alphabet_sounds_sv-0.9.2/AlphabetSounds/sv $RPM_BUILD_ROOT%{_datadir}/%{realname}/alphabetsounds %post @@ -321,95 +356,92 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/applications/fedora-%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png - %files alphabet_sounds_bg -%doc alphabet_sounds_bg-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_bg-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/bg - %files alphabet_sounds_ca -%doc alphabet_sounds_ca-%{alphabet_ver}/copyright alphabet_sounds_ca-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_ca-0.9.1/copyright alphabet_sounds_ca-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/ca %{_datadir}/%{realname}/alphabetsounds/ca - %files alphabet_sounds_de -%doc alphabet_sounds_de-%{alphabet_ver}/copyright alphabet_sounds_de-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_de-0.9.1/copyright alphabet_sounds_de-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/de %{_datadir}/%{realname}/alphabetsounds/de - %files alphabet_sounds_el -%doc alphabet_sounds_el-%{old_alphabet_ver}/copyright alphabet_sounds_el-%{old_alphabet_ver}/GPL-2 +%doc alphabet_sounds_el-0.9/copyright alphabet_sounds_el-0.9/GPL-2 %{_datadir}/%{realname}/alphabetsounds/el - %files alphabet_sounds_en_GB -%doc alphabet_sounds_en_GB-%{alphabet_ver}/copyright alphabet_sounds_en_GB-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_en_GB-0.9.1/copyright alphabet_sounds_en_GB-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/en_GB - %files alphabet_sounds_es -%doc alphabet_sounds_es-%{alphabet_ver}/copyright alphabet_sounds_es-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_es-0.9.1/copyright alphabet_sounds_es-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/es %{_datadir}/%{realname}/alphabetsounds/es - %files alphabet_sounds_fr -%doc alphabet_sounds_fr-%{alphabet_ver}/copyright alphabet_sounds_fr-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_fr-0.9.1/copyright alphabet_sounds_fr-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/fr %{_datadir}/%{realname}/alphabetsounds/fr - %files alphabet_sounds_it -%doc alphabet_sounds_it-%{alphabet_ver}/copyright alphabet_sounds_it-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_it-0.9.1/copyright alphabet_sounds_it-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/it %{_datadir}/%{realname}/alphabetsounds/it - %files alphabet_sounds_lt -%doc alphabet_sounds_lt-%{alphabet_ver}/copyright alphabet_sounds_lt-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_lt-0.9.1/copyright alphabet_sounds_lt-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/lt - %files alphabet_sounds_nb -%doc alphabet_sounds_nb-%{alphabet_ver}/copyright alphabet_sounds_nb-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_nb-0.9.1/copyright alphabet_sounds_nb-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/nb - %files alphabet_sounds_nl -%doc alphabet_sounds_nl-%{alphabet_ver}/copyright alphabet_sounds_nl-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_nl-0.9.1/copyright alphabet_sounds_nl-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/nl %{_datadir}/%{realname}/alphabetsounds/nl - %files alphabet_sounds_pt -%doc alphabet_sounds_pt-%{alphabet_ver}/copyright alphabet_sounds_pt-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_pt-0.9.1/copyright alphabet_sounds_pt-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/pt +%files alphabet_sounds_pt_BR +%doc alphabet_sounds_pt_BR-0.9.1/copyright alphabet_sounds_pt_BR-0.9.1/GPL-2 +%{_datadir}/%{realname}/alphabetsounds/pt_BR +%{_datadir}/%{realname}/CPData/FlashcardsData/names/pt_BR %files alphabet_sounds_ro -%doc alphabet_sounds_ro-%{alphabet_ver}/copyright alphabet_sounds_ro-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_ro-0.9.1/copyright alphabet_sounds_ro-0.9.1/GPL-2 %{_datadir}/%{realname}/alphabetsounds/ro - %files alphabet_sounds_ru -%doc alphabet_sounds_ru-%{alphabet_ver}/copyright alphabet_sounds_ru-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_ru-0.9.1/copyright alphabet_sounds_ru-0.9.1/GPL-2 %{_datadir}/%{realname}/CPData/FlashcardsData/names/ru %{_datadir}/%{realname}/alphabetsounds/ru - %files alphabet_sounds_sl +%doc alphabet_sounds_sl-0.9.1/LICENCE alphabet_sounds_sl-0.9.1/license.txt +%doc alphabet_sounds_sl-0.9.1/README %{_datadir}/%{realname}/alphabetsounds/sl %{_datadir}/%{realname}/CPData/FlashcardsData/names/sl - %files alphabet_sounds_sv -%doc alphabet_sounds_sv-%{alphabet_ver}/copyright alphabet_sounds_sv-%{alphabet_ver}/GPL-2 +%doc alphabet_sounds_sv-0.9.2/copyright alphabet_sounds_sv-0.9.2/GPL-2 %{_datadir}/%{realname}/alphabetsounds/sv %changelog +* Mon Dec 17 2012 Hans de Goede - 1.6-8 +- Upgrade -sv alphabetsounds to 0.9.2 version +- Add -pt_BR alphabetsounds +- Correct License tag for alphabetsounds sub-packages: GPLv2, except for + -sl which is CC-BY + * Wed Jul 18 2012 Fedora Release Engineering - 1.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 40a0db7..ac01386 100644 --- a/sources +++ b/sources @@ -1,8 +1,7 @@ -d113ca45424f48e5f8fee6df04ffa7a1 childsplay-1.6.tgz afc19d0df7e89aa469f6f0553ca691e9 alphabet_sounds_bg-0.9.1.tgz f262b6db7734d4c4c9507514ba4ca02e alphabet_sounds_ca-0.9.1.tgz 7088f35d6746a12f01d782ee749b1818 alphabet_sounds_de-0.9.1.tgz -8d3037784e12b2c3fd65bba52d228efa alphabet_sounds_el-0.9.tgz +4c14070cdc31ae4963bed1c3df955c8f alphabet_sounds_el-0.9.tgz 8461abeb41b202bc56778395f9ce46f2 alphabet_sounds_en_GB-0.9.1.tgz 959ba7c2e922ba7d7f939d0b5edaa166 alphabet_sounds_es-0.9.1.tgz a7b6b136671d08f82b00160ebb9beff4 alphabet_sounds_fr-0.9.1.tgz @@ -11,7 +10,9 @@ a7b6b136671d08f82b00160ebb9beff4 alphabet_sounds_fr-0.9.1.tgz 745054a52ae61954312d1e78ba12aa27 alphabet_sounds_nb-0.9.1.tgz 06c4a4a3906b09cd6e8f43e6493bcbd6 alphabet_sounds_nl-0.9.1.tgz 74f938723bf150f397cf1661cb959cc2 alphabet_sounds_pt-0.9.1.tgz +10ac35d699dcedfffd9bf82a81e5ebbd alphabet_sounds_pt_BR-0.9.1.tgz 02258080de77aeb13d1d34e8f5f44a52 alphabet_sounds_ro-0.9.1.tgz 1023b6dd5bdf70eaa037b39a63360d49 alphabet_sounds_ru-0.9.1.tgz 04508ccba7a2cafe7b3485ee9539a730 alphabet_sounds_sl-0.9.1.tgz -bd02c41bd3ea7124cc9919191e8b13f9 alphabet_sounds_sv-0.9.1.tgz +61e12b63ef23a5cf4168e8a60d1a519a alphabet_sounds_sv-0.9.2.tgz +d113ca45424f48e5f8fee6df04ffa7a1 childsplay-1.6.tgz