Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 657bae0d52cf1093b29c5e35ea4668fc > files > 3

manchu-fonts-2.006-3.fc13.src.rpm

%global fontname manchu
%global fontconf  66-%{fontname}.conf

%global archivename Manchu_Font_2005_2.006.zip

Name:           %{fontname}-fonts
Version:        2.006
Release:        3%{?dist}
Summary:        A Manchu OpenType (TrueType-flavored) font

Group:          User Interface/X
License:        GPLv2+
URL:            http://sourceforge.net/projects/manchufont/
Source0:        http://sourceforge.net/projects/manchufont/files/ManchuFont2005%20%28Obsolete%29/ManchuFont2005%20v2.006/%{archivename}
Source1:        %{name}-fontconfig.conf

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

%description
A Manchu OpenType (TrueType-flavored) font
which allows you write and read Manchu script articles correctly.

%prep
%setup -q -c %{name}
sed -i 's/\r//' GNU\ GENERAL\ PUBLIC\ LICENSE.txt

%build


%install
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 %{SOURCE1} \
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}


%_font_pkg -f %{fontconf} *.ttf

%doc GNU\ GENERAL\ PUBLIC\ LICENSE.txt


%changelog
* Sat Feb 12 2011  Peng Wu <pwu@redhat.com> - 2.006-3
- Add document.

* Sun Jan 30 2011  Peng Wu <pwu@redhat.com> - 2.006-2
- Clean the spec file and add fontconfig file

* Wed Jan 26 2011  Peng Wu <pwu@redhat.com> - 2.006-1
- Initial package