Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > e1c12c4b49ca5a9e7341bb0d1274bc76 > files > 2

fonts-ttf-ptserif-0.1-2.src.rpm

%define pkgname PTSerif

Summary:	Fonts to support national alphabet of Russian people
Name:		fonts-ttf-ptserif
Version:	0.1
Release:	%mkrel 2
License:	ParaType Free Font License
Group:		System/Fonts/True type
URL:		http://www.paratype.com/public/
Source0:	http://www.fontstock.com/public/%{pkgname}.zip
BuildArch:	noarch
BuildRequires:	freetype-tools
BuildRequires:	dos2unix

%description
PT Serif is a transitional serif face with humanistic terminals designed
for use together with PT Sans and harmonized with PT Sans on metrics,
proportions, weights and design. PT Serif consists of six styles: regular
and bold weights with corresponding italics form a standard computer font
family for basic text setting; two caption styles (regular and italic) are
for texts of small point sizes.

Designed by Alexandra Korolkova, Olga Umpeleva and Vladimir Yefimov.
Released by ParaType in 2010. 

%prep
%setup -q -c -n %{pkgname}
dos2unix *.txt
iconv -f cp1252 -t utf8 'PT Free Font License_eng_1.2.txt' > 'PT-Free-Font-License_eng_1.2.txt'

%build

%install
mkdir -p %{buildroot}%{_xfontdir}/TTF/ptserif

install -m 644 *.ttf %{buildroot}%{_xfontdir}/TTF/ptserif
ttmkfdir %{buildroot}%{_xfontdir}/TTF/ptserif -o %{buildroot}%{_xfontdir}/TTF/ptserif/fonts.dir
ln -s fonts.dir %{buildroot}%{_xfontdir}/TTF/ptserif/fonts.scale

mkdir -p %{buildroot}%_sysconfdir/X11/fontpath.d/
ln -s ../../..%_datadir/fonts/TTF/ptserif \
    %{buildroot}%_sysconfdir/X11/fontpath.d/ttf-ptserif:pri=50

%files
%doc PT-Free-Font-License_eng_1.2.txt
%dir %{_xfontdir}/TTF/ptserif
%{_xfontdir}/TTF/ptserif/*.ttf
%verify(not mtime) %{_xfontdir}/TTF/ptserif/fonts.dir
%{_xfontdir}/TTF/ptserif/fonts.scale
%{_sysconfdir}/X11/fontpath.d/ttf-ptserif:pri=50


%changelog
* Fri Dec 09 2011 Dmitry Mikhirev <dmikhirev@mandriva.org> 0.1-2mdv2012.0
+ Revision: 739397
- Fix for new dos2unix
- Release bump
- imported package fonts-ttf-ptserif