Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
22a2ddbaf4
!18 update to version 44.0
From: @lwg99 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-04 07:15:59 +00:00
lwg K
338c8ae0cb update to version 44.0 2023-11-23 14:59:39 +08:00
openeuler-ci-bot
8ac1c6639c
!17 Update to 43.0
From: @dwl301 
Reviewed-by: @zhang__3125 
Signed-off-by: @zhang__3125
2023-02-03 08:47:17 +00:00
dwl301
ab639b21d9 Update to 43.0 2023-01-31 19:10:27 +08:00
openeuler-ci-bot
4463fbef28
!16 License compliance rectification
From: @lauk001 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-08-04 07:47:27 +00:00
lauk001
2cdf411553 License compliance rectification 2022-08-04 14:29:39 +08:00
openeuler-ci-bot
404c523c25
!15 Update to 42.0
From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
2022-06-14 05:53:50 +00:00
zhang__3125
57c6d9ca40 Update to 42.0 2022-04-13 18:46:58 +08:00
openeuler-ci-bot
f6beb328bb
!11 Fix CVE-2019-19308
From: @starlet-dx 
Reviewed-by: @orange-snn 
Signed-off-by: @orange-snn
2022-02-25 07:56:57 +00:00
starlet-dx
5f85fdf7c2 Fix CVE-2019-19308 2022-02-25 14:59:37 +08:00
4 changed files with 38 additions and 18 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,22 @@
%global major_version %%(echo %%{version} | awk -F. '{print $1}')
Name: gnome-font-viewer
Version: 3.34.0
Version: 44.0
Release: 1
Summary: Utility for previewing fonts for GNOME
License: GPLv2+
URL: http://www.gnome.org/gnome-3/
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(fontconfig) pkgconfig(freetype2) pkgconfig(gnome-desktop-3.0) gettext desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: gcc gcc-c++
URL: https://gitlab.gnome.org/GNOME/gnome-font-viewer
Source0: https://download.gnome.org/sources/gnome-font-viewer/%{major_version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(glib-2.0) pkgconfig(harfbuzz) pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(fontconfig) pkgconfig(freetype2) pkgconfig(gnome-desktop-4) pkgconfig(gtk4)
BuildRequires: libappstream-glib desktop-file-utils
BuildRequires: gcc gcc-c++ gettext meson
%description
The Font Viewer application has been rewritten to match the new design used for
GNOME 3 applications.It can now show an overview of all installed fonts and
optimizes screen space usage when the application is maximized.
Use gnome-font-viewer, the Font Viewer, to preview fonts and display
information about a specified font. You can use the Font Viewer to display the
name, style, type, size, version and copyright of the font.
%prep
%autosetup -p1
@ -24,23 +27,40 @@ optimizes screen space usage when the application is maximized.
%install
%meson_install
%find_lang gnome-font-viewer --with-gnome
%find_lang %{name} --with-gnome
%check
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
%files -f gnome-font-viewer.lang
%doc NEWS COPYING
%{_bindir}/gnome-*
%files -f %{name}.lang
%license COPYING
%doc NEWS
%{_bindir}/%{name}
%{_bindir}/gnome-thumbnail-font
%{_datadir}/applications/org.gnome.font-viewer.desktop
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service
%{_datadir}/icons/hicolor/*/apps/org.gnome.font-viewer*.svg
%{_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}/thumbnailers/gnome-font-viewer.thumbnailer
%{_datadir}/thumbnailers/%{name}.thumbnailer
%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
- Upgrade to 3.34.0

View File

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