]> git.pld-linux.org Git - packages/gnome-tweaks.git/blob - gnome-tweak-tool.spec
e23ad18081da099616b0ee8aa1e5dc9c612b7812
[packages/gnome-tweaks.git] / gnome-tweak-tool.spec
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.18.1
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.18/%{name}-%{version}.tar.xz
9 # Source0-md5:  02ba598d92e37fb20eac60cc185f873c
10 Patch0:         pyc.patch
11 Patch1:         %{name}-import-gobject.patch
12 URL:            http://live.gnome.org/GnomeTweakTool
13 BuildRequires:  gettext-tools >= 0.17
14 BuildRequires:  gsettings-desktop-schemas-devel >= 3.4.0
15 BuildRequires:  gtk+3-devel >= 3.12.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:  sed >= 4.0
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 Requires(post,postun):  gtk-update-icon-cache
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 %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gnome-tweak-tool
47
48 %build
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %py_postclean
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 %update_icon_cache hicolor
67
68 %postun
69 %update_icon_cache hicolor
70
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS NEWS README
74 %attr(755,root,root) %{_bindir}/gnome-tweak-tool
75 %attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor
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
81 %{_datadir}/appdata/gnome-tweak-tool.appdata.xml
82 %{_desktopdir}/gnome-tweak-tool.desktop
83 %{_iconsdir}/hicolor/*x*/apps/gnome-tweak-tool.png
84 %{_iconsdir}/hicolor/scalable/apps/gnome-tweak-tool-symbolic.svg
This page took 0.115483 seconds and 2 git commands to generate.