Blob Blame History Raw
%global commit      e7017dbd7da9ba7df32c98eb6ba888df2ae2af6d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date        20191016

%global uuid    material-shell@papyelgringo

Name:           gnome-shell-extension-material-shell
Version:        0
Release:        0.9.%{date}git%{shortcommit}%{?dist}
Summary:        Performant and simple opinionated mouse/keyboard workflow

License:        MIT
URL:            https://github.com/PapyElGringo/material-shell
Source0:        %{url}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz
BuildArch:      noarch

Requires:       gnome-shell >= 3.32.0

%description
New shell for Gnome following the Material-design guidelines. Proposing a
performant and simple opinionated mouse/keyboard workflow to increase daily
productivity and comfort.

How to install:

1. Reload gnome-shell by logout and re-login
2. Open 'gnome-tweaks' and activate 'Material-shell' extension

or run in terminal:

  gnome-shell-extension-tool -e %uuid


%prep
%autosetup -n material-shell-%{commit}

%install
rm demo.gif CONTRIBUTING.md
mkdir -p    %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}
cp -a *     %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/
rm          %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/LICENSE
rm          %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/README.md

%files
%license LICENSE
%doc README.md
%{_datadir}/gnome-shell/extensions/%{uuid}

%changelog
* Mon Oct 21 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.9.20191016gite7017db
- Update to latest git snapshot

* Wed Sep 04 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.8.20190904git9b4e16d
- Update to latest git snapshot

* Fri Jul 26 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.7.20190720git2aad584
- Update to latest git snapshot

* Wed Jul 17 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.6.20190717gitac433ba
- Update to latest git snapshot

* Sun Jul 07 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0-0.1.20190706git96e68b8
- Initial package
- Thanks to Robert-André Mauchin <zebob.m@gmail.com> for help with packaging (as always) and review