Summary(pl.UTF-8): Fonty zastępujące popularne fonty z Microsoft Windows
Name: fonts-TTF-RedHat-liberation
Version: 2.00.1
-Release: 4
+Release: 5
Epoch: 1
License: OFL
Group: Fonts
URL: https://fedorahosted.org/liberation-fonts/
BuildRequires: fontforge >= 20090923
BuildRequires: fonttools
-Requires(post,postun): fontpostinst
-Requires: %{_fontsdir}/TTF
+Suggests: fontpostinst
Obsoletes: liberation-fonts-ttf
Conflicts: fontconfig < 1:2.10.1
BuildArch: noarch
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-fontpostinst TTF
+%triggerin -- fontpostinst
+if [ "$1" = "1" ] && [ "$2" = "1" ]; then
+ fontpostinst TTF
+fi
-%postun
-fontpostinst TTF
+%triggerun -- fontpostinst
+if [ "$1" = "0" ] || [ "$2" = "0" ]; then
+ fontpostinst TTF
+fi
%files
%defattr(644,root,root,755)