OK, I finally got some time to look further into this. And I have found -
1. The debs from eg Ubuntu call the package libqt5pas1 because thats how library debs should be named. In our case they regard version 1.2.6 of the library to be version 2.6 of series 1 of libqt5pas. As noted above, some distros observe this, some don't. Accepting this model makes getting a uniform version across the distros a little easier. Zeljan has renumbered trunk to 1.2.8, so, we call that version 2.8 for now and when we move to version 3.0.0 of Lazarus, rev it then to match. That is, it will become 1.3.0 or, in package name terms, it will be libqt5pas1 version 3.0.
2. I have built debs and rpms using source from trunk and tested them. They make Ubuntu 18.04 work well, they make Mageia work well. They also work fine with Fedora and recent Ubuntu but are not necessary. However, if someone is bitten by some of the bugs Zeljan has fixed in the last couple of years, they would be useful there too.
3. Zeljan, it might avoid some confusion if you remove the spurious version numbers that appear in the source, in qt5.pas, we have comment, line #14, "Version : 2.6Beta ". That is apparently why Ubuntu stamps their version 'beta', we can do without that. And in Qt5Pas.pro, we have a comment, line #13, "Binding Release Version 2.6", I suggest you remove version number, its mentioned correctly, 1.2.8, on line #16
4. If no one objects, I'll put that (trunk) source and the premade debs and rpms on github. Update either "from time to time" or at each Lazarus release ? I would like to point the distro maintainers at this repo but only with the Lazarus developers approval.
Davo