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