|
|
@ -1,27 +1,21 @@
|
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
|
|
|
%global major_version %%(echo %%{tarball_version} | awk -F. '{print $1}')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnome-font-viewer
|
|
|
|
Name: gnome-font-viewer
|
|
|
|
Version: 40.0
|
|
|
|
Version: 3.28.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Utility for previewing fonts for GNOME
|
|
|
|
Summary: Utility for previewing fonts for GNOME
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://gitlab.gnome.org/GNOME/gnome-font-viewer
|
|
|
|
#No URL for the package specifically, as of now
|
|
|
|
Source0: https://download.gnome.org/sources/gnome-font-viewer/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
|
|
|
URL: http://www.gnome.org/gnome-3/
|
|
|
|
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gnome-desktop3-devel
|
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libhandy-1)
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: /usr/bin/appstream-util
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: /usr/bin/desktop-file-validate
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
|
|
|
|
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
|
|
|
@ -29,7 +23,7 @@ information about a specified font. You can use the Font Viewer to display the
|
|
|
|
name, style, type, size, version and copyright of the font.
|
|
|
|
name, style, type, size, version and copyright of the font.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson
|
|
|
@ -41,8 +35,13 @@ name, style, type, size, version and copyright of the font.
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.font-viewer.desktop
|
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.font-viewer.desktop
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
@ -51,71 +50,12 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome
|
|
|
|
%{_bindir}/gnome-thumbnail-font
|
|
|
|
%{_bindir}/gnome-thumbnail-font
|
|
|
|
%{_datadir}/applications/org.gnome.font-viewer.desktop
|
|
|
|
%{_datadir}/applications/org.gnome.font-viewer.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.font-viewer.svg
|
|
|
|
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.font-viewer-symbolic.svg
|
|
|
|
|
|
|
|
%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
|
|
|
|
%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
|
|
|
|
%{_datadir}/thumbnailers/%{name}.thumbnailer
|
|
|
|
%{_datadir}/thumbnailers/%{name}.thumbnailer
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-3
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 3.28.0-1
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-2
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
|
|
|
|
|
|
|
|
- Update to 40.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
|
|
|
|
|
|
|
|
- Update to 40.beta
|
|
|
|
|
|
|
|
- Update upstream URLs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-5
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 3.34.0-2
|
|
|
|
|
|
|
|
- Rebuilt for libgnome-desktop soname bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 15 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
|
|
|
|
|
|
|
|
- Update to 3.34.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
|
|
|
|
|
|
|
|
- Update to 3.33.90
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.33.4-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.33.4-2
|
|
|
|
|
|
|
|
- Rebuilt for libgnome-desktop soname bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 19 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1
|
|
|
|
|
|
|
|
- Update to 3.33.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 15 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
|
|
|
|
|
|
|
- Update to 3.32.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
|
|
|
|
|
|
|
- Update to 3.30.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.28.0-3
|
|
|
|
|
|
|
|
- Rebuild with fixed binutils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
|
|
|
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
|
|
|
- Update to 3.28.0
|
|
|
|
- Update to 3.28.0
|
|
|
|