1 |
ovitters |
1566319 |
%global extid %{extname}@csoriano |
2 |
|
|
%global extname desktop-icons |
3 |
|
|
%global uuid org.gnome.shell.extensions.%{extname} |
4 |
|
|
|
5 |
|
|
Name: gnome-shell-extension-%{extname} |
6 |
ovitters |
1566322 |
Version: 20.04.0 |
7 |
tv |
1877558 |
Release: %mkrel 3 |
8 |
ovitters |
1566319 |
Summary: GNOME Shell extension for providing desktop icons |
9 |
ovitters |
1566321 |
Group: Graphical desktop/GNOME |
10 |
ovitters |
1566319 |
|
11 |
|
|
License: GPLv3+ |
12 |
|
|
URL: https://gitlab.gnome.org/World/ShellExtensions/desktop-icons |
13 |
|
|
Source0: %{url}/-/archive/%{version}/%{extname}-%{version}.tar.gz |
14 |
|
|
BuildArch: noarch |
15 |
|
|
|
16 |
tv |
1877557 |
BuildRequires: glib2.0-common |
17 |
ovitters |
1566319 |
BuildRequires: gobject-introspection |
18 |
|
|
BuildRequires: intltool |
19 |
|
|
BuildRequires: meson |
20 |
|
|
Requires: gnome-shell |
21 |
|
|
Requires: nautilus >= 3.30.4 |
22 |
|
|
Requires: xdg-desktop-portal-gtk |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
This package provides a GNOME Shell extension for showing the contents |
26 |
|
|
of ~/Desktop on the desktop of the Shell. Common file management operations |
27 |
|
|
such as launching, copy/paste, rename and deleting are supported. |
28 |
|
|
|
29 |
|
|
You can use gnome-tweaks (additional package) or run in terminal: |
30 |
|
|
|
31 |
|
|
gnome-extensions enable %{extid} |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%autosetup -n %{extname}-%{version} |
36 |
|
|
sed -e "/meson_post_install/d" -i meson.build |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
%build |
40 |
|
|
%meson --localedir=%{_datadir}/locale |
41 |
|
|
%meson_build |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
%install |
45 |
|
|
%meson_install |
46 |
|
|
%find_lang %{extname} |
47 |
|
|
|
48 |
|
|
|
49 |
|
|
%files -f %{extname}.lang |
50 |
|
|
%license LICENSE |
51 |
|
|
%doc README.md |
52 |
|
|
%{_datadir}/glib-2.0/schemas/%{uuid}.gschema.xml |
53 |
|
|
%{_datadir}/gnome-shell/extensions/%{extid} |
54 |
|
|
|
55 |
|
|
|