]>
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 | |
3 | Name: gnome-tweak-tool | |
ae84fe3c | 4 | Version: 3.8.1 |
5cd02dae | 5 | Release: 1 |
2cf5e97a | 6 | License: GPL v3 |
2daec9bd | 7 | Group: X11/Applications |
4fb95e0f | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.8/%{name}-%{version}.tar.xz |
ae84fe3c | 9 | # Source0-md5: 71dda20a80a03ba163f0d58fff2c1320 |
2daec9bd | 10 | Patch0: pyc.patch |
4fb95e0f | 11 | Patch1: %{name}-import-gobject.patch |
2daec9bd MB |
12 | URL: http://live.gnome.org/GnomeTweakTool |
13 | BuildRequires: GConf2-devel | |
9e857959 | 14 | BuildRequires: gettext-devel >= 0.17 |
db1eb1a8 | 15 | BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0 |
9e857959 | 16 | BuildRequires: intltool >= 0.40.0 |
2daec9bd | 17 | BuildRequires: pkgconfig |
9e857959 | 18 | BuildRequires: python >= 1:2.6 |
db1eb1a8 MB |
19 | BuildRequires: python-pygobject3-devel >= 3.2.1 |
20 | BuildRequires: rpmbuild(macros) >= 1.311 | |
d54af36a MB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
db1eb1a8 | 23 | Requires(post,postun): gtk-update-icon-cache |
d54af36a | 24 | Requires: GConf2-libs |
4fb95e0f MB |
25 | Requires: gnome-desktop >= 3.8.0 |
26 | Requires: gnome-shell >= 3.8.0 | |
d54af36a | 27 | Requires: gobject-introspection |
db1eb1a8 | 28 | Requires: gsettings-desktop-schemas >= 3.4.0 |
2daec9bd | 29 | Requires: gtk+3 >= 3.0.0 |
db1eb1a8 | 30 | Requires: hicolor-icon-theme |
9e857959 | 31 | Requires: python >= 1:2.6 |
db1eb1a8 | 32 | Requires: python-pygobject3 >= 3.2.1 |
2daec9bd MB |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
36 | A tool to customize advanced GNOME 3 options. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Narzędzie do dostosowywania zaawansowanych opcji GNOME 3. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | %patch0 -p1 | |
4fb95e0f | 44 | %patch1 -p1 |
2daec9bd MB |
45 | |
46 | %build | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %py_postclean | |
57 | ||
5cd02dae MB |
58 | %find_lang %{name} |
59 | ||
2daec9bd MB |
60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
db1eb1a8 MB |
63 | %post |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %postun | |
67 | %update_icon_cache hicolor | |
68 | ||
5cd02dae | 69 | %files -f %{name}.lang |
2daec9bd MB |
70 | %defattr(644,root,root,755) |
71 | %doc NEWS README | |
72 | %attr(755,root,root) %{_bindir}/gnome-tweak-tool | |
73 | %dir %{py_sitescriptdir}/gtweak | |
74 | %{py_sitescriptdir}/gtweak/*.py[co] | |
75 | %dir %{py_sitescriptdir}/gtweak/tweaks | |
76 | %{py_sitescriptdir}/gtweak/tweaks/*.py[co] | |
77 | %{_datadir}/gnome-tweak-tool | |
78 | %{_desktopdir}/gnome-tweak-tool.desktop | |
db1eb1a8 | 79 | %{_iconsdir}/hicolor/*/*/*.png |