Building and Installing Fotoxx on Fedora (and Redhat/CentOS)
--------------------------------------------------------------------------------------------------

The following packages (and all dependencies) will be needed to build fotoxx:
   rpm-build
   atk-devel
   cairo-devel
   gcc-c++
   glibc-devel
   gtk3-devel
   lcms2-devel
   libpng-devel
   libstdc++-devel
   libtiff-devel
   pango-devel
   perl-Image-ExifTool
   ufraw

To install these, open a terminal and enter:
   $ sudo yum install rpm-build atk-devel cairo-devel gcc-c++ glibc-devel gtk3-devel lcms2-devel
   $ sudo yum install libpng-devel libstdc++-devel libtiff-devel pango-devel perl-Image-ExifTool ufraw

As User (not root!), if you haven't created an RPM build environment,
create the following folder (matching case) in your home folder:
   $ mkdir -p ~/rpmbuild/SOURCES/

As User, download and save the fotoxx source tarball  to the above folder via the browser.
(file name is fotoxx-xx.xx.tar.gz where xx.xx is the current release number)

As User, download the RPM spec file  fotoxx.spec  and save it to the home folder (~/).
Rename the parameter "version" (text line 2) to reflect the current version.

As User, go to the same folder you have the fotoxx.spec file download to.
Type the following command:
   $ rpmbuild -ba fotoxx.spec

The compiler should start to do its magic then finish.
You're now ready to install the completed RPM package.

The following packages must be installed to run Fotoxx. Most of these were
either installed as dependencies of the "-devel" build packages, or they are
already on the system. YUM (the RPM package manager) is smart enough to
figure and install these on its own. The following is for reference only:
   atk
   cairo
   cairo-gobject
   dcraw
   exiv2
   fontconfig
   freetype
   gdk-pixbuf2
   glib2
   glibc
   gtk3
   lcms2
   libgcc
   libpng
   libstdc++
   libtiff
   pango
   perl-Image-ExifTool
   ufraw

The completed RPM package will be installed in either
  ~/rpmbuild/RPMS/x86_64/ (64-bit systems)  or  ~/rpmbuild/RPMS/i586/

As User in a terminal:
   $ cd ~/rpmbuild/RPMS/x86_64/
   $ ls
  
** OR **
   $ cd ~/rpmbuild/RPMS/i586/
   $ ls

Make sure you have a completed fotoxx RPM package; it will be named
   "fotoxx-xx.xx-1.x86_64.rpm" (or "fotoxx-xx.xx-1.i586.rpm").
There may be a "fotoxx-debuginfo-xx.xx-1...rpm" file; you can ignore the file.
 
From the same terminal above, enter:
   $ sudo yum install fotoxx-xx.xx*.rpm

All dependencies should be installed and fotoxx should be ready to run from the Menu.

NOTE:
For grins, you can look in the folder ~/rpmbuild/RPMS/SRPMS/. The RPM file
located there (fotoxx-xx.xx-1.src.rpm) can be saved elsewhere, and if you
want to rebuild it, you can use the command:
   $ rpmbuild --rebuild fotoxx-xx.xx-1*.src.rpm

The newly-built RPM file will be again located in either
  ~/rpmbuild/RPMS/x86_64/ (64-bit systems) or ~/rpmbuild/RPMS/i586/