rpms/paratype-pt-sans-fonts/devel import.log, NONE, 1.1 paratype-pt-sans-fonts-caption-fontconfig.conf, NONE, 1.1 paratype-pt-sans-fonts-fontconfig.conf, NONE, 1.1 paratype-pt-sans-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

nim nim at fedoraproject.org
Wed Feb 17 06:31:10 UTC 2010


Author: nim

Update of /cvs/extras/rpms/paratype-pt-sans-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24449/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log paratype-pt-sans-fonts-caption-fontconfig.conf 
	paratype-pt-sans-fonts-fontconfig.conf 
	paratype-pt-sans-fonts.spec 
Log Message:
initial import


--- NEW FILE import.log ---
paratype-pt-sans-fonts-20100112-2_f14:HEAD:paratype-pt-sans-fonts-20100112-2.f14.src.rpm:1266388240


--- NEW FILE paratype-pt-sans-fonts-caption-fontconfig.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>PT Sans Caption]</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
  <alias binding="same">
    <family>PT Sans</family>
    <accept>
      <family>PT Sans Caption</family>
    </accept>
  </alias>
</fontconfig>


--- NEW FILE paratype-pt-sans-fonts-fontconfig.conf ---
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>PT Sans</family>
    </prefer>
  </alias>
  <alias>
    <family>PT Sans</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
  <alias>
    <family>PT Sans Narrow</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
  <alias binding="same">
    <family>PT Sans Caption</family>
    <accept>
      <family>PT Sans</family>
    </accept>
  </alias>
</fontconfig>


--- NEW FILE paratype-pt-sans-fonts.spec ---
%global fontname paratype-pt-sans
%global fontconf 57-%{fontname}

%global archivename PTSans.zip

%global common_desc \
The PT Sans family was developed as part of the “Public Types of Russian \
Federation” project. This project aims at enabling the peoples of Russia to \
read and write their native languages, using free/libre fonts. It is \
dedicated to the 300-year anniversary of the Russian civil type invented by \
Peter the Great from 1708 to 1710, and was realized with financial support \
from the Russian Federal Agency for Press and Mass Communications. \
\
The fonts include support for all 54 title¹ languages of the Russian \
Federation as well as more common Western, Central European and Cyrillic \
blocks making them unique and a very important tool for modern digital \
communications. \
\
PT Sans is a grotesque font based on Russian type designs of the second part \
of the 20th century. However, it also includes very distinctive features of \
modern humanistic design, fulfilling present day aesthetic and functional \
requirements. \
\
It was designed by Alexandra Korolkova, Olga Umpeleva and Vladimir Yefimov \
and released by ParaType. \
\
¹ A “title” language is named after an ethnic group.


Name:           %{fontname}-fonts
Version:        20100112
Release:        2%{?dist}
Summary:        A pan-Cyrillic typeface

Group:          User Interface/X
License:        PTFL
URL:            http://www.paratype.com/public/
Source0:        http://204.12.46.182/public/%{archivename}
Source10:       %{name}-fontconfig.conf
Source11:       %{name}-caption-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildArch:      noarch
Requires:       fontpackages-filesystem
BuildRequires:  fontpackages-devel

%description
%common_desc

This package includes the four basic styles and two narrows styles for
economic setting.

%_font_pkg -f %{fontconf}.conf PTS*.ttf PTN*.ttf
%doc *.txt *.pdf


%package -n %{fontname}-caption-fonts
Summary:        A pan-Cyrillic typeface (caption forms for small text)
BuildRequires:  fontpackages-devel
Requires:       %{name}-common = %{version}-%{release}

%description -n %{fontname}-caption-fonts
%common_desc

This package includes 2 captions styles for small text sizes.

%_font_pkg -n caption -f %{fontconf}-caption.conf PTC*.ttf
%doc *.txt *.pdf


%prep
%setup -q -c

for txt in *.txt ; do
   if $(echo "$txt" | grep -q "rus\.txt") ; then
     iconv --from=UTF-16       --to=UTF-8 "$txt" > "$txt.1"
   else
     iconv --from=WINDOWS-1251 --to=UTF-8 "$txt" > "$txt.1"
   fi
   sed -i 's/\r//' "$txt.1"
   touch -r "$txt" "$txt.1"
   mv "$txt.1" "$txt"
done


%build


%install
rm -fr %{buildroot}

install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}

install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                   %{buildroot}%{_fontconfig_confdir}

install -m 0644 -p %{SOURCE10} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
install -m 0644 -p %{SOURCE11} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-caption.conf

for fconf in %{fontconf}.conf \
             %{fontconf}-caption.conf ; do
  ln -s %{_fontconfig_templatedir}/$fconf \
        %{buildroot}%{_fontconfig_confdir}/$fconf
done


%clean
rm -fr %{buildroot}


%changelog
* Sat Feb 13 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 20100112-2
— Update for review

* Sun Jan 17 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 20100112-1
— Initial release



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/paratype-pt-sans-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	16 Feb 2010 03:56:30 -0000	1.1
+++ .cvsignore	17 Feb 2010 06:31:09 -0000	1.2
@@ -0,0 +1 @@
+PTSans.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/paratype-pt-sans-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Feb 2010 03:56:30 -0000	1.1
+++ sources	17 Feb 2010 06:31:10 -0000	1.2
@@ -0,0 +1 @@
+c3f5a0e20a75cf628387510a720924a7  PTSans.zip



More information about the fonts-bugs mailing list