]>
Commit | Line | Data |
---|---|---|
135f1f39 MB |
1 | Summary: Configuration editor for dconf |
2 | Summary(pl.UTF-8): Edytor konfiguracji dla dconf | |
3 | Name: dconf-editor | |
03aaaa6b | 4 | Version: 3.34.2 |
135f1f39 | 5 | Release: 1 |
bdd323b8 | 6 | License: GPL 3+ |
135f1f39 | 7 | Group: X11/Applications |
de7369b6 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/dconf-editor/3.34/%{name}-%{version}.tar.xz |
03aaaa6b | 9 | # Source0-md5: 2907205ad1a0e2774c981932cb7ff25b |
135f1f39 | 10 | URL: http://www.gnome.org/ |
ec6f0d19 | 11 | BuildRequires: dconf-devel >= 0.26.1 |
135f1f39 | 12 | BuildRequires: gettext-devel |
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 JB |
16 | BuildRequires: ninja >= 1.5 |
17 | BuildRequires: rpmbuild(macros) >= 1.736 | |
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 MB |
41 | Requires: bash-completion >= 2.0 |
42 | %if "%{_rpmversion}" >= "5" | |
43 | BuildArch: noarch | |
44 | %endif | |
45 | ||
46 | %description -n bash-completion-dconf-editor | |
47 | bash-completion for dconf-editor.. | |
48 | ||
49 | %description -n bash-completion-dconf-editor -l pl.UTF-8 | |
50 | Bashowe uzupełnianie nazw dla narzędzia dconf-editor. | |
51 | ||
135f1f39 MB |
52 | %prep |
53 | %setup -q | |
54 | ||
55 | %build | |
bdd323b8 | 56 | %meson build |
de7369b6 JB |
57 | |
58 | %ninja_build -C build | |
135f1f39 MB |
59 | |
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
de7369b6 | 63 | %ninja_install -C build |
135f1f39 | 64 | |
bdd323b8 | 65 | %find_lang dconf-editor |
135f1f39 MB |
66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post | |
71 | %glib_compile_schemas | |
135f1f39 MB |
72 | %update_icon_cache hicolor |
73 | ||
74 | %postun | |
75 | %glib_compile_schemas | |
135f1f39 MB |
76 | %update_icon_cache hicolor |
77 | ||
bdd323b8 | 78 | %files -f dconf-editor.lang |
135f1f39 MB |
79 | %defattr(644,root,root,755) |
80 | %doc NEWS README | |
81 | %attr(755,root,root) %{_bindir}/dconf-editor | |
bdd323b8 | 82 | %{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml |
135f1f39 MB |
83 | %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service |
84 | %{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml | |
85 | %{_desktopdir}/ca.desrt.dconf-editor.desktop | |
bdd323b8 | 86 | %{_iconsdir}/hicolor/*/apps/ca.desrt.dconf-editor.png |
45569b92 | 87 | %{_iconsdir}/hicolor/scalable/actions/ca.desrt.dconf-editor*-symbolic.svg |
bdd323b8 | 88 | %{_iconsdir}/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg |
135f1f39 | 89 | %{_mandir}/man1/dconf-editor.1* |
bdd323b8 MB |
90 | |
91 | %files -n bash-completion-dconf-editor | |
92 | %defattr(644,root,root,755) | |
93 | %{bash_compdir}/dconf-editor |