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