From 2131c2390051b39b6561d5cbaf4c365a92a1631c Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Feb 10 2009 12:02:07 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..12d7766 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +VLGothic-20090204.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..c72f94f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +vlgothic-fonts-20090204-2_fc11:F-10:vlgothic-fonts-20090204-2.fc11.src.rpm:1234267291 diff --git a/sources b/sources index e69de29..907cd13 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +54298db27daf7b3ec92aff5cfab72f02 VLGothic-20090204.tar.bz2 diff --git a/vlgothic-fontconfig-gothic.conf b/vlgothic-fontconfig-gothic.conf new file mode 100644 index 0000000..c0f8e43 --- /dev/null +++ b/vlgothic-fontconfig-gothic.conf @@ -0,0 +1,38 @@ + + + + + + VL Gothic + + + false + + + + + + ja-jp + + + monospace + + + VL Gothic + + + + + monospace + + VL Gothic + + + + + VL Gothic + + monospace + + + diff --git a/vlgothic-fontconfig-pgothic.conf b/vlgothic-fontconfig-pgothic.conf new file mode 100644 index 0000000..2ff80fa --- /dev/null +++ b/vlgothic-fontconfig-pgothic.conf @@ -0,0 +1,38 @@ + + + + + + VL PGothic + + + false + + + + + + ja-jp + + + sans-serif + + + VL PGothic + + + + + sans-serif + + VL PGothic + + + + + VL PGothic + + sans-serif + + + diff --git a/vlgothic-fonts.spec b/vlgothic-fonts.spec new file mode 100644 index 0000000..d787425 --- /dev/null +++ b/vlgothic-fonts.spec @@ -0,0 +1,185 @@ +%define priority 66 +%define fontname vlgothic +%define archivename VLGothic-%{version} +%define fontconf %{priority}-%{fontname} +%define common_desc \ +VLGothic provides Japanese TrueType fonts from the Vine Linux project.\ +Most of the glyphs are taken from the M+ and Sazanami Gothic fonts,\ +but some have also been improved by the project. + +Name: %{fontname}-fonts +Version: 20090204 +Release: 2%{?dist} +Summary: Japanese TrueType font + +License: mplus and BSD +Group: User Interface/X +URL: http://dicey.org/vlgothic +Source0: http://vinelinux.org/~daisuke/vlgothic/%{archivename}.tar.bz2 +Source1: %{fontname}-fontconfig-pgothic.conf +Source2: %{fontname}-fontconfig-gothic.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: fontpackages-devel + +Requires: %{name}-common = %{version}-%{release} +Obsoletes: VLGothic-fonts < 20090204-1 +Provides: VLGothic-fonts = %{version}-%{release} +%description +%common_desc + +This package provides the monospace VLGothic font. + +%package common +Summary: Common files for VLGothic Japanese TrueType fonts +Group: User Interface/X +Requires: fontpackages-filesystem + +%description common +%common_desc + +This package consists of files used by other %{name} packages. + +%package -n %{fontname}-p-fonts +Summary: Proportional Japanese TrueType font +Group: User Interface/X +Requires: %{name}-common = %{version}-%{release} +Obsoletes: VLGothic-fonts-proportional < 20090204-1 +Provides: VLGothic-fonts-proportional = %{version}-%{release} + +%description -n %{fontname}-p-fonts +%common_desc + +This package provides the VLGothic font with proportional glyphs for some +non-Japanese characters. + +%prep +%setup -q -n VLGothic + + +%build +%{nil} + + +%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}-pgothic.conf +install -m 0644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}-gothic.conf + +for fconf in %{fontconf}-pgothic.conf %{fontconf}-gothic.conf; do + ln -s %{_fontconfig_templatedir}/$fconf $RPM_BUILD_ROOT%{_fontconfig_confdir}/$fconf +done + + +%clean +rm -rf ${RPM_BUILD_ROOT} + + +%files common +%defattr(0644, root, root, 0755) +%doc README* LICENSE* +%dir %{_fontdir} + +%_font_pkg -f %{fontconf}-gothic.conf VL-Gothic-Regular.ttf + +%_font_pkg -n p -f %{fontconf}-pgothic.conf VL-PGothic-Regular.ttf + + +%changelog +* Tue Feb 10 2009 Akira TAGOH - 20090204-2 +- clean up. + +* Wed Feb 4 2009 Akira TAGOH - 20090204-1 +- New upstream release. +- Update spec file for new packaging policy. + - Renamed VLGothic-fonts to vlgothic-fonts. + - Renamed VLGothic-fonts-proportional to vlgothic-p-fonts. + - Added vlgothic-fonts-common. + +* Fri Dec 5 2008 Akira TAGOH - 20081203-2 +- update fontconfig config according to Fontconfig packaging tips. + +* Thu Dec 4 2008 Akira TAGOH - 20081203-1 +- update to 20081203 release. +- clean up spec file. +- changed the priority prefix for fontconfig to 66 according to Fontconfig packaging tips. + +* Wed Oct 29 2008 Akira TAGOH - 20081029-1 +- update to 20081029 release. + +* Tue Sep 9 2008 Akira TAGOH - 20080908-1 +- update to 20080908 release. + +* Thu Jul 31 2008 Jens Petersen - 20080624-1.fc10 +- update to 20080624 release + +* Wed May 7 2008 Jens Petersen - 20080429-1 +- update to 20080429 release +- rename 59-VLGothic-sans.conf to 59-VLGothic-proportional.conf + +* Thu Jan 17 2008 Jens Petersen - 20071215-2.fc9 +- move monospace font to main package and obsolete monospace subpackage +- rename sans subpackage to proportional and obsolete sans subpackage +- use a separate font dir for the proportional font subpackage +- add fc-cache scriptlets and drop superfluous removal of old font config +- drop the docs subpackage +- use fontname, fontdir, and fontconfdir macros +- improve summaries and descriptions +- do not require fontconfig +- drop VLGothic obsoletes and provides + +* Sat Jan 12 2008 Ryo Dairiki - 20071215-1 +- Update to 20071215 + +* Thu Oct 18 2007 Ryo Dairiki - 20071015-2 +- Rename the font directory. +- Fix font selection problem in Flash 9. +- Make it remove the old configuration files on updating. + +* Thu Oct 18 2007 Ryo Dairiki - 20071015-1 +- Update to 20071015 +- Make it separated into subpackages + +* Sat Sep 09 2007 Ryo Dairiki - 20070901-1 +- Update to 20070901 + +* Sat Jun 02 2007 Ryo Dairiki - 20070507-1 +- Update to 20070507 + +* Sun Apr 22 2007 Ryo Dairiki - 20070328-1 +- Update to 20070328 + +* Wed Jan 03 2007 Ryo Dairiki - 20070101-1 +- Update to 20070101 + +* Sun Dec 10 2006 Ryo Dairiki - 20061026-5 +- Decrease the priority of the VLGothic fonts lower than DejaVu fonts. +- Now config files are replaced by every updating. + +* Wed Nov 29 2006 Ryo Dairiki - 20061026-4 +- Fix the mistyped dist tag. + +* Sat Nov 18 2006 Ryo Dairiki - 20061026-3 +- Modify the specfile along with the Fedora Extras packaging policy. + +* Sun Nov 12 2006 Ryo Dairiki - 20061026-2 +- Modify the specfile. + +* Sun Nov 12 2006 Ryo Dairiki - 20061026-1 +- Preparing for Fedora Extras. + +* Sat Oct 28 2006 Ryo Dairiki - 20061021-2 +- Update to 20061021. + +* Tue Sep 19 2006 Ryo Dairiki - 20060913-2 +- Update to 20060913. + +* Thu Aug 31 2006 Ryo Dairiki - 20060831-1 +- Initial packaging.