|
|
707c352 |
%global commit_date 20210319
|
|
|
707c352 |
%global commit_long 295026aab84b89eb149d620847f041758191f855
|
|
|
c1f294b |
%global commit_short %(c=%{commit_long}; echo ${c:0:7})
|
|
|
fe9ebe3 |
|
|
|
eff53af |
Name: gnome-shell-extension-topicons-plus
|
|
|
eff53af |
Summary: Move all legacy tray icons to the top panel
|
|
|
fee4852 |
Version: 27
|
|
|
707c352 |
# Release: XX%%{?dist}
|
|
|
42a15a6 |
Release: 8.%{commit_date}.%{commit_short}%{?dist}
|
|
|
eff53af |
URL: https://extensions.gnome.org/extension/1031/topicons/
|
|
|
eff53af |
License: GPLv2
|
|
|
eff53af |
BuildArch: noarch
|
|
|
eff53af |
|
|
|
c0ae4d0 |
# There haven't been any *tagged* releases in a long time, but this is where they would be:
|
|
|
26e9d14 |
# https://github.com/phocean/TopIcons-plus/releases
|
|
|
707c352 |
# Source0: https://github.com/phocean/TopIcons-plus/archive/%%{version}/TopIcons-plus-%%{version}.tar.gz
|
|
|
707c352 |
Source0: https://github.com/kofemann/TopIcons-plus/archive/%{commit_short}/TopIcons-plus-%{commit_short}.tar.gz
|
|
|
c1f294b |
|
|
|
aba9312 |
BuildRequires: glib2
|
|
|
caff3fa |
BuildRequires: make
|
|
|
aba9312 |
|
|
|
707c352 |
Requires: gnome-shell >= 40
|
|
|
a8e0c2c |
Requires: gnome-shell-extension-common
|
|
|
a8e0c2c |
|
|
|
5929f70 |
Recommends: ( gnome-extensions-app or %{_bindir}/gnome-shell-extension-prefs )
|
|
|
c410ce4 |
Recommends: gnome-shell-extension-appindicator
|
|
|
d27f55c |
Recommends: ( gnome-tweaks or gnome-tweak-tool )
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
%description
|
|
|
8016cc1 |
Many applications, such as chat clients, downloaders, and some media
|
|
|
8016cc1 |
players, are meant to run long-term in the background even after you
|
|
|
8016cc1 |
close their window. These applications remain accessible by adding an
|
|
|
8016cc1 |
icon to the GNOME Shell Legacy Tray. However, the Legacy Tray is hidden
|
|
|
8016cc1 |
until you push your mouse into the lower-left of the screen and click on
|
|
|
8016cc1 |
the small tab that appears. TopIcons Plus brings all icons back to the
|
|
|
8016cc1 |
top panel, so that it's easier to keep track of apps running in the
|
|
|
8016cc1 |
background. You also get some options to control the look and feel: You
|
|
|
8016cc1 |
can leave the icons in full color, or dynamically convert them to
|
|
|
a0d1ac7 |
grayscale, etc.
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
# UUID is defined in extension's metadata.json and used as directory name.
|
|
|
eece1f1 |
%global UUID TopIcons@phocean.net
|
|
|
eff53af |
%global gnome_extensions_dir %{_datadir}/gnome-shell/extensions/
|
|
|
a24ff20 |
%global final_install_dir %{buildroot}/%{gnome_extensions_dir}/%{UUID}
|
|
|
eff53af |
|
|
|
eff53af |
%prep
|
|
|
707c352 |
# %%autosetup -n TopIcons-plus-%%{version}
|
|
|
707c352 |
%autosetup -n TopIcons-plus-%{commit_long}
|
|
|
eff53af |
|
|
|
4466a90 |
cat > ./README-fedora.md << EOF
|
|
|
4466a90 |
After installing, each user that wants it must still manually enable
|
|
|
4466a90 |
TopIcons Plus before it will take effect. You can do so a few different
|
|
|
4466a90 |
ways.
|
|
|
4466a90 |
|
|
|
4466a90 |
First, restart GNOME Shell (Open the command dialog with Alt-F2, type
|
|
|
4466a90 |
\`r\`, and hit enter), or log out and log back in. Then:
|
|
|
4466a90 |
|
|
|
4466a90 |
- If you've already set up the GNOME Shell web browser plugin, go to
|
|
|
4466a90 |
<https://extensions.gnome.org/local/>, find the extension, and click
|
|
|
4466a90 |
the switch to "ON."
|
|
|
4466a90 |
- Open GNOME Tweaks, go to the Extensions tab, find the extension,
|
|
|
4466a90 |
and click the switch to "ON."
|
|
|
4466a90 |
- Open a terminal or the desktop's command dialog, and (as your normal
|
|
|
4466a90 |
user account) run:
|
|
|
4466a90 |
\`gnome-extensions enable %{UUID}\`
|
|
|
4466a90 |
EOF
|
|
|
4466a90 |
|
|
|
4466a90 |
|
|
|
4466a90 |
|
|
|
eff53af |
%build
|
|
|
2abd4d4 |
# `build` make target is included in `make install`.
|
|
|
eff53af |
|
|
|
4466a90 |
|
|
|
4466a90 |
|
|
|
eff53af |
%install
|
|
|
2abd4d4 |
%make_install INSTALL_PATH=%{buildroot}/%{gnome_extensions_dir}
|
|
|
2abd4d4 |
|
|
|
064fd61 |
rm %{final_install_dir}/locale/*/LC_MESSAGES/*.po
|
|
|
064fd61 |
mv %{final_install_dir}/locale %{buildroot}/%{_datadir}/
|
|
|
064fd61 |
%find_lang TopIcons-Plus
|
|
|
064fd61 |
|
|
|
ae33062 |
# README also gets copied to the standard documentation directory, so we don't
|
|
|
a24ff20 |
# need it here.
|
|
|
a24ff20 |
rm %{final_install_dir}/README.md
|
|
|
eff53af |
|
|
|
4488add |
# RPM will take care of gschemas, so we don't need to include a precompiled copy.
|
|
|
4488add |
mkdir -p %{buildroot}/%{_datadir}/glib-2.0/schemas/
|
|
|
4488add |
mv %{final_install_dir}/schemas/org.gnome.shell.extensions.topicons.gschema.xml \
|
|
|
4488add |
%{buildroot}/%{_datadir}/glib-2.0/schemas/
|
|
|
4488add |
rm --recursive %{final_install_dir}/schemas/
|
|
|
4488add |
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
064fd61 |
%files -f TopIcons-Plus.lang
|
|
|
74099f3 |
%doc README.md README-fedora.md
|
|
|
eff53af |
%license gpl-2.0.txt
|
|
|
eff53af |
%{gnome_extensions_dir}/%{UUID}/
|
|
|
4488add |
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.topicons.gschema.xml
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
|
|
|
eff53af |
%changelog
|
|
|
42a15a6 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 27-8.20210319.295026a
|
|
|
42a15a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
42a15a6 |
|
|
|
c410ce4 |
* Fri Apr 2 2021 Audrey Toskin <audrey@tosk.in> - 27-7.20210319.295026a
|
|
|
c410ce4 |
- Recommend also installing GNOME Shell extension for libappindicator.
|
|
|
c410ce4 |
(TopIcons Plus and libappindicator provide overlapping functionality
|
|
|
c410ce4 |
and use case, but cover the gaps in each other's supported apps and
|
|
|
c410ce4 |
sessions, without stepping on each other's toes. So a user who wants
|
|
|
c410ce4 |
to see status icons in the top panel will probably want both Shell
|
|
|
c410ce4 |
extensions.)
|
|
|
c410ce4 |
|
|
|
c410ce4 |
* Tue Mar 23 2021 Audrey Toskin <audrey@tosk.in> - 27-6.20210319.295026a
|
|
|
707c352 |
- Source the commit from contributor kofemann on GitHub directly.
|
|
|
707c352 |
With this revision, TopIcons Plus no longer supports GNOME 3.x, only
|
|
|
707c352 |
GNOME 40+.
|
|
|
707c352 |
|
|
|
c1f294b |
* Tue Mar 23 2021 Hans de Goede <hdegoede@redhat.com> - 27-5
|
|
|
c1f294b |
- Fix GNOME 40 incompatiblity, fixing #1936207, #1938441, #1941009
|
|
|
c1f294b |
|
|
|
d27f55c |
* Wed Mar 10 2021 Audrey Toskin <audrey@tosk.in> - 27-4
|
|
|
d27f55c |
- Minor rebuild to mark TopIcons Plus 27 as incompatible with GNOME 40.
|
|
|
d27f55c |
|
|
|
115a7ea |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 27-3
|
|
|
115a7ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
115a7ea |
|
|
|
84c6e1f |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 27-2
|
|
|
84c6e1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|