]> git.pld-linux.org Git - packages/gnome-tweaks.git/blob - gnome-tweak-tool.spec
0a7f94d819d37a3b4152af9e7abe27d0a6fe4eea
[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.26.4
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.26/%{name}-%{version}.tar.xz
9 # Source0-md5:  2018fc13a1e61fbaff3ee53b4968d7eb
10 URL:            http://live.gnome.org/GnomeTweakTool
11 BuildRequires:  gettext-tools >= 0.17
12 BuildRequires:  glib2-devel >= 2.0
13 BuildRequires:  gsettings-desktop-schemas-devel >= 3.24
14 BuildRequires:  intltool >= 0.40.0
15 BuildRequires:  meson >= 0.40.0
16 BuildRequires:  pkgconfig
17 BuildRequires:  python-pygobject3-devel >= 3.10
18 BuildRequires:  python3 >= 1:3.0
19 BuildRequires:  rpmbuild(macros) >= 1.311
20 BuildRequires:  sed >= 4.0
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires(post,postun):  gtk-update-icon-cache
24 Requires:       gnome-desktop >= 3.8.0
25 Requires:       gnome-shell >= 3.8.0
26 Requires:       gobject-introspection
27 Requires:       gsettings-desktop-schemas >= 3.24
28 Requires:       gtk+3 >= 3.12.0
29 Requires:       hicolor-icon-theme
30 Requires:       libnotify >= 0.7
31 Requires:       libsoup >= 2.4
32 Requires:       python-pygobject3 >= 3.10
33 Requires:       python3 >= 1:3.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 A tool to customize advanced GNOME 3 options.
38
39 %description -l pl.UTF-8
40 Narzędzie do dostosowywania zaawansowanych opcji GNOME 3.
41
42 %prep
43 %setup -q
44
45 %{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' gnome-tweak-tool gnome-tweak-tool-lid-inhibitor
46
47 %build
48 %meson build
49 %meson_build -C build
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %meson_install -C build
55
56 %find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %update_icon_cache hicolor
63
64 %postun
65 %update_icon_cache hicolor
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS NEWS README
70 %attr(755,root,root) %{_bindir}/gnome-tweak-tool
71 %attr(755,root,root) %{_libexecdir}/gnome-tweak-tool-lid-inhibitor
72 %{py3_sitedir}/gtweak
73 %{_datadir}/gnome-tweak-tool
74 %{_datadir}/metainfo/gnome-tweak-tool.appdata.xml
75 %{_desktopdir}/gnome-tweak-tool.desktop
76 %{_iconsdir}/hicolor/*x*/apps/gnome-tweak-tool.png
77 %{_iconsdir}/hicolor/scalable/apps/gnome-tweak-tool-symbolic.svg
This page took 0.073256 seconds and 2 git commands to generate.