307fc0
%global         release_version %(echo %{version} | awk -F. '{print $1"."$2}')
307fc0
307fc0
Name:           gnome-font-viewer
307fc0
Version:        3.28.0
307fc0
Release:        1%{?dist}
307fc0
Summary:        Utility for previewing fonts for GNOME
307fc0
307fc0
License:        GPLv2+
307fc0
#No URL for the package specifically, as of now
307fc0
URL:            http://www.gnome.org/gnome-3/
307fc0
Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz
307fc0
307fc0
BuildRequires:  gnome-desktop3-devel
307fc0
BuildRequires:  gettext
307fc0
BuildRequires:  gtk3-devel
307fc0
BuildRequires:  desktop-file-utils
307fc0
BuildRequires:  libappstream-glib
307fc0
BuildRequires:  meson
307fc0
307fc0
%description
307fc0
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
307fc0
information about a specified font. You can use the Font Viewer to display the
307fc0
name, style, type, size, version and copyright of the font.
307fc0
307fc0
%prep
307fc0
%autosetup -p1
307fc0
307fc0
%build
307fc0
%meson
307fc0
%meson_build
307fc0
307fc0
%install
307fc0
%meson_install
307fc0
307fc0
%find_lang %{name} --with-gnome
307fc0
307fc0
%check
307fc0
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.font-viewer.desktop
307fc0
307fc0
%post
307fc0
update-desktop-database &> /dev/null || :
307fc0
307fc0
%postun
307fc0
update-desktop-database &> /dev/null || :
307fc0
307fc0
%files -f %{name}.lang
307fc0
%license COPYING
307fc0
%doc NEWS
307fc0
%{_bindir}/%{name}
307fc0
%{_bindir}/gnome-thumbnail-font
307fc0
%{_datadir}/applications/org.gnome.font-viewer.desktop
307fc0
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service
307fc0
%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
307fc0
%{_datadir}/thumbnailers/%{name}.thumbnailer
307fc0
307fc0
%changelog
307fc0
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
307fc0
- Update to 3.28.0
307fc0
307fc0
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.27.90-1
307fc0
- Update to 3.27.90
307fc0
307fc0
* Tue Feb 13 2018 Björn Esser <besser82@fedoraproject.org> - 3.26.0-3
307fc0
- Rebuild against newer gnome-desktop3 package
307fc0
307fc0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.0-2
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
307fc0
307fc0
* Mon Sep 18 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
307fc0
- Update to 3.26.0
307fc0
307fc0
* Tue Aug 15 2017 Kalev Lember <klember@redhat.com> - 3.25.90-1
307fc0
- Update to 3.25.90
307fc0
- Switch to the meson build system
307fc0
307fc0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.0-4
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
307fc0
307fc0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.0-3
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
307fc0
307fc0
* Sun May 21 2017 Michael Catanzaro <mcatanzaro@gnome.org> - 3.24.0-2
307fc0
- Fix crash on startup
307fc0
- Remove custom appstream screenshots
307fc0
307fc0
* Tue May 09 2017 Kalev Lember <klember@redhat.com> - 3.24.0-1
307fc0
- Update to 3.24.0
307fc0
307fc0
* Mon Mar 06 2017 Kalev Lember <klember@redhat.com> - 3.23.91-1
307fc0
- Update to 3.23.91
307fc0
307fc0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.0-2
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
307fc0
307fc0
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 3.22.0-1
307fc0
- Update to 3.22.0
307fc0
- Don't set group tags
307fc0
- Use make_install macro
307fc0
307fc0
* Thu May 12 2016 Kalev Lember <klember@redhat.com> - 3.20.2-1
307fc0
- Update to 3.20.2
307fc0
307fc0
* Wed Mar 30 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
307fc0
- Update to 3.20.0
307fc0
307fc0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.2-4
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
307fc0
307fc0
* Wed Jul 22 2015 David King <amigadave@amigadave.com> - 3.16.2-3
307fc0
- Bump for new gnome-desktop3
307fc0
307fc0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.2-2
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
307fc0
307fc0
* Wed May 13 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-1
307fc0
- Update to 3.16.2
307fc0
- Use license macro for the COPYING file
307fc0
307fc0
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
307fc0
- Use better AppData screenshots
307fc0
307fc0
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
307fc0
- Update to 3.16.0
307fc0
307fc0
* Thu Feb 19 2015 Richard Hughes <rhughes@redhat.com> - 3.15.90-1
307fc0
- Update to 3.15.90
307fc0
307fc0
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
307fc0
- Update to 3.14.0
307fc0
307fc0
* Thu Aug 21 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
307fc0
- Update to 3.13.90
307fc0
307fc0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-3
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
307fc0
307fc0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
307fc0
307fc0
* Wed Mar 26 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
307fc0
- Update to 3.12.0
307fc0
307fc0
* Wed Feb 19 2014 Richard Hughes <rhughes@redhat.com> - 3.10.0-2
307fc0
- Rebuild for gnome-desktop soname bump
307fc0
307fc0
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 3.10.0-1
307fc0
- Update to 3.10.0
307fc0
307fc0
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-2
307fc0
- Rebuilt for libgnome-desktop soname bump
307fc0
307fc0
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
307fc0
- Update to 3.9.90
307fc0
307fc0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.0-2
307fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
307fc0
307fc0
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
307fc0
- Update to 3.8.0
307fc0
307fc0
* Thu Mar  7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
307fc0
- Update to 3.7.91
307fc0
307fc0
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-2
307fc0
- Rebuilt for libgnome-desktop soname bump
307fc0
307fc0
* Thu Feb 07 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-1
307fc0
- Update to 3.7.5
307fc0
307fc0
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
307fc0
- Update to 3.7.4
307fc0
307fc0
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.3-1
307fc0
- Update to 3.7.3
307fc0
307fc0
* Thu Dec  6 2012 Rui Matos <rmatos@redhat.com> - 3.6.2-1
307fc0
- Update to 3.6.2
307fc0
307fc0
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
307fc0
- Update to 3.6.1
307fc0
307fc0
* Tue Sep 25 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
307fc0
- Update to 3.6.0
307fc0
307fc0
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.92-1
307fc0
- Update to 3.5.92
307fc0
307fc0
* Wed Jul 18 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.4-1
307fc0
- Update to 3.5.4
307fc0
307fc0
* Thu Jun 28 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.3-1
307fc0
- Update to 3.5.3
307fc0
307fc0
* Fri Jun  8 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.2-1
307fc0
- Update to 3.5.2
307fc0
307fc0
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.1-1
307fc0
- Update to 3.5.1
307fc0
307fc0
* Wed Mar 28 2012 Rui Matos <rmatos@redhat.com> - 3.4.0-3
307fc0
- Use %%global instead of %%define
307fc0
- Don't define Version as the result of macro expansions so that we
307fc0
  don't break automated tools
307fc0
307fc0
* Wed Mar 28 2012 Rui Matos <rmatos@redhat.com> - 3.4.0-2
307fc0
- Use rpm macros to define the version number
307fc0
- Do verbose builds
307fc0
307fc0
* Tue Mar 27 2012 Rui Matos <rmatos@redhat.com> - 3.4.0-1
307fc0
- Update to 3.4.0
307fc0
307fc0
* Mon Mar  5 2012 Rui Matos <rmatos@redhat.com> - 3.3.2.1-3
307fc0
- spec file cleanup
307fc0
- removed unneeded GConf2-devel BR
307fc0
- call update-desktop-database to rebuild the MIME types cache
307fc0
307fc0
* Tue Dec 06 2011 Anuj More <anujmorex@gmail.com> - 3.3.2.1-2
307fc0
- made some formating changes in the spec file
307fc0
307fc0
* Fri Nov 18 2011 Anuj More <anujmorex@gmail.com> - 3.3.2.1-1
307fc0
- rebuilt
307fc0