Blame SPECS/vlgothic-fonts.spec

27f94c
%global	priority	65-1
27f94c
%global	ppriority	65-0
27f94c
%global	fontname	vlgothic
27f94c
%global	archivename	VLGothic-%{version}
27f94c
%global	fontconf	%{priority}-%{fontname}-gothic
27f94c
%global	pfontconf	%{ppriority}-%{fontname}-pgothic
27f94c
%global	common_desc	\
27f94c
VLGothic provides Japanese TrueType fonts from the Vine Linux project.\
27f94c
Most of the glyphs are taken from the M+ and Sazanami Gothic fonts,\
27f94c
but some have also been improved by the project.
27f94c
27f94c
Name:		%{fontname}-fonts
27f94c
Version:	20130607
27f94c
Release:	2%{?dist}
27f94c
Summary:	Japanese TrueType font
27f94c
27f94c
License:	mplus and BSD
27f94c
Group:		User Interface/X
27f94c
URL:		http://dicey.org/vlgothic
27f94c
Source0:	http://osdn.dl.sourceforge.jp/vlgothic/58961/%{archivename}.tar.bz2
27f94c
Source1:	%{name}-fontconfig-pgothic.conf
27f94c
Source2:	%{name}-fontconfig-gothic.conf
27f94c
BuildArch:	noarch
27f94c
BuildRequires:	fontpackages-devel
27f94c
27f94c
Requires:	fontpackages-filesystem
27f94c
Obsoletes:	%{name}-common < 20121230-2
27f94c
Provides:	%{name}-common = %{version}-%{release}
27f94c
%description
27f94c
%common_desc
27f94c
27f94c
This package provides the monospace VLGothic font.
27f94c
27f94c
27f94c
%package -n	%{fontname}-p-fonts
27f94c
Summary:	Proportional Japanese TrueType font
27f94c
Group:		User Interface/X
27f94c
Requires:	fontpackages-filesystem
27f94c
Obsoletes:	%{name}-common < 20121230-2
27f94c
Provides:	%{name}-common = %{version}-%{release}
27f94c
27f94c
%description -n	%{fontname}-p-fonts
27f94c
%common_desc
27f94c
27f94c
This package provides the VLGothic font with proportional glyphs for some
27f94c
non-Japanese characters.
27f94c
27f94c
%prep
27f94c
%setup -q -n VLGothic
27f94c
27f94c
27f94c
%build
27f94c
%{nil}
27f94c
27f94c
27f94c
%install
27f94c
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
27f94c
install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{_fontdir}
27f94c
27f94c
install -m 0755 -d	$RPM_BUILD_ROOT%{_fontconfig_templatedir} \
27f94c
			$RPM_BUILD_ROOT%{_fontconfig_confdir}
27f94c
27f94c
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{pfontconf}.conf
27f94c
install -m 0644 -p %{SOURCE2} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}.conf
27f94c
27f94c
for fconf in %{pfontconf}.conf %{fontconf}.conf; do
27f94c
	ln -s %{_fontconfig_templatedir}/$fconf $RPM_BUILD_ROOT%{_fontconfig_confdir}/$fconf
27f94c
done
27f94c
27f94c
27f94c
%_font_pkg -f %{fontconf}.conf VL-Gothic-Regular.ttf
27f94c
%doc README* LICENSE*
27f94c
27f94c
%_font_pkg -n p -f %{pfontconf}.conf VL-PGothic-Regular.ttf
27f94c
%doc README* LICENSE*
27f94c
27f94c
27f94c
%changelog
27f94c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 20130607-2
27f94c
- Mass rebuild 2013-12-27
27f94c
27f94c
* Mon Jun 10 2013 Akira TAGOH <tagoh@redhat.com> - 20130607-1
27f94c
- New upstream release. (#972223)
27f94c
27f94c
* Fri May 24 2013 Akira TAGOH <tagoh@redhat.com> - 20130510-2
27f94c
- Work around unnecessary leading whitespace in the pattern. (#966785)
27f94c
27f94c
* Mon May 13 2013 Akira TAGOH <tagoh@redhat.com> - 20130510-1
27f94c
- New upstream release (#956040)
27f94c
27f94c
* Wed Feb 20 2013 Akira TAGOH <tagoh@redhat.com> - 20121230-4
27f94c
- Drop more older Obsoletes and Provides line.
27f94c
27f94c
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20121230-3
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
27f94c
27f94c
* Fri Jan 11 2013 Akira TAGOH <tagoh@redhat.com> - 20121230-2
27f94c
- Drop -common package and keep consistent state of the directory
27f94c
  by using the macro. (#893789)
27f94c
- Drop old Obsoletes and Provides line.
27f94c
27f94c
* Fri Jan  4 2013 Akira TAGOH <tagoh@redhat.com> - 20121230-1
27f94c
- New upstream release. (#890992)
27f94c
27f94c
* Fri Nov 23 2012 Akira TAGOH <tagoh@redhat.com> - 20121109-2
27f94c
- the spec file cleanup
27f94c
27f94c
* Fri Nov 16 2012 Akira TAGOH <tagoh@redhat.com> - 20121109-1
27f94c
- New upstream release. (#874981)
27f94c
27f94c
* Mon Oct  1 2012 Akira TAGOH <tagoh@redhat.com> - 20120928-1
27f94c
- New upstream release. (#861431)
27f94c
27f94c
* Thu Sep  6 2012 Akira TAGOH <tagoh@redhat.com> - 20120905-1
27f94c
- New upstream release. (#854525)
27f94c
27f94c
* Wed Aug 29 2012 Akira TAGOH <tagoh@redhat.com> - 20120829-1
27f94c
- New upstream release. (#852673)
27f94c
27f94c
* Mon Aug 27 2012 Akira TAGOH <tagoh@redhat.com> - 20120827-1
27f94c
- New upstream release. (#851879)
27f94c
27f94c
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120629-2
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
27f94c
27f94c
* Mon Jul  2 2012 Akira TAGOH <tagoh@redhat.com> - 20120629-1
27f94c
- New upstream release.
27f94c
27f94c
* Mon Jun 18 2012 Akira TAGOH <tagoh@redhat.com> - 20120618-1
27f94c
- New upstream release.
27f94c
27f94c
* Mon Jun 11 2012 Akira TAGOH <tagoh@redhat.com> - 20120610-1
27f94c
- New upstream release.
27f94c
27f94c
* Mon Mar 25 2012 Akira TAGOH <tagoh@redhat.com> - 20120325-1
27f94c
- New upstream release.
27f94c
27f94c
* Wed Mar 14 2012 Akira TAGOH <tagoh@redhat.com> - 20120312-1
27f94c
- New upstream release.
27f94c
27f94c
* Fri Feb 03 2012 Akira TAGOH <tagoh@redhat.com> - 20120130-1
27f94c
- New upstream release.
27f94c
27f94c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20111122-2
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
27f94c
27f94c
* Tue Nov 22 2011 Akira TAGOH <tagoh@redhat.com> - 20111122-1
27f94c
- New upstream release.
27f94c
27f94c
* Mon Jul 25 2011 Akira TAGOH <tagoh@redhat.com> - 20110722-1
27f94c
- New upstream release.
27f94c
27f94c
* Thu Apr 14 2011 Akira TAGOH <tagoh@redhat.com> - 20110414-1
27f94c
- New upstream release.
27f94c
27f94c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101218-2
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
27f94c
27f94c
* Wed Dec 22 2010 Akira TAGOH <tagoh@redhat.com> - 20101218-1
27f94c
- New upstream release.
27f94c
27f94c
* Thu Aug 19 2010 Akira TAGOH <tagoh@redhat.com> - 20100818-1
27f94c
- New upstream release.
27f94c
27f94c
* Wed May 26 2010 Akira TAGOH <tagoh@redhat.com> - 20100416-3
27f94c
- Improve the fontconfig config file to match ja as well.
27f94c
27f94c
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 20100416-2
27f94c
- Get rid of compare="contains" again.
27f94c
27f94c
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 20100416-1
27f94c
- New upstream release.
27f94c
- Get rid of binding="same" from the fontconfig config file. (#578048)
27f94c
27f94c
* Fri Mar 12 2010 Akira TAGOH <tagoh@redhat.com> - 20100126-2
27f94c
- Fix the locale-specific overrides rule to match with "ja" as well. (#572841)
27f94c
27f94c
* Mon Mar  1 2010 Akira TAGOH <tagoh@redhat.com> - 20100126-1
27f94c
- New upstream release.
27f94c
- Set the priority to 65-0 for vlgothic-p-fonts to avoid the effects
27f94c
  of 65-nonlatin.conf and similarly 65-1 to vlgothic-fonts. (#476459)
27f94c
27f94c
* Mon Dec  7 2009 Akira TAGOH <tagoh@redhat.com> - 20091202-1
27f94c
- New upstream release.
27f94c
- Set the priority to 65 for vlgothic-p-fonts to override the rule in
27f94c
  vlgothic-fonts for sans-serif.
27f94c
- Set the priority to 66 and contains both rules for sans-serif and monospace
27f94c
  to avoid picking up the unrelated fonts in Live. where doesn't have
27f94c
  vlgothic-p-fonts installed. (#544957)
27f94c
27f94c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090612-2
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
27f94c
27f94c
* Mon Jun 15 2009 Akira TAGOH <tagoh@redhat.com> - 20090612-1
27f94c
- New upstream release.
27f94c
27f94c
* Thu Apr 23 2009 Akira TAGOH <tagoh@redhat.com> - 20090422-1
27f94c
- New upstream release.
27f94c
27f94c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090204-3
27f94c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
27f94c
27f94c
* Tue Feb 10 2009 Akira TAGOH <tagoh@redhat.com> - 20090204-2
27f94c
- clean up.
27f94c
27f94c
* Wed Feb  4 2009 Akira TAGOH <tagoh@redhat.com> - 20090204-1
27f94c
- New upstream release.
27f94c
- Update spec file for new packaging policy.
27f94c
  - Renamed VLGothic-fonts to vlgothic-fonts.
27f94c
  - Renamed VLGothic-fonts-proportional to vlgothic-p-fonts.
27f94c
  - Added vlgothic-fonts-common.
27f94c
27f94c
* Fri Dec  5 2008 Akira TAGOH <tagoh@redhat.com> - 20081203-2
27f94c
- update fontconfig config according to Fontconfig packaging tips.
27f94c
27f94c
* Thu Dec  4 2008 Akira TAGOH <tagoh@redhat.com> - 20081203-1
27f94c
- update to 20081203 release.
27f94c
- clean up spec file.
27f94c
- changed the priority prefix for fontconfig to 66 according to Fontconfig packaging tips.
27f94c
27f94c
* Wed Oct 29 2008 Akira TAGOH <tagoh@redhat.com> - 20081029-1
27f94c
- update to 20081029 release.
27f94c
27f94c
* Tue Sep  9 2008 Akira TAGOH <tagoh@redhat.com> - 20080908-1
27f94c
- update to 20080908 release.
27f94c
27f94c
* Thu Jul 31 2008 Jens Petersen <petersen@redhat.com> - 20080624-1.fc10
27f94c
- update to 20080624 release
27f94c
27f94c
* Wed May  7 2008 Jens Petersen <petersen@redhat.com> - 20080429-1
27f94c
- update to 20080429 release
27f94c
- rename 59-VLGothic-sans.conf to 59-VLGothic-proportional.conf
27f94c
27f94c
* Thu Jan 17 2008 Jens Petersen <petersen@redhat.com> - 20071215-2.fc9
27f94c
- move monospace font to main package and obsolete monospace subpackage
27f94c
- rename sans subpackage to proportional and obsolete sans subpackage
27f94c
- use a separate font dir for the proportional font subpackage
27f94c
- add fc-cache scriptlets and drop superfluous removal of old font config
27f94c
- drop the docs subpackage
27f94c
- use fontname, fontdir, and fontconfdir macros
27f94c
- improve summaries and descriptions
27f94c
- do not require fontconfig
27f94c
- drop VLGothic obsoletes and provides
27f94c
27f94c
* Sat Jan 12 2008 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20071215-1
27f94c
- Update to 20071215
27f94c
27f94c
* Thu Oct 18 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20071015-2
27f94c
- Rename the font directory.
27f94c
- Fix font selection problem in Flash 9.
27f94c
- Make it remove the old configuration files on updating.
27f94c
27f94c
* Thu Oct 18 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20071015-1
27f94c
- Update to 20071015
27f94c
- Make it separated into subpackages
27f94c
27f94c
* Sat Sep 09 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20070901-1
27f94c
- Update to 20070901
27f94c
27f94c
* Sat Jun 02 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20070507-1
27f94c
- Update to 20070507
27f94c
27f94c
* Sun Apr 22 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20070328-1
27f94c
- Update to 20070328
27f94c
27f94c
* Wed Jan 03 2007 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20070101-1
27f94c
- Update to 20070101
27f94c
27f94c
* Sun Dec 10 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061026-5
27f94c
- Decrease the priority of the VLGothic fonts lower than DejaVu fonts.
27f94c
- Now config files are replaced by every updating.
27f94c
27f94c
* Wed Nov 29 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061026-4
27f94c
- Fix the mistyped dist tag.
27f94c
27f94c
* Sat Nov 18 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061026-3
27f94c
- Modify the specfile along with the Fedora Extras packaging policy.
27f94c
27f94c
* Sun Nov 12 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061026-2
27f94c
- Modify the specfile.
27f94c
27f94c
* Sun Nov 12 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061026-1
27f94c
- Preparing for Fedora Extras.
27f94c
27f94c
* Sat Oct 28 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20061021-2
27f94c
- Update to 20061021.
27f94c
27f94c
* Tue Sep 19 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20060913-2
27f94c
- Update to 20060913.
27f94c
27f94c
* Thu Aug 31 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net> - 20060831-1
27f94c
- Initial packaging.