BR: gcc
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
4fd8b73c35
commit
c5ee002e8e
@ -10,12 +10,17 @@ License: GPLv2+
|
|||||||
URL: http://www.gnome.org/gnome-3/
|
URL: http://www.gnome.org/gnome-3/
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: gnome-desktop3-devel
|
BuildRequires: meson >= 0.40.1
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.35.1
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.0
|
||||||
|
BuildRequires: pkgconfig(harfbuzz) >= 0.9.9
|
||||||
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
|
BuildRequires: pkgconfig(freetype2)
|
||||||
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: %{_bindir}/desktop-file-validate
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: %{_bindir}/appstream-util
|
||||||
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
|
||||||
@ -35,13 +40,8 @@ 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 $RPM_BUILD_ROOT%{_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
|
||||||
%post
|
|
||||||
update-desktop-database &> /dev/null || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
update-desktop-database &> /dev/null || :
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user