Rpm based installation in fedora 30

Hi everyone,
I am a real novice in the field of GEANT4 and I plan to learn GEANT4 over the next few months. I recently did an rpm based installation on Fedora from the following link
https://fedora.pkgs.org/30/rpm-sphere-x86_64/geant4-10.02-9.1.x86_64.rpm.html
I also installed the sources and examples, developer packages. The installation proceeded correctly (as shown in the webpage). A directory Geant4 has been created in /opt which contains the following directories-
bin cmake config examples include lib LICENSE ReleaseNotes source tmp
Since I had done a fresh install of fedora 30, I installed the C++ and make compiler packages.
Next, I tried running example B1 in the following manner,
inside the example directory, I made a new directory B1_build and cd into it
cmake -DGeant4_DIR=/opt/Geant4/ …/B1
I get the following message
CMake Error at CMakeLists.txt:15 (find_package):
By not providing “FindGeant4.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Geant4”, but
CMake did not find one.

Could not find a package configuration file provided by “Geant4” with any
of the following names:

Geant4Config.cmake
geant4-config.cmake

Add the installation prefix of “Geant4” to CMAKE_PREFIX_PATH or set
“Geant4_DIR” to a directory containing one of the above files. If “Geant4”
provides a separate development package or SDK, be sure it has been
installed.

By whatever I could figure out I should point cmake to the directory containing Geant4Config.cmake or geant4-config.cmake. However after running a find -name, I could not find any file by that name. Am I missing something somewhere? Please help me out.

Cheers!
Yajnya

It’s likely that a that there’s a package named like “geant4-devel” or similar that will provide this file. It’s by default installed in a “Geant4-” directory next to the libraries, so should be there if the packager used the defaults.

Note that this rpm is not supported or distributed by the Geant4 collaboration, so we can’t guarantee functionality.

Check my Geant4 build for Fedora on Copr
https://copr.fedorainfracloud.org/coprs/yanqiyu/geant4/