Author: tagoh

Update of /cvs/pkgs/rpms/ipa-ex-gothic-fonts/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv16038/devel

Modified Files:
        .cvsignore sources 
Added Files:
        import.log ipa-ex-gothic-fonts-fontconfig.conf 
        ipa-ex-gothic-fonts.spec 
Log Message:
initial import



--- NEW FILE import.log ---
ipa-ex-gothic-fonts-001_01-3_fc12:HEAD:ipa-ex-gothic-fonts-001.01-3.fc12.src.rpm:1275021315


--- NEW FILE ipa-ex-gothic-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
        <!-- Generic names -->
        <alias>
                <family>IPAexGothic</family>
                <default>
                        <family>sans-serif</family>
                </default>
        </alias>

        <!-- Locale-specific overrides -->
        <match>
                <test name="lang">
                        <string>ja-jp</string>
                        <string>ja</string>
                </test>
                <test name="family">
                        <string>sans-serif</string>
                </test>
                <edit name="family" mode="prepend">
                        <string>IPAexGothic</string>
                </edit>
        </match>
        <!-- disable hinting -->
<!--
        <match target="font">
                <test name="family">
                        <string>IPAGothic</string>
                </test>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>
-->
</fontconfig>



--- NEW FILE ipa-ex-gothic-fonts.spec ---
%global         priority        65-2
%global         fontname        ipa-ex-gothic
%global         fontconf        %{priority}-%{fontname}.conf
%global         archiveversion  00101
%global         archivename     ipaexg%{archiveversion}

Name:           %{fontname}-fonts
Version:        001.01
Release:        3%{?dist}
Summary:        Japanese Gothic-typeface OpenType font by IPA

Group:          User Interface/X
License:        IPA
URL:            http://ossipedia.ipa.go.jp/ipafont/
Source0:        
http://info.openlab.ipa.go.jp/ipafont/fontdata/%{archivename}.zip
Source1:        %{name}-fontconfig.conf
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

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

%description
IPAex Font is a Japanese OpenType fonts that is JIS X 0213:2004
compliant, provided by Information-technology Promotion Agency, Japan.

This package contains Gothic (sans-serif) style font.

%prep
%setup -q -n %{archivename}
iconv -f sjis -t utf-8 Readme_%{archivename}.txt > 
Readme_%{archivename}.utf8.txt
touch -r Readme_%{archivename}.txt Readme_%{archivename}.utf8.txt

%build

%install
rm -rf $RPM_BUILD_ROOT

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

install -m 0755 -d      $RPM_BUILD_ROOT%{_fontconfig_templatedir}       \
                        $RPM_BUILD_ROOT%{_fontconfig_confdir}
install -m 0644 -p      %{SOURCE1}      \
                        $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}

ln -s   %{_fontconfig_templatedir}/%{fontconf}  \
        $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}

%clean
rm -rf $RPM_BUILD_ROOT


%_font_pkg -f %{fontconf} *.ttf

%doc Readme_%{archivename}.utf8.txt IPA_Font_License_Agreement_v1.0.txt


%changelog
* Mon May 17 2010 Akira TAGOH <ta...@redhat.com> - 001.01-3
- Add ja to check the locale.
- move iconv into %%prep.

* Tue Apr 20 2010 Akira TAGOH <ta...@redhat.com> - 001.01-2
- Convert the document to utf-8.
- Get rid of binding="same" from the fontconfig config file.

* Mon Mar  1 2010 Akira TAGOH <ta...@redhat.com> - 001.01-1
- Initial package.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ipa-ex-gothic-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  27 May 2010 22:39:40 -0000      1.1
+++ .cvsignore  28 May 2010 04:36:27 -0000      1.2
@@ -0,0 +1 @@
+ipaexg00101.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ipa-ex-gothic-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     27 May 2010 22:39:41 -0000      1.1
+++ sources     28 May 2010 04:36:27 -0000      1.2
@@ -0,0 +1 @@
+b1e275cd6bced659abddf344c1601c9b  ipaexg00101.zip

_______________________________________________
fonts-bugs mailing list
fonts-bugs@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to