Blame gnome-shell-extension-dash-to-dock.spec

4ddc4fb
%global extdir      %{_datadir}/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com
4ddc4fb
%global gschemadir  %{_datadir}/glib-2.0/schemas
1132da8
6ff2176
%global giturl https://github.com/micheleg/dash-to-dock
6ff2176
%global commit 9605dd69fe86d4f92416299c3f62605e75827dd3
6ff2176
%global commit_short %(c=%{commit}; echo ${c:0:7})
6ff2176
%global commit_date 20211003
1132da8
4ddc4fb
Name:           gnome-shell-extension-dash-to-dock
4ddc4fb
Version:        69
4ddc4fb
#Release:       5%%{?dist}
6ff2176
Release:        10.%{commit_date}git%{commit_short}%{?dist}
4ddc4fb
Summary:        Dock for the Gnome Shell by micxgx@gmail.com
1132da8
4ddc4fb
License:        GPLv2+
4ddc4fb
URL:            https://micheleg.github.io/dash-to-dock
Mike DePaulo 7636013
%if 0%{?commit:1}
4ddc4fb
Source0:        %{giturl}/archive/%{commit}.tar.gz
Mike DePaulo 7636013
%else
4ddc4fb
Source0:        %{giturl}/archive/extensions.gnome.org-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Mike DePaulo 7636013
%endif
Mike DePaulo 7636013
a79f28c
%if 0%{?fedora} && 0%{?fedora} >= 35
a79f28c
Patch0:         GNOME-41-Support.patch
a79f28c
%endif
a79f28c
4ddc4fb
BuildArch:      noarch
1132da8
4ddc4fb
BuildRequires:  gettext
4ddc4fb
BuildRequires:  make
4ddc4fb
BuildRequires:  sassc
4ddc4fb
BuildRequires:  %{_bindir}/glib-compile-schemas
1132da8
4ddc4fb
Requires:       gnome-shell-extension-common
Tomas Popela c2df281
# libdbusmenu won't be part of RHEL 9, thus disable the dependency.
Tomas Popela c2df281
%if 0%{?fedora}
4ddc4fb
Requires:       libdbusmenu-gtk3
Tomas Popela c2df281
%endif
1132da8
1132da8
%description
1132da8
This extension enhances the dash moving it out of the overview and
1132da8
transforming it in a dock for an easier launching of applications
1132da8
and a faster switching between windows and desktops without having
1132da8
to leave the desktop view.
1132da8
1132da8
1132da8
%prep
Mike DePaulo 7636013
%if 0%{?commit:1}
Mike DePaulo 7636013
%autosetup -n dash-to-dock-%{commit} -p 1
Mike DePaulo 7636013
%else
1132da8
%autosetup -n dash-to-dock-extensions.gnome.org-v%{version} -p 1
Mike DePaulo 7636013
%endif
1132da8
1132da8
1132da8
%build
1132da8
%make_build
1132da8
1132da8
1132da8
%install
1132da8
%make_install
1132da8
1132da8
# Cleanup crap.
1132da8
%{__rm} -fr %{buildroot}%{extdir}/{COPYING*,README*,locale,schemas}
1132da8
1132da8
# Create manifest for i18n.
1132da8
%find_lang %{name} --all-name
1132da8
1132da8
1132da8
# Fedora handles this using triggers.
1132da8
%if 0%{?rhel} && 0%{?rhel} <= 7
1132da8
%postun
1132da8
if [ $1 -eq 0 ] ; then
4ddc4fb
  %{_bindir}/glib-compile-schemas %{gschemadir} &> /dev/null || :
1132da8
fi
1132da8
1132da8
1132da8
%posttrans
1132da8
%{_bindir}/glib-compile-schemas %{gschemadir} &> /dev/null || :
1132da8
%endif
1132da8
1132da8
1132da8
%files -f %{name}.lang
1132da8
%license COPYING
1132da8
%doc README.md
1132da8
%{extdir}
1132da8
%{gschemadir}/*gschema.xml
1132da8
1132da8
1132da8
%changelog
6ff2176
* Fri Oct 8 2021 Maxwell G <gotmax@e.email> - 69-9.20211003git9605dd6
6ff2176
- Switch back to micheleg/dash-to-dock now that @ewlsh's PR was merged.
6ff2176
- Update %%commit_short variable to determine value based on %%commit.
6ff2176
a79f28c
* Thu Sep 23 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 69-9.2021706gite4beec8
a79f28c
- Add a small fixup for GNOME 41
a79f28c
73313d6
* Thu Jul 22 2021 Björn Esser <besser82@fedoraproject.org> - 69-8.2021706gite4beec8
4ddc4fb
- Add missing BuildRequires
4ddc4fb
0c5f37e
* Thu Jul 22 2021 Artem Vorotnikov <artem@vorotnikov.me> - 69-8.2021706gite4beec8
0c5f37e
- Upgrade the PR for GNOME 40 to the latest commit
0c5f37e
f4d62af
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 69-7.2021503gita2d40e2
f4d62af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f4d62af
Mike DePaulo 034464b
* Thu May 06 2021 Mike DePaulo <mikedep333@gmail.com> - 69-6.2021503gita2d40e2
Mike DePaulo 034464b
- Upgrade the PR for GNOME 40 to the latest commit,
Mike DePaulo 034464b
  "Fix separator in vertical mode."
Mike DePaulo 034464b
Mike DePaulo cc01825
* Fri Apr 30 2021 Mike DePaulo <mikedep333@gmail.com> - 69-5.20210430git5c438b8
Mike DePaulo cc01825
- Upgrade to the PR for GNOME 40 (Fedora 34) support by ewlsh,
Mike DePaulo cc01825
  which was last updated 2021-04-29 (rhbz: #1925747)
Mike DePaulo cc01825
ecfc2bd
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 69-4
ecfc2bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ecfc2bd
Tomas Popela c2df281
* Tue Dec 01 2020 Tomas Popela <tpopela@redhat.com> - 69-3
Tomas Popela c2df281
- Disable the libdbusmenu-gtk3 dependency on ELN/RHEL 9 as it won't contain
Tomas Popela c2df281
  libdbusmenu
Tomas Popela c2df281
372ea9d
* Thu Nov 19 2020 Mike DePaulo <mikedep333@gmail.com> - 69-2
372ea9d
- Merge PR from topherisswell (Christopher Morrow) to depend on libdbusmenu-gtk3
372ea9d
- Either this or the previous change (or both) should resolve enabling the
372ea9d
  extension on recent / all installations of F33 (rhbz: #1884795)
372ea9d
aa8abda
* Thu Nov 19 2020 Nikolaos Perrakis <nikperrakis@gmail.com> - 69-1.20201004git71abe80
aa8abda
- Upgrade to version 69, fixing GNOME 3.38 compatibility issues
aa8abda
Mike DePaulo 43a186c
* Mon Sep 14 2020 Mike DePaulo <mikedep333@gmail.com> - 68-3.20200911gite2cc441
Mike DePaulo 43a186c
- Upgrade to PR/branch for GNOME 3.38 compatibility, latest as of 2020-09-11
Mike DePaulo 43a186c
9f8e924
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 68-2
9f8e924
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9f8e924
Mike DePaulo ddb126d
* Mon Apr 20 2020 Mike DePaulo <mikedep333@gmail.com> - 68-1
Mike DePaulo ddb126d
- Update from nightlies (called v67, of v68) to v68 release (2020-04-19)
Mike DePaulo ddb126d
Mike DePaulo c877f3f
* Thu Apr 16 2020 Mike DePaulo <mikedep333@gmail.com> - 67-8.20200408git3ca96a2
Mike DePaulo c877f3f
- Rebase to master branch as of 2020-04-15
Mike DePaulo c877f3f
  ("Use new convenience function to open settings")
Mike DePaulo c877f3f
- Use latest proposed patches (37 total) for GNOME 3.36 compatibility
Mike DePaulo c877f3f
  as of 2020-04-16
Mike DePaulo c877f3f
  ("DnD shoud work properly also in horizontal mode")
Mike DePaulo c877f3f
Mike DePaulo 8b84d00
* Thu Apr 09 2020 Mike DePaulo <mikedep333@gmail.com> - 67-7.20200408git77bc707
Mike DePaulo 8b84d00
- Rebase to master branch as of 2020-04-08
Mike DePaulo 8b84d00
- Use latest proposed patches (36 total) for GNOME 3.36 compatibility
Mike DePaulo 8b84d00
  as of 2020-04-08
Mike DePaulo 8b84d00
  https://github.com/micheleg/dash-to-dock/pull/1097#event-3216150535
Mike DePaulo 8b84d00
Mike DePaulo 6928dd2
* Mon Apr 06 2020 Mike DePaulo <mikedep333@gmail.com> - 67-6.20200323git70f1db8
Mike DePaulo 6928dd2
- Rebase to master branch as of 2020-03-23
Mike DePaulo 6928dd2
- Use latest proposed patches (36 total) for GNOME 3.36 compatibility
Mike DePaulo 6928dd2
  (rhbz: #1794889)
Mike DePaulo 6928dd2
Mike DePaulo 607d837
* Tue Mar 03 2020 Mike DePaulo <mikedep333@gmail.com> - 67-5.20200224git5658b5c
Mike DePaulo 607d837
- Add 7 new addtl proposed patches for GNOME 3.36 compatibility (rhbz: #1794889)
Mike DePaulo 607d837
Mike DePaulo 134d864
* Thu Feb 27 2020 Mike DePaulo <mikedep333@gmail.com> - 67-4.20200224git5658b5c
Mike DePaulo 134d864
- Add new addtl proposed patch for GNOME 3.36 compatibility (rhbz: #1794889)
Mike DePaulo 134d864
Mike DePaulo 7636013
* Tue Feb 25 2020 Mike DePaulo <mikedep333@gmail.com> - 67-3
Mike DePaulo 7636013
- Upgrade to latest master branch
Mike DePaulo 7636013
- Add proposed PR/patches for GNOME 3.36 compatibility
Mike DePaulo 7636013
ac824bc
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 67-2
ac824bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ac824bc
Mike DePaulo c0b2648
* Sun Oct 27 2019 Mike DePaulo <mikedep333@gmail.com> - 67-1
Mike DePaulo c0b2648
- Upgrade to 67 for GNOME 3.34 (f31) compatibility (rhbz#1753665)
Mike DePaulo c0b2648
268956d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 66-2
268956d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
268956d
fbcb4c0
* Sun Apr 21 2019 Björn Esser <besser82@fedoraproject.org> - 66-1
fbcb4c0
- Upgrade to 66 for GNOME 3.32 (f30) compatibility (rhbz#1700690)
fbcb4c0
6363138
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 64-2
6363138
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6363138
9e6ad91
* Thu Nov 15 2018 Mike DePaulo <mikedep333@gmail.com> - 64-1
9e6ad91
- Upgrade to 64 for GNOME 3.30 (f29) compatibility as well as formal
9e6ad91
  GNOME 3.28 (f28 & EPEL 7.6) compatibility. (resolves #1634447)
9e6ad91
e0ad7a4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61-3
e0ad7a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e0ad7a4
b5ec1a2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61-2
b5ec1a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b5ec1a2
1132da8
* Sun Dec 03 2017 Björn Esser <besser82@fedoraproject.org> - 61-1
1132da8
- Initial import (rhbz#1520149)
1132da8
1132da8
* Fri Dec 01 2017 Björn Esser <besser82@fedoraproject.org> - 61-0.1
1132da8
- Initial rpm release (rhbz#1520149)