]>
Commit | Line | Data |
---|---|---|
135f1f39 MB |
1 | Summary: Configuration editor for dconf |
2 | Summary(pl.UTF-8): Edytor konfiguracji dla dconf | |
3 | Name: dconf-editor | |
7f7555fc | 4 | Version: 3.38.2 |
135f1f39 | 5 | Release: 1 |
943d059e | 6 | License: GPL v3+ |
135f1f39 | 7 | Group: X11/Applications |
7f7555fc JB |
8 | Source0: https://download.gnome.org/sources/dconf-editor/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 1e03d07187ef2121d75fadd5f53dc1ef | |
8a4e9115 | 10 | URL: https://wiki.gnome.org/Projects/dconf |
ec6f0d19 | 11 | BuildRequires: dconf-devel >= 0.26.1 |
943d059e | 12 | BuildRequires: gettext-tools |
bdd323b8 MB |
13 | BuildRequires: glib2-devel >= 1:2.56.0 |
14 | BuildRequires: gtk+3-devel >= 3.22.27 | |
bdd323b8 | 15 | BuildRequires: meson >= 0.41.0 |
de7369b6 | 16 | BuildRequires: ninja >= 1.5 |
7f7555fc | 17 | BuildRequires: rpmbuild(macros) >= 1.752 |
135f1f39 | 18 | BuildRequires: tar >= 1:1.22 |
e1dfb8db | 19 | BuildRequires: vala >= 2:0.40.0 |
bdd323b8 | 20 | BuildRequires: vala-dconf >= 0.26.1 |
135f1f39 | 21 | BuildRequires: xz |
de7369b6 | 22 | Requires(post,postun): glib2 >= 1:2.56.0 |
135f1f39 | 23 | Requires(post,postun): gtk-update-icon-cache |
bdd323b8 MB |
24 | Requires: dconf >= 0.26.1 |
25 | Requires: glib2 >= 1:2.56.0 | |
26 | Requires: gtk+3 >= 3.22.27 | |
135f1f39 MB |
27 | Requires: hicolor-icon-theme |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | dconf-editor allows you to browse and modify dconf database. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | dconf-editor pozwala na przeglądanie i modyfikowanie bazy dconf. | |
35 | ||
bdd323b8 MB |
36 | %package -n bash-completion-dconf-editor |
37 | Summary: bash-completion for dconf-editor | |
38 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla narzędzia dconf-editor | |
39 | Group: Applications/Shells | |
de7369b6 | 40 | Requires: %{name} = %{version}-%{release} |
bdd323b8 | 41 | Requires: bash-completion >= 2.0 |
7f7555fc | 42 | %{?noarchpackage} |
bdd323b8 MB |
43 | |
44 | %description -n bash-completion-dconf-editor | |
45 | bash-completion for dconf-editor.. | |
46 | ||
47 | %description -n bash-completion-dconf-editor -l pl.UTF-8 | |
48 | Bashowe uzupełnianie nazw dla narzędzia dconf-editor. | |
49 | ||
135f1f39 MB |
50 | %prep |
51 | %setup -q | |
52 | ||
53 | %build | |
bdd323b8 | 54 | %meson build |
de7369b6 JB |
55 | |
56 | %ninja_build -C build | |
135f1f39 MB |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
de7369b6 | 61 | %ninja_install -C build |
135f1f39 | 62 | |
bdd323b8 | 63 | %find_lang dconf-editor |
135f1f39 MB |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post | |
69 | %glib_compile_schemas | |
135f1f39 MB |
70 | %update_icon_cache hicolor |
71 | ||
72 | %postun | |
73 | %glib_compile_schemas | |
135f1f39 MB |
74 | %update_icon_cache hicolor |
75 | ||
bdd323b8 | 76 | %files -f dconf-editor.lang |
135f1f39 | 77 | %defattr(644,root,root,755) |
4a4f7d3e | 78 | %doc NEWS README.md |
135f1f39 | 79 | %attr(755,root,root) %{_bindir}/dconf-editor |
bdd323b8 | 80 | %{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml |
135f1f39 MB |
81 | %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service |
82 | %{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml | |
83 | %{_desktopdir}/ca.desrt.dconf-editor.desktop | |
bdd323b8 | 84 | %{_iconsdir}/hicolor/*/apps/ca.desrt.dconf-editor.png |
45569b92 | 85 | %{_iconsdir}/hicolor/scalable/actions/ca.desrt.dconf-editor*-symbolic.svg |
bdd323b8 | 86 | %{_iconsdir}/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg |
135f1f39 | 87 | %{_mandir}/man1/dconf-editor.1* |
bdd323b8 MB |
88 | |
89 | %files -n bash-completion-dconf-editor | |
90 | %defattr(644,root,root,755) | |
91 | %{bash_compdir}/dconf-editor |