]>
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 JK |
3 | Name: gnome-tweaks |
4 | Version: 3.30.2 | |
5 | Release: 1 | |
25664c85 | 6 | License: GPL v3+ |
2daec9bd | 7 | Group: X11/Applications |
0044a441 JK |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweaks/3.30/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 5c4f9181cf18ce229f63d84723943721 | |
10 | URL: https://wiki.gnome.org/action/show/Apps/Tweaks | |
6f35d5cd | 11 | BuildRequires: gettext-tools >= 0.17 |
9979df52 JB |
12 | BuildRequires: glib2-devel >= 2.0 |
13 | BuildRequires: gsettings-desktop-schemas-devel >= 3.24 | |
9e857959 | 14 | BuildRequires: intltool >= 0.40.0 |
94eab50c | 15 | BuildRequires: meson >= 0.40.0 |
2daec9bd | 16 | BuildRequires: pkgconfig |
9979df52 | 17 | BuildRequires: python-pygobject3-devel >= 3.10 |
94eab50c | 18 | BuildRequires: python3 >= 1:3.0 |
db1eb1a8 | 19 | BuildRequires: rpmbuild(macros) >= 1.311 |
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 |
4fb95e0f MB |
24 | Requires: gnome-desktop >= 3.8.0 |
25 | Requires: gnome-shell >= 3.8.0 | |
d54af36a | 26 | Requires: gobject-introspection |
9979df52 | 27 | Requires: gsettings-desktop-schemas >= 3.24 |
4f3009e1 | 28 | Requires: gtk+3 >= 3.12.0 |
db1eb1a8 | 29 | Requires: hicolor-icon-theme |
94eab50c MB |
30 | Requires: libnotify >= 0.7 |
31 | Requires: libsoup >= 2.4 | |
9979df52 | 32 | Requires: python-pygobject3 >= 3.10 |
94eab50c | 33 | Requires: python3 >= 1:3.0 |
2daec9bd MB |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | A tool to customize advanced GNOME 3 options. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Narzędzie do dostosowywania zaawansowanych opcji GNOME 3. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
2daec9bd | 44 | |
0044a441 | 45 | %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gnome-tweaks gnome-tweak-tool-lid-inhibitor |
25664c85 | 46 | |
2daec9bd | 47 | %build |
94eab50c MB |
48 | %meson build |
49 | %meson_build -C build | |
2daec9bd MB |
50 | |
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
94eab50c | 54 | %meson_install -C build |
2daec9bd | 55 | |
5cd02dae MB |
56 | %find_lang %{name} |
57 | ||
2daec9bd MB |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
db1eb1a8 MB |
61 | %post |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_icon_cache hicolor | |
66 | ||
5cd02dae | 67 | %files -f %{name}.lang |
2daec9bd | 68 | %defattr(644,root,root,755) |
0044a441 JK |
69 | %doc AUTHORS NEWS |
70 | %attr(755,root,root) %{_bindir}/gnome-tweaks | |
54dabfc4 | 71 | %attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor |
94eab50c | 72 | %{py3_sitedir}/gtweak |
0044a441 JK |
73 | %{_datadir}/gnome-tweaks |
74 | %{_datadir}/metainfo/org.gnome.tweaks.appdata.xml | |
75 | %{_desktopdir}/org.gnome.tweaks.desktop | |
76 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.tweaks.png | |
77 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.tweaks-symbolic.svg |