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