diff --git a/fontconfig.spec b/fontconfig.spec index 3b5a434..429815a 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -20,7 +20,7 @@ Patch0: %{name}-sleep-less.patch BuildRequires: expat-devel BuildRequires: freetype-devel >= %{freetype_version} BuildRequires: fontpackages-devel -BuildRequires: autoconf automake libtool gettext +BuildRequires: autoconf automake libtool gettext itstool BuildRequires: gperf Requires: fontpackages-filesystem freetype @@ -88,6 +88,8 @@ mv $RPM_BUILD_ROOT%{_bindir}/fc-cache $RPM_BUILD_ROOT%{_bindir}/fc-cache-%{__isa install -p -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/fc-cache +%find_lang %{name} + %check make check @@ -116,7 +118,7 @@ HOME=/root /usr/bin/fc-cache -s %transfiletriggerpostun -- /usr/share/fonts /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts HOME=/root /usr/bin/fc-cache -s -%files +%files -f %{name}.lang %doc README AUTHORS %doc fontconfig-user.txt fontconfig-user.html %doc %{_fontconfig_confdir}/README @@ -124,6 +126,7 @@ HOME=/root /usr/bin/fc-cache -s %{_libdir}/libfontconfig.so.* %{_bindir}/fc-cache* %{_bindir}/fc-cat +%{_bindir}/fc-conflist %{_bindir}/fc-list %{_bindir}/fc-match %{_bindir}/fc-pattern