Blame SPECS/dconf-editor.spec

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