Blame SPECS/dconf-editor.spec

8c25d0
%global dconf_version 0.26.1
8c25d0
%global glib2_version 2.55.1
8c25d0
%global gtk3_version 3.22.27
8c25d0
8c25d0
Name:           dconf-editor
8c25d0
Version:        3.28.0
8c25d0
Release:        1%{?dist}
8c25d0
Summary:        Configuration editor for dconf
8c25d0
8c25d0
License:        GPLv3+ and CC0
8c25d0
URL:            https://wiki.gnome.org/Projects/dconf
8c25d0
Source0:        https://download.gnome.org/sources/dconf-editor/3.28/dconf-editor-%{version}.tar.xz
8c25d0
# Fix the build with Python 2
8c25d0
Patch0:         dconf-editor-python3.patch
8c25d0
8c25d0
BuildRequires:  /usr/bin/appstream-util
8c25d0
BuildRequires:  desktop-file-utils
8c25d0
BuildRequires:  gettext
8c25d0
BuildRequires:  meson
8c25d0
BuildRequires:  pkgconfig(dconf) >= %{dconf_version}
8c25d0
BuildRequires:  pkgconfig(glib-2.0) >= %{glib2_version}
8c25d0
BuildRequires:  pkgconfig(gmodule-2.0)
8c25d0
BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
8c25d0
BuildRequires:  pkgconfig(libxml-2.0)
8c25d0
BuildRequires:  vala
8c25d0
8c25d0
Requires:       dconf%{?_isa} >= %{dconf_version}
8c25d0
Requires:       glib2%{?_isa} >= %{glib2_version}
8c25d0
Requires:       gtk3%{?_isa} >= %{gtk3_version}
8c25d0
8c25d0
# dconf-editor has been split off dconf in 0.23.1
8c25d0
Conflicts: dconf <= 0.23.1
8c25d0
8c25d0
%description
8c25d0
Graphical tool for editing the dconf configuration database.
8c25d0
8c25d0
%prep
8c25d0
%autosetup -p1
8c25d0
8c25d0
%build
8c25d0
%meson
8c25d0
%meson_build
8c25d0
8c25d0
%install
8c25d0
%meson_install
8c25d0
8c25d0
%find_lang dconf-editor
8c25d0
8c25d0
%check
8c25d0
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml
8c25d0
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ca.desrt.dconf-editor.desktop
8c25d0
8c25d0
%post
8c25d0
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8c25d0
8c25d0
%postun
8c25d0
if [ $1 -eq 0 ] ; then
8c25d0
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8c25d0
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8c25d0
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
8c25d0
fi
8c25d0
8c25d0
%posttrans
8c25d0
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8c25d0
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
8c25d0
8c25d0
%files -f dconf-editor.lang
8c25d0
%license COPYING
8c25d0
%{_bindir}/dconf-editor
8c25d0
%{_datadir}/applications/ca.desrt.dconf-editor.desktop
8c25d0
%{_datadir}/bash-completion/
8c25d0
%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
8c25d0
%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
8c25d0
%{_datadir}/icons/hicolor/*/apps/ca.desrt.dconf-editor.png
8c25d0
%{_datadir}/icons/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg
8c25d0
%{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml
8c25d0
%{_mandir}/man1/dconf-editor.1*
8c25d0
8c25d0
%changelog
8c25d0
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
8c25d0
- Update to 3.28.0
8c25d0
- Resolves: #1569718
8c25d0
8c25d0
* Mon Mar  6 2017 Marek Kasik <mkasik@redhat.com> - 3.22.3-3
8c25d0
- Add Requires
8c25d0
- Related: #1388931
8c25d0
8c25d0
* Tue Jan 31 2017 Marek Kasik <mkasik@redhat.com> - 3.22.3-2
8c25d0
- Import dconf-editor package from Fedora 25
8c25d0
- Add Conflicts tag
8c25d0
- Version BuildRequires
8c25d0
- Update License field
8c25d0
- Resolves: #1388931
8c25d0
8c25d0
* Sat Jan 14 2017 Kalev Lember <klember@redhat.com> - 3.22.3-1
8c25d0
- Update to 3.22.3
8c25d0
8c25d0
* Wed Oct 12 2016 Kalev Lember <klember@redhat.com> - 3.22.1-1
8c25d0
- Update to 3.22.1
8c25d0
8c25d0
* Fri Sep 16 2016 Kalev Lember <klember@redhat.com> - 3.21.92-1
8c25d0
- Update to 3.21.92
8c25d0
8c25d0
* Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 3.21.90-1
8c25d0
- Update to 3.21.90
8c25d0
8c25d0
* Wed Jul 20 2016 Richard Hughes <rhughes@redhat.com> - 3.21.4-1
8c25d0
- Update to 3.21.4
8c25d0
8c25d0
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 3.21.1-1
8c25d0
- Update to 3.21.1
8c25d0
8c25d0
* Thu Apr 14 2016 Kalev Lember <klember@redhat.com> - 3.20.1-1
8c25d0
- Update to 3.20.1
8c25d0
8c25d0
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
8c25d0
- Update to 3.20.0
8c25d0
8c25d0
* Tue Mar 15 2016 Richard Hughes <rhughes@redhat.com> - 3.19.92-1
8c25d0
- Update to 3.19.92
8c25d0
8c25d0
* Tue Mar 01 2016 Richard Hughes <rhughes@redhat.com> - 3.19.91-1
8c25d0
- Update to 3.19.91
8c25d0
8c25d0
* Tue Feb 16 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
8c25d0
- Update to 3.19.90
8c25d0
8c25d0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.3-2
8c25d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8c25d0
8c25d0
* Tue Dec 15 2015 Kalev Lember <klember@redhat.com> - 3.19.3-1
8c25d0
- Update to 3.19.3
8c25d0
8c25d0
* Tue Nov 24 2015 Kalev Lember <klember@redhat.com> - 3.19.2-1
8c25d0
- Update to 3.19.2
8c25d0
8c25d0
* Fri Nov 13 2015 Kalev Lember <klember@redhat.com> - 3.18.2-1
8c25d0
- Update to 3.18.2
8c25d0
8c25d0
* Mon Oct 12 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
8c25d0
- Update to 3.18.1
8c25d0
8c25d0
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
8c25d0
- Update to 3.18.0
8c25d0
8c25d0
* Tue Sep 15 2015 Kalev Lember <klember@redhat.com> - 3.17.92-1
8c25d0
- Update to 3.17.92
8c25d0
8c25d0
* Tue Sep 01 2015 Kalev Lember <klember@redhat.com> - 3.17.91-1
8c25d0
- Update to 3.17.91
8c25d0
8c25d0
* Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
8c25d0
- Update to 3.17.90
8c25d0
8c25d0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17.1-2
8c25d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8c25d0
8c25d0
* Fri May 01 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.1-1
8c25d0
- Update to 3.17.1
8c25d0
8c25d0
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
8c25d0
- Update to 3.16.1
8c25d0
8c25d0
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
8c25d0
- Update to 3.16.0
8c25d0
8c25d0
* Tue Mar 17 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
8c25d0
- Update to 3.15.92
8c25d0
- Ship the man page
8c25d0
8c25d0
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-3
8c25d0
- Fix unowned HighContrast icon theme directories (#1197898)
8c25d0
8c25d0
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-2
8c25d0
- Fix appdata screenshot URL
8c25d0
- Validate appdata during %%check
8c25d0
8c25d0
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
8c25d0
- Initial Fedora packaging