as shared in many posts from myself and others do not attempt to install package.tar.gz files on rpm based systems.
it has the same effect as you leave your car under a tree, in the spring.
it gets cr*** all over it, and needs cleaning , usually with a reinstall.
instead look for an rpm either in the official mageia repos , with urpmi docear, or if it has not been packaged by one of the mageia contributors, you can usually get away with choosing a package from another similar distribution.
for example i use the skype intended for fedora, and the same with handbrake.
does not always work, sometimes, you have to manually solve dependencies.
or if you are able follow the following
https://wiki.mageia.org/en/Packaging_for_beginnersand attempt to package it yourself.
another way is to get the srpm from another distribution and run rpmbuild --rebuild on it a that can save a whole lot of work creating the spec file from scratch, but again is not always 100% straight forward.
I see docear is available from a google search for the PCLinuxos distribution.
this one may work in mageia.
always backup you PC first, for example use clonezilla, ghost, or similar, in case any inexperience leads to unexpected results.
regards peter