]> git.pld-linux.org Git - packages/fonts-TTF-RedHat-liberation1.git/blobdiff - fonts-TTF-RedHat-liberation.spec
- 1.0
[packages/fonts-TTF-RedHat-liberation1.git] / fonts-TTF-RedHat-liberation.spec
index efd71213f55cd332345c265580d8876406d0616f..31a24bdf2a856ce638a38ca8a229f32bf47e90ee 100644 (file)
@@ -2,12 +2,13 @@
 Summary:       Fonts to replace commonly used Microsoft Windows Fonts
 Summary(pl.UTF-8):     Fonty zastępujące popularne fonty z Microsoft Windows
 Name:          fonts-TTF-RedHat-liberation
-Version:       0.1
+Version:       1.0
 Release:       1
 License:       GPL v2 + exceptions
 Group:         Fonts
-Source0:       https://www.redhat.com/f/fonts/%{_name}-ttf-2.tar.gz
-# Source0-md5: 360dee2d73159522db3be6af8ec23294
+Source0:       %{_name}-%{version}-1.zip
+# Source0-md5: 6322c47a17c0ab83dbc6d8d23620db8c
+Source1:       %{name}.fontconfig
 URL:           https://www.redhat.com/promo/fonts/
 Requires(post,postun): fontpostinst
 Requires:      %{_fontsdir}/TTF
@@ -19,20 +20,33 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The Liberation Fonts are intended to be replacements for the three
-most commonly used fonts on Microsoft systems: Times New Roman, Arial,
-and Courier New.
+most commonly used fonts on Microsoft systems.
+
+There are three sets: Sans (a substitute for Arial, Albany, Helvetica,
+Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times
+New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono
+(a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and
+Bitstream Vera Sans Mono).
 
 %description -l pl.UTF-8
 Fonty Liberation mają być zamiennikami trzech najczęściej używanych
-fontów z systemów Microsoftu: Times New Roman, Arial i Courier New.
+fontów z systemów Microsoftu.
+
+Pakiet zawiera trzy zestawy: Sans (zamiennik dla Arial, Albany,
+Helvetica, Nimbus Sans L i Bitstream Vera Sans), Serif (zamiennik dla
+Times New Roman, Thorndale, Nimbus Roman i Bitstream Vera Serif) i
+Mono (zamiennik dla Courier New, Cumberland, Courier, Nimbus Mono L i
+Bitstream Vera Sans Mono).
 
 %prep
-%setup -q -c -n %{_name}
+%setup -q -c
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
 cp -a *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+install %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,3 +60,4 @@ fontpostinst TTF
 %files
 %defattr(644,root,root,755)
 %{_ttffontsdir}/*
+%{_sysconfdir}/fonts/conf.avail/60-liberation.conf
This page took 0.071061 seconds and 4 git commands to generate.