]>
Commit | Line | Data |
---|---|---|
135f1f39 MB |
1 | Summary: Configuration editor for dconf |
2 | Summary(pl.UTF-8): Edytor konfiguracji dla dconf | |
3 | Name: dconf-editor | |
bdd323b8 | 4 | Version: 3.28.0 |
135f1f39 | 5 | Release: 1 |
bdd323b8 | 6 | License: GPL 3+ |
135f1f39 | 7 | Group: X11/Applications |
bdd323b8 MB |
8 | Source0: https://download.gnome.org/sources/dconf-editor/3.28/%{name}-%{version}.tar.xz |
9 | # Source0-md5: cc9eb8020cc848812972d8519c3d05cf | |
135f1f39 | 10 | URL: http://www.gnome.org/ |
6d4eee8b | 11 | BuildRequires: appstream-glib-devel |
135f1f39 | 12 | BuildRequires: gettext-devel |
bdd323b8 MB |
13 | BuildRequires: glib2-devel >= 1:2.56.0 |
14 | BuildRequires: gtk+3-devel >= 3.22.27 | |
831b9ac9 | 15 | BuildRequires: libxml2-devel >= 2.0 |
bdd323b8 | 16 | BuildRequires: meson >= 0.41.0 |
135f1f39 | 17 | BuildRequires: tar >= 1:1.22 |
bdd323b8 MB |
18 | BuildRequires: vala >= 2:0.36.11 |
19 | BuildRequires: vala-dconf >= 0.26.1 | |
135f1f39 MB |
20 | BuildRequires: xz |
21 | Requires(post,postun): glib2 >= 1:2.40.0 | |
22 | Requires(post,postun): gtk-update-icon-cache | |
bdd323b8 MB |
23 | Requires: dconf >= 0.26.1 |
24 | Requires: glib2 >= 1:2.56.0 | |
25 | Requires: gtk+3 >= 3.22.27 | |
135f1f39 MB |
26 | Requires: hicolor-icon-theme |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | dconf-editor allows you to browse and modify dconf database. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | dconf-editor pozwala na przeglądanie i modyfikowanie bazy dconf. | |
34 | ||
bdd323b8 MB |
35 | %package -n bash-completion-dconf-editor |
36 | Summary: bash-completion for dconf-editor | |
37 | Summary(pl.UTF-8): Bashowe uzupełnianie nazw dla narzędzia dconf-editor | |
38 | Group: Applications/Shells | |
39 | Requires: bash-completion >= 2.0 | |
40 | %if "%{_rpmversion}" >= "5" | |
41 | BuildArch: noarch | |
42 | %endif | |
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 MB |
54 | %meson build |
55 | %meson_build -C build | |
135f1f39 MB |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
bdd323b8 | 60 | %meson_install -C build |
135f1f39 | 61 | |
bdd323b8 | 62 | %find_lang dconf-editor |
135f1f39 MB |
63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post | |
68 | %glib_compile_schemas | |
135f1f39 MB |
69 | %update_icon_cache hicolor |
70 | ||
71 | %postun | |
72 | %glib_compile_schemas | |
135f1f39 MB |
73 | %update_icon_cache hicolor |
74 | ||
bdd323b8 | 75 | %files -f dconf-editor.lang |
135f1f39 MB |
76 | %defattr(644,root,root,755) |
77 | %doc NEWS README | |
78 | %attr(755,root,root) %{_bindir}/dconf-editor | |
bdd323b8 | 79 | %{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml |
135f1f39 MB |
80 | %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service |
81 | %{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml | |
82 | %{_desktopdir}/ca.desrt.dconf-editor.desktop | |
bdd323b8 MB |
83 | %{_iconsdir}/hicolor/*/apps/ca.desrt.dconf-editor.png |
84 | %{_iconsdir}/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg | |
135f1f39 | 85 | %{_mandir}/man1/dconf-editor.1* |
bdd323b8 MB |
86 | |
87 | %files -n bash-completion-dconf-editor | |
88 | %defattr(644,root,root,755) | |
89 | %{bash_compdir}/dconf-editor |