gcompris-qt/gcompris-qt.spec

89 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: gcompris-qt
Epoch: 1
Version: 1.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: http:/gcompris.net
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: ldconfig
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}/doc/HTML/en/gcompris-qt
%{_datadir}/doc/HTML/en/gcompris-qt/*
%dir %{_datadir}/gcompris-qt/translations
%{_datadir}/gcompris-qt/translations/gcompris_*.qm
%doc COPYING
%changelog
* 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)