Compare commits

..

No commits in common. "22a2ddbaf4fa223555fc165ca375df9d81e49782" and "258295f87bcb48eefc7061bbc66b3c58f179a938" have entirely different histories.

4 changed files with 18 additions and 38 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,22 +1,19 @@
%global major_version %%(echo %%{version} | awk -F. '{print $1}')
Name: gnome-font-viewer Name: gnome-font-viewer
Version: 44.0 Version: 3.34.0
Release: 1 Release: 1
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 URL: http://www.gnome.org/gnome-3/
Source0: https://download.gnome.org/sources/gnome-font-viewer/%{major_version}/%{name}-%{version}.tar.xz Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/3.34/gnome-font-viewer-%{version}.tar.xz
BuildRequires: meson >= 0.40.1 pkgconfig(glib-2.0) >= 2.35.1 pkgconfig(gtk+-3.0) >= 3.20.0 pkgconfig(harfbuzz) >= 0.9.9
BuildRequires: pkgconfig(glib-2.0) pkgconfig(harfbuzz) pkgconfig(libadwaita-1) BuildRequires: pkgconfig(fontconfig) pkgconfig(freetype2) pkgconfig(gnome-desktop-3.0) gettext desktop-file-utils
BuildRequires: pkgconfig(fontconfig) pkgconfig(freetype2) pkgconfig(gnome-desktop-4) pkgconfig(gtk4) BuildRequires: libappstream-glib
BuildRequires: libappstream-glib desktop-file-utils BuildRequires: gcc gcc-c++
BuildRequires: gcc gcc-c++ gettext meson
%description %description
Use gnome-font-viewer, the Font Viewer, to preview fonts and display The Font Viewer application has been rewritten to match the new design used for
information about a specified font. You can use the Font Viewer to display the GNOME 3 applications.It can now show an overview of all installed fonts and
name, style, type, size, version and copyright of the font. optimizes screen space usage when the application is maximized.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -27,40 +24,23 @@ name, style, type, size, version and copyright of the font.
%install %install
%meson_install %meson_install
%find_lang %{name} --with-gnome %find_lang gnome-font-viewer --with-gnome
%check %check
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.font-viewer.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.font-viewer.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
%files -f %{name}.lang
%license COPYING %files -f gnome-font-viewer.lang
%doc NEWS %doc NEWS COPYING
%{_bindir}/%{name} %{_bindir}/gnome-*
%{_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/*/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/gnome-font-viewer.thumbnailer
%changelog %changelog
* Thu Nov 23 2023 lwg <liweiganga@uniontech.com> - 44.0-1
- update to version 44.0
* Mon Jan 02 2023 lin.zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
- Update to 43.0
* Wed Aug 03 2022 liukuo <liukuo@kylinos.cn> - 42.0-2
- License compliance rectification
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Update to 42.0
* Fri Feb 25 2022 yaoxin <yaoxin30@huawei.com> - 3.34.0-2
- Fix CVE-2019-19308
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1 * Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1
- Upgrade to 3.34.0 - Upgrade to 3.34.0

View File

@ -1,4 +1,4 @@
version_control: gitlab.gnome version_control: gitlab.gnome
src_repo: gnome-font-viewer src_repo: gnome-font-viewer
tag_perfix: ^ tag_perfix: ^
separator: . seperator: .