]> git.pld-linux.org Git - packages/gnome-tweaks.git/blame - gnome-tweak-tool.spec
Update to 3.20.0
[packages/gnome-tweaks.git] / gnome-tweak-tool.spec
CommitLineData
2daec9bd
MB
1Summary: A tool to customize advanced GNOME 3 options
2Summary(pl.UTF-8): Narzędzie do dostosowywania zaawansowanych opcji GNOME 3
3Name: gnome-tweak-tool
5c2ba27b 4Version: 3.20.0
5cd02dae 5Release: 1
25664c85 6License: GPL v3+
2daec9bd 7Group: X11/Applications
5c2ba27b
MB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.20/%{name}-%{version}.tar.xz
9# Source0-md5: c6027dcec5108ca3982ca89d44dc67cf
2daec9bd 10Patch0: pyc.patch
4fb95e0f 11Patch1: %{name}-import-gobject.patch
2daec9bd 12URL: http://live.gnome.org/GnomeTweakTool
6f35d5cd 13BuildRequires: gettext-tools >= 0.17
db1eb1a8 14BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
25664c85 15BuildRequires: gtk+3-devel >= 3.12.0
9e857959 16BuildRequires: intltool >= 0.40.0
2daec9bd 17BuildRequires: pkgconfig
9e857959 18BuildRequires: python >= 1:2.6
db1eb1a8
MB
19BuildRequires: python-pygobject3-devel >= 3.2.1
20BuildRequires: rpmbuild(macros) >= 1.311
25664c85 21BuildRequires: sed >= 4.0
d54af36a
MB
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
db1eb1a8 24Requires(post,postun): gtk-update-icon-cache
4fb95e0f
MB
25Requires: gnome-desktop >= 3.8.0
26Requires: gnome-shell >= 3.8.0
d54af36a 27Requires: gobject-introspection
db1eb1a8 28Requires: gsettings-desktop-schemas >= 3.4.0
4f3009e1 29Requires: gtk+3 >= 3.12.0
db1eb1a8 30Requires: hicolor-icon-theme
9e857959 31Requires: python >= 1:2.6
db1eb1a8 32Requires: python-pygobject3 >= 3.2.1
2daec9bd
MB
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36A tool to customize advanced GNOME 3 options.
37
38%description -l pl.UTF-8
39Narzędzie do dostosowywania zaawansowanych opcji GNOME 3.
40
41%prep
42%setup -q
43%patch0 -p1
4fb95e0f 44%patch1 -p1
2daec9bd 45
25664c85
JB
46%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gnome-tweak-tool
47
2daec9bd
MB
48%build
49%configure
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%py_postclean
59
5cd02dae
MB
60%find_lang %{name}
61
2daec9bd
MB
62%clean
63rm -rf $RPM_BUILD_ROOT
64
db1eb1a8
MB
65%post
66%update_icon_cache hicolor
67
68%postun
69%update_icon_cache hicolor
70
5cd02dae 71%files -f %{name}.lang
2daec9bd 72%defattr(644,root,root,755)
25664c85 73%doc AUTHORS NEWS README
2daec9bd 74%attr(755,root,root) %{_bindir}/gnome-tweak-tool
54dabfc4 75%attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor
2daec9bd
MB
76%dir %{py_sitescriptdir}/gtweak
77%{py_sitescriptdir}/gtweak/*.py[co]
78%dir %{py_sitescriptdir}/gtweak/tweaks
79%{py_sitescriptdir}/gtweak/tweaks/*.py[co]
80%{_datadir}/gnome-tweak-tool
94aa5ac4 81%{_datadir}/appdata/gnome-tweak-tool.appdata.xml
2daec9bd 82%{_desktopdir}/gnome-tweak-tool.desktop
25664c85
JB
83%{_iconsdir}/hicolor/*x*/apps/gnome-tweak-tool.png
84%{_iconsdir}/hicolor/scalable/apps/gnome-tweak-tool-symbolic.svg
This page took 0.150409 seconds and 4 git commands to generate.