]>
Commit | Line | Data |
---|---|---|
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 | |
4 | Version: 3.14.2 | |
5 | Release: 1 | |
6 | License: GPL v3 | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.14/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 176e952fd810bfe8e5b26550eb0cee8f | |
10 | Patch0: pyc.patch | |
11 | Patch1: %{name}-import-gobject.patch | |
12 | URL: http://live.gnome.org/GnomeTweakTool | |
13 | BuildRequires: GConf2-devel | |
14 | BuildRequires: gettext-devel >= 0.17 | |
15 | BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0 | |
16 | BuildRequires: intltool >= 0.40.0 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: python >= 1:2.6 | |
19 | BuildRequires: python-pygobject3-devel >= 3.2.1 | |
20 | BuildRequires: rpmbuild(macros) >= 1.311 | |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
23 | Requires(post,postun): gtk-update-icon-cache | |
24 | Requires: GConf2-libs | |
25 | Requires: gnome-desktop >= 3.8.0 | |
26 | Requires: gnome-shell >= 3.8.0 | |
27 | Requires: gobject-introspection | |
28 | Requires: gsettings-desktop-schemas >= 3.4.0 | |
29 | Requires: gtk+3 >= 3.12.0 | |
30 | Requires: hicolor-icon-theme | |
31 | Requires: python >= 1:2.6 | |
32 | Requires: python-pygobject3 >= 3.2.1 | |
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 | |
44 | %patch1 -p1 | |
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 | ||
58 | %find_lang %{name} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %postun | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %files -f %{name}.lang | |
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 | %{_datadir}/appdata/gnome-tweak-tool.appdata.xml | |
79 | %{_desktopdir}/gnome-tweak-tool.desktop | |
80 | %{_iconsdir}/hicolor/*/*/*.png |