I'm writing RPM specs for some of my favorite GNOME Shell extensions. I'm building these for Fedora because they weren't packaged there yet, but the specs will probably work for other RPM-based distributions too.
You can of course easily browse and install these addons from the GNOME Shell Extensions website. But then you have to remember to periodically revisit the web app and check for any updates to the extensions you've installed. If you install the RPM packages, then the Shell extensions can be automatically updated with the rest of your system.
This package is for Freon, which has its own GNOME Shell extension page and source code repository.
Freon is forked from gnome-shell-extension-sensors. Freon is a GNOME Shell extension for displaying CPU temperature, disk temperature, video card temperature (NVIDIA, Catalyst, and Bumblebee supported), power supply voltage, and fan RPM. You can choose which of these values to display, what temperature units to use, and how often to refresh the sensors readout, and they will appear in the GNOME Shell top bar.
NOTE: After installing, each user that wants it must still manually enable Freon before it will take effect. You can do so a few different ways:
gnome-shell-extension-tool --enable freon@UshakovVasilii_Github.yahoo.com
You may also need to restart GNOME Shell (Open the command dialog with Alt-F2,
type r
, and hit enter), or log out and log back in.
If you want to build everything yourself, you'll need to set up your packaging environment as described in the Fedora Wiki.
Once that's ready, and you have a clone of this repository and have fetched the extension's sources, you just need two commands:
# Build a source RPM from the spec file and local tarballs.
mock --buildsrpm --spec ./gnome-shell-extension-freon.spec --sources ./ --resultdir ./
# Optionally, build the binary RPM from the generated source RPM.
mock --rebuild ./gnome-shell-extension-freon-VERSION-RELEASE.src.rpm --resultdir ./
...Replacing "VERSION" and "RELEASE" with the actual values for the current
build. Adding --no-clean
to the mock commands will speed things up, though
working with a "clean" environment can help make completely sure you run a
consistent and reliable build.
Everything specific to this repository uses the MIT License.
Freon itself uses the GNU GPL version 2.