]>
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 |
367cfc06 | 4 | Version: 3.34.1 |
e94189cd | 5 | Release: 2 |
25664c85 | 6 | License: GPL v3+ |
2daec9bd | 7 | Group: X11/Applications |
367cfc06 JB |
8 | Source0: https://download.gnome.org/sources/gnome-tweaks/3.34/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 34136ab30594546889d7c32ed8b13aba | |
8ed5b9aa | 10 | URL: https://wiki.gnome.org/Apps/Tweaks |
6f35d5cd | 11 | BuildRequires: gettext-tools >= 0.17 |
8ed5b9aa | 12 | BuildRequires: glib2-devel >= 1:2.58 |
9979df52 | 13 | BuildRequires: gsettings-desktop-schemas-devel >= 3.24 |
94eab50c | 14 | BuildRequires: meson >= 0.40.0 |
8ed5b9aa | 15 | BuildRequires: ninja >= 1.5 |
2daec9bd | 16 | BuildRequires: pkgconfig |
9979df52 | 17 | BuildRequires: python-pygobject3-devel >= 3.10 |
94eab50c | 18 | BuildRequires: python3 >= 1:3.0 |
8ed5b9aa | 19 | BuildRequires: rpmbuild(macros) >= 1.736 |
25664c85 | 20 | BuildRequires: sed >= 4.0 |
d54af36a MB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
db1eb1a8 | 23 | Requires(post,postun): gtk-update-icon-cache |
8ed5b9aa JB |
24 | Requires: glib2 >= 1:2.58 |
25 | Requires: gnome-desktop >= 3.30 | |
26 | Requires: gnome-shell >= 3.24 | |
d54af36a | 27 | Requires: gobject-introspection |
8ed5b9aa | 28 | Requires: gsettings-desktop-schemas >= 3.34 |
4f3009e1 | 29 | Requires: gtk+3 >= 3.12.0 |
db1eb1a8 | 30 | Requires: hicolor-icon-theme |
8ed5b9aa | 31 | Requires: libhandy |
94eab50c MB |
32 | Requires: libnotify >= 0.7 |
33 | Requires: libsoup >= 2.4 | |
8ed5b9aa JB |
34 | Requires: mutter |
35 | # Pango-1.0.typelib | |
36 | Requires: pango >= 1:1.26 | |
9979df52 | 37 | Requires: python-pygobject3 >= 3.10 |
94eab50c | 38 | Requires: python3 >= 1:3.0 |
8ed5b9aa | 39 | Requires: sound-theme-freedesktop |
7b424da0 | 40 | Obsoletes: gnome-tweak-tool |
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 MB |
73 | %post |
74 | %update_icon_cache hicolor | |
75 | ||
76 | %postun | |
77 | %update_icon_cache hicolor | |
78 | ||
5cd02dae | 79 | %files -f %{name}.lang |
2daec9bd | 80 | %defattr(644,root,root,755) |
8ed5b9aa | 81 | %doc AUTHORS NEWS README.md |
0044a441 | 82 | %attr(755,root,root) %{_bindir}/gnome-tweaks |
54dabfc4 | 83 | %attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor |
30395139 | 84 | %{py3_sitescriptdir}/gtweak |
0044a441 JK |
85 | %{_datadir}/gnome-tweaks |
86 | %{_datadir}/metainfo/org.gnome.tweaks.appdata.xml | |
87 | %{_desktopdir}/org.gnome.tweaks.desktop | |
7b424da0 JR |
88 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.tweaks.svg |
89 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg |