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