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