]>
Commit | Line | Data |
---|---|---|
2daec9bd MB |
1 | Summary: A tool to customize advanced GNOME 3 options |
2 | Summary(pl.UTF-8): Narzędzie do dostosowywania zaawansowanych opcji GNOME 3 | |
0044a441 | 3 | Name: gnome-tweaks |
e4d36b43 JB |
4 | Version: 40.0 |
5 | Release: 1 | |
25664c85 | 6 | License: GPL v3+ |
2daec9bd | 7 | Group: X11/Applications |
e4d36b43 JB |
8 | Source0: https://download.gnome.org/sources/gnome-tweaks/40/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 81b5883a6f0046f1b63cc998829d83e4 | |
8ed5b9aa | 10 | URL: https://wiki.gnome.org/Apps/Tweaks |
6f35d5cd | 11 | BuildRequires: gettext-tools >= 0.17 |
e4d36b43 | 12 | BuildRequires: meson >= 0.46.0 |
8ed5b9aa | 13 | BuildRequires: ninja >= 1.5 |
2daec9bd | 14 | BuildRequires: pkgconfig |
94eab50c | 15 | BuildRequires: python3 >= 1:3.0 |
8ed5b9aa | 16 | BuildRequires: rpmbuild(macros) >= 1.736 |
25664c85 | 17 | BuildRequires: sed >= 4.0 |
d54af36a MB |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
e4d36b43 | 20 | Requires(post,postun): glib2 >= 1:2.58 |
db1eb1a8 | 21 | Requires(post,postun): gtk-update-icon-cache |
8ed5b9aa JB |
22 | Requires: glib2 >= 1:2.58 |
23 | Requires: gnome-desktop >= 3.30 | |
e4d36b43 | 24 | Requires: gnome-settings-daemon |
8ed5b9aa | 25 | Requires: gnome-shell >= 3.24 |
d54af36a | 26 | Requires: gobject-introspection |
8ed5b9aa | 27 | Requires: gsettings-desktop-schemas >= 3.34 |
4f3009e1 | 28 | Requires: gtk+3 >= 3.12.0 |
db1eb1a8 | 29 | Requires: hicolor-icon-theme |
e4d36b43 | 30 | Requires: libhandy1 >= 1.0 |
94eab50c MB |
31 | Requires: libnotify >= 0.7 |
32 | Requires: libsoup >= 2.4 | |
8ed5b9aa JB |
33 | Requires: mutter |
34 | # Pango-1.0.typelib | |
35 | Requires: pango >= 1:1.26 | |
9979df52 | 36 | Requires: python-pygobject3 >= 3.10 |
94eab50c | 37 | Requires: python3 >= 1:3.0 |
8ed5b9aa | 38 | Requires: sound-theme-freedesktop |
e4d36b43 JB |
39 | Suggests: nautilus >= 3.26 |
40 | Obsoletes: gnome-tweak-tool < 3.27 | |
30395139 | 41 | BuildArch: noarch |
2daec9bd MB |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
43 | ||
44 | %description | |
45 | A tool to customize advanced GNOME 3 options. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Narzędzie do dostosowywania zaawansowanych opcji GNOME 3. | |
49 | ||
50 | %prep | |
51 | %setup -q | |
2daec9bd | 52 | |
8ed5b9aa | 53 | %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' gnome-tweaks gnome-tweak-tool-lid-inhibitor |
25664c85 | 54 | |
2daec9bd | 55 | %build |
94eab50c | 56 | %meson build |
8ed5b9aa JB |
57 | |
58 | %ninja_build -C build | |
2daec9bd MB |
59 | |
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
30395139 | 62 | install -d $RPM_BUILD_ROOT%{py3_sitescriptdir} |
2daec9bd | 63 | |
8ed5b9aa | 64 | %ninja_install -C build |
2daec9bd | 65 | |
30395139 JR |
66 | %{__mv} $RPM_BUILD_ROOT{%{py3_sitedir},%{py3_sitescriptdir}}/gtweak |
67 | ||
5cd02dae MB |
68 | %find_lang %{name} |
69 | ||
2daec9bd MB |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
db1eb1a8 | 73 | %post |
e4d36b43 | 74 | %glib_compile_schemas |
db1eb1a8 MB |
75 | %update_icon_cache hicolor |
76 | ||
77 | %postun | |
e4d36b43 | 78 | %glib_compile_schemas |
db1eb1a8 MB |
79 | %update_icon_cache hicolor |
80 | ||
5cd02dae | 81 | %files -f %{name}.lang |
2daec9bd | 82 | %defattr(644,root,root,755) |
8ed5b9aa | 83 | %doc AUTHORS NEWS README.md |
0044a441 | 84 | %attr(755,root,root) %{_bindir}/gnome-tweaks |
54dabfc4 | 85 | %attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor |
30395139 | 86 | %{py3_sitescriptdir}/gtweak |
e4d36b43 | 87 | %{_datadir}/glib-2.0/schemas/org.gnome.tweaks.gschema.xml |
0044a441 JK |
88 | %{_datadir}/gnome-tweaks |
89 | %{_datadir}/metainfo/org.gnome.tweaks.appdata.xml | |
90 | %{_desktopdir}/org.gnome.tweaks.desktop | |
7b424da0 JR |
91 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.tweaks.svg |
92 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg |