Name: dconf-editor Version: 3.15.91 Release: 3%{?dist} Summary: Configuration editor for dconf License: LGPLv2+ URL: https://wiki.gnome.org/Projects/dconf Source0: https://download.gnome.org/sources/dconf-editor/3.15/dconf-editor-%{version}.tar.xz Patch0: dconf-editor-appdata-screenshot-url.patch BuildRequires: /usr/bin/appstream-util BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: pkgconfig(dconf) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: vala %description Graphical tool for editing the dconf configuration database. %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install %make_install %find_lang dconf %check appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ca.desrt.dconf-editor.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %files -f dconf.lang %license COPYING %{_bindir}/dconf-editor %{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml %{_datadir}/applications/ca.desrt.dconf-editor.desktop %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service %{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml %{_datadir}/icons/hicolor/*/apps/dconf-editor.png %{_datadir}/icons/HighContrast/ %changelog * Tue Mar 03 2015 Kalev Lember - 3.15.91-3 - Fix unowned HighContrast icon theme directories (#1197898) * Tue Mar 03 2015 Kalev Lember - 3.15.91-2 - Fix appdata screenshot URL - Validate appdata during %%check * Mon Mar 02 2015 Kalev Lember - 3.15.91-1 - Initial Fedora packaging