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