gnome-font-viewer/gnome-font-viewer.spec

72 lines
2.3 KiB
RPMSpec
Raw Normal View History

2022-04-13 18:46:58 +08:00
%global major_version %%(echo %%{version} | awk -F. '{print $1}')
2019-12-13 20:53:17 +08:00
Name: gnome-font-viewer
2023-11-23 14:59:39 +08:00
Version: 44.0
2023-01-31 19:10:27 +08:00
Release: 1
2019-12-13 20:53:17 +08:00
Summary: Utility for previewing fonts for GNOME
2023-01-31 19:10:27 +08:00
License: GPLv2+
2022-04-13 18:46:58 +08:00
URL: https://gitlab.gnome.org/GNOME/gnome-font-viewer
Source0: https://download.gnome.org/sources/gnome-font-viewer/%{major_version}/%{name}-%{version}.tar.xz
2023-01-31 19:10:27 +08:00
BuildRequires: pkgconfig(glib-2.0) pkgconfig(harfbuzz) pkgconfig(libadwaita-1)
2022-04-13 18:46:58 +08:00
BuildRequires: pkgconfig(fontconfig) pkgconfig(freetype2) pkgconfig(gnome-desktop-4) pkgconfig(gtk4)
BuildRequires: libappstream-glib desktop-file-utils
BuildRequires: gcc gcc-c++ gettext meson
2019-12-13 20:53:17 +08:00
%description
2022-04-13 18:46:58 +08:00
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.
2019-12-13 20:53:17 +08:00
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
2022-04-13 18:46:58 +08:00
%find_lang %{name} --with-gnome
2019-12-13 20:53:17 +08:00
%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
2022-04-13 18:46:58 +08:00
%files -f %{name}.lang
%license COPYING
%doc NEWS
%{_bindir}/%{name}
%{_bindir}/gnome-thumbnail-font
2019-12-13 20:53:17 +08:00
%{_datadir}/applications/org.gnome.font-viewer.desktop
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service
2022-04-13 18:46:58 +08:00
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.font-viewer.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.font-viewer-symbolic.svg
2019-12-13 20:53:17 +08:00
%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
2022-04-13 18:46:58 +08:00
%{_datadir}/thumbnailers/%{name}.thumbnailer
2019-12-13 20:53:17 +08:00
%changelog
2023-11-23 14:59:39 +08:00
* Thu Nov 23 2023 lwg <liweiganga@uniontech.com> - 44.0-1
- update to version 44.0
2023-01-31 19:10:27 +08:00
* Mon Jan 02 2023 lin.zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
- Update to 43.0
2022-08-04 14:29:39 +08:00
* Wed Aug 03 2022 liukuo <liukuo@kylinos.cn> - 42.0-2
- License compliance rectification
2022-04-13 18:46:58 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Update to 42.0
2022-02-25 14:59:37 +08:00
* Fri Feb 25 2022 yaoxin <yaoxin30@huawei.com> - 3.34.0-2
- Fix CVE-2019-19308
2021-06-17 10:21:29 +08:00
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1
- Upgrade to 3.34.0
2021-05-19 15:02:43 +08:00
* Tue May 18 2021 lin.zhang <lin.zhang@turbolinux.com.cn> - 3.30.0-3
- add BuildRequires gcc gcc-c++
2019-12-13 20:53:17 +08:00
* Wed Dec 11 2019 likexin <likexin4@huawei.com@huawei.com> - 3.30.0-2
- package init