gcompris-qt/gcompris-qt.spec

171 lines
6.1 KiB
RPMSpec

Name: gcompris-qt
Epoch: 1
Version: 4.0
Release: 1mamba
Summary: Educational software which propose different activities to kids from 2 to 10 (QT version)
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gcompris.net/index-en.html
Source: https://gcompris.net/download/qt/src/gcompris-qt-%{version}.tar.xz
Source1: https://github.com/qml-box2d/qml-box2d.git/master@1308855/qml-box2d-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Charts-devel
BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5Sensors-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquickcontrols2-devel
## AUTOBUILDREQ-END
Provides: gcompris
Obsoletes: gcompris <= 17.05
Obsoletes: gcompris-langpack-af <= 17.05
Obsoletes: gcompris-langpack-ar <= 17.05
Obsoletes: gcompris-langpack-ast <= 17.05
Obsoletes: gcompris-langpack-bg <= 17.05
Obsoletes: gcompris-langpack-br <= 17.05
Obsoletes: gcompris-langpack-ca <= 17.05
Obsoletes: gcompris-langpack-cs <= 17.05
Obsoletes: gcompris-langpack-da <= 17.05
Obsoletes: gcompris-langpack-de <= 17.05
Obsoletes: gcompris-langpack-el <= 17.05
Obsoletes: gcompris-langpack-en <= 17.05
Obsoletes: gcompris-langpack-eo <= 17.05
Obsoletes: gcompris-langpack-es <= 17.05
Obsoletes: gcompris-langpack-eu <= 17.05
Obsoletes: gcompris-langpack-fi <= 17.05
Obsoletes: gcompris-langpack-fr <= 17.05
Obsoletes: gcompris-langpack-gd <= 17.05
Obsoletes: gcompris-langpack-he <= 17.05
Obsoletes: gcompris-langpack-hi <= 17.05
Obsoletes: gcompris-langpack-hu <= 17.05
Obsoletes: gcompris-langpack-id <= 17.05
Obsoletes: gcompris-langpack-it <= 17.05
Obsoletes: gcompris-langpack-kn <= 17.05
Obsoletes: gcompris-langpack-lt <= 17.05
Obsoletes: gcompris-langpack-mr <= 17.05
Obsoletes: gcompris-langpack-nb <= 17.05
Obsoletes: gcompris-langpack-nl <= 17.05
Obsoletes: gcompris-langpack-nn <= 17.05
Obsoletes: gcompris-langpack-pa <= 17.05
Obsoletes: gcompris-langpack-pl <= 17.05
Obsoletes: gcompris-langpack-pt <= 17.05
Obsoletes: gcompris-langpack-pt_BR <= 17.05
Obsoletes: gcompris-langpack-ro <= 17.05
Obsoletes: gcompris-langpack-ru <= 17.05
Obsoletes: gcompris-langpack-sk <= 17.05
Obsoletes: gcompris-langpack-sl <= 17.05
Obsoletes: gcompris-langpack-so <= 17.05
Obsoletes: gcompris-langpack-sr <= 17.05
Obsoletes: gcompris-langpack-sv <= 17.05
Obsoletes: gcompris-langpack-th <= 17.05
Obsoletes: gcompris-langpack-tr <= 17.05
Obsoletes: gcompris-langpack-ur <= 17.05
Obsoletes: gcompris-langpack-zh_CN <= 17.05
Obsoletes: gcompris-langpack-zh_TW <= 17.05
%description
GCompris / I Have Understood is an educationnal software which propose more than 60 different activities to kids from 2 to 10:
* Click on the animals => learn the mouse/click usage
* Type the falling letters => learn the keyboard usage
* Falling Dices
* Falling words
* Basic algebra
* Time learning with an analog clock
* Puzzle game with famous paintings
* Drive Plane to catch clouds in increasing number
* Balance the scales
* And much more ...
Some activities are game oriented, but always educational.
Gcompris is a free software, you have the possibility to adapt it to your needs or to improve it, and to share your work with the kids of all the world.
%debug_package
%prep
%setup -q -a1
#-D -T
#:<< _EOF
rmdir external/qml-box2d
mv qml-box2d-%{version} external/qml-box2d
%build
#:<< _EOF
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
#%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/gcompris-qt
%{_prefix}/lib/qml/Box2D.2.0/libBox2D.so
%{_prefix}/lib/qml/Box2D.2.0/qmldir
%{_datadir}/applications/org.kde.gcompris.desktop
%{_datadir}/metainfo/org.kde.gcompris.appdata.xml
%dir %{_datadir}/gcompris-qt
%dir %{_datadir}/gcompris-qt/rcc
%{_datadir}/gcompris-qt/rcc/*
%{_datadir}/icons/hicolor/256x256/apps/gcompris-qt.png
%{_datadir}/icons/hicolor/scalable/apps/gcompris-qt.svg
%dir %{_datadir}/gcompris-qt/translations
%{_datadir}/gcompris-qt/translations/gcompris_*.qm
%doc LICENSES
%changelog
* Wed Feb 21 2024 Automatic Build System <autodist@openmamba.org> 4.0-1mamba
- automatic version update by autodist
* Thu Jun 08 2023 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
- automatic version update by autodist
* Sat Apr 01 2023 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic version update by autodist
* Mon Jan 23 2023 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-2mamba
- provide/obsolete gcompris
* Wed Apr 13 2022 Automatic Build System <autodist@mambasoft.it> 2.4-1mamba
- automatic version update by autodist
* Mon Feb 28 2022 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
- automatic version update by autodist
* Sat Feb 26 2022 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
- automatic version update by autodist
* Sun Jan 23 2022 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Sat Dec 18 2021 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic version update by autodist
* Mon May 24 2021 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic version update by autodist
* Thu Nov 19 2020 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic version update by autodist
* Tue Jul 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.97.1-1mamba
- update to 0.97.1
* Thu Apr 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.98-1mamba
- qt version package created from gcompris package (gtk)