|
Akira TAGOH |
caddf5a |
%global priority 70
|
|
|
2161f58 |
%global fontname sazanami
|
|
|
2161f58 |
%global fontconf %{priority}-%{fontname}
|
|
|
2161f58 |
%global catalogue %{_sysconfdir}/X11/fontpath.d
|
|
|
2161f58 |
%global common_desc \
|
|
|
29f4330 |
The Sazanami type faces are automatically generated from Wadalab font kit.\
|
|
|
29f4330 |
They also contains some embedded Japanese bitmap fonts.
|
|
|
f74d9b5 |
|
|
|
29f4330 |
Name: %{fontname}-fonts
|
|
|
f74d9b5 |
Version: 0.20040629
|
|
|
9bb5b13 |
Release: 37%{?dist}
|
|
|
f74d9b5 |
BuildArch: noarch
|
|
|
f74d9b5 |
BuildRequires: ttmkfdir >= 3.0.6
|
|
|
214a1f5 |
BuildRequires: mkfontdir xorg-x11-fonts-misc >= 7.5-11
|
|
|
29f4330 |
BuildRequires: fontpackages-devel
|
|
|
c0e51cf |
BuildRequires: fonttools
|
|
|
f74d9b5 |
URL: http://efont.sourceforge.jp/
|
|
|
f74d9b5 |
|
|
|
c0e51cf |
Source0: http://globalbase.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2
|
|
|
f74d9b5 |
Source1: fonts.alias.sazanami-gothic
|
|
|
f74d9b5 |
Source2: fonts.alias.sazanami-mincho
|
|
|
29f4330 |
Source3: %{fontname}-gothic-fontconfig.conf
|
|
|
29f4330 |
Source4: %{fontname}-mincho-fontconfig.conf
|
|
|
c0e51cf |
Patch1: uni7E6B-gothic.patch
|
|
|
c0e51cf |
Patch2: uni7E6B-mincho.patch
|
|
|
9a1429a |
Patch3: uni8449-mincho.patch
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
Summary: Sazanami Japanese TrueType fonts
|
|
|
f74d9b5 |
License: BSD
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
%description
|
|
|
29f4330 |
%common_desc
|
|
|
29f4330 |
|
|
|
29f4330 |
%package common
|
|
|
29f4330 |
Summary: Common files for Sazanami Japanese TrueType fonts
|
|
|
29f4330 |
Requires: fontpackages-filesystem
|
|
|
f74d9b5 |
|
|
|
29f4330 |
%description common
|
|
|
29f4330 |
%common_desc
|
|
|
29f4330 |
|
|
|
29f4330 |
This package consists of files used by other %{name} packages.
|
|
|
29f4330 |
|
|
|
1593d3f |
%package -n %{fontname}-gothic-fonts
|
|
|
f74d9b5 |
Summary: Sazanami Gothic Japanese TrueType font
|
|
|
f74d9b5 |
License: BSD
|
|
|
f74d9b5 |
Conflicts: fonts-japanese <= 0.20061016-9.fc8
|
|
|
1593d3f |
Provides: ttfonts-ja = 1.2-37, %{fontname}-fonts-gothic = %{version}-%{release}
|
|
|
1593d3f |
Obsoletes: ttfonts-ja < 1.2-37, %{fontname}-fonts-gothic < 0.20040629-6.20061016
|
|
|
29f4330 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
f74d9b5 |
|
|
|
1593d3f |
%description -n %{fontname}-gothic-fonts
|
|
|
29f4330 |
%common_desc
|
|
|
f74d9b5 |
|
|
|
29f4330 |
This package contains Japanese TrueType font for Gothic type face.
|
|
|
f74d9b5 |
|
|
|
1593d3f |
%package -n %{fontname}-mincho-fonts
|
|
|
f74d9b5 |
Summary: Sazanami Mincho Japanese TrueType font
|
|
|
f74d9b5 |
License: BSD
|
|
|
f74d9b5 |
Conflicts: fonts-japanese <= 0.20061016-9.fc8
|
|
|
1593d3f |
Provides: ttfonts-ja = 1.2-37, %{fontname}-fonts-mincho = %{version}-%{release}
|
|
|
1593d3f |
Obsoletes: ttfonts-ja < 1.2-37, %{fontname}-fonts-mincho < 0.20040629-6.20061016
|
|
|
29f4330 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
f74d9b5 |
|
|
|
1593d3f |
%description -n %{fontname}-mincho-fonts
|
|
|
29f4330 |
%common_desc
|
|
|
f74d9b5 |
|
|
|
29f4330 |
This package contains Japanese TrueType font for Mincho type face.
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
%prep
|
|
|
c0e51cf |
%setup -q -n sazanami-20040629
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
%build
|
|
|
c0e51cf |
#rhbz#196433: modify the ttfs to change the glyph for 0x7E6B
|
|
|
ac26c50 |
ttx -i -a -e sazanami-gothic.ttf
|
|
|
c0e51cf |
patch -b -z .uni7E6B sazanami-gothic.ttx %{PATCH1}
|
|
|
c0e51cf |
touch -r sazanami-gothic.ttf sazanami-gothic.ttx
|
|
|
c0e51cf |
rm sazanami-gothic.ttf
|
|
|
c0e51cf |
ttx -b sazanami-gothic.ttx
|
|
|
c0e51cf |
touch -r sazanami-gothic.ttx sazanami-gothic.ttf
|
|
|
c0e51cf |
|
|
|
ac26c50 |
ttx -i -a -e sazanami-mincho.ttf
|
|
|
c0e51cf |
patch -b -z .uni7E6B sazanami-mincho.ttx %{PATCH2}
|
|
|
9a1429a |
patch -b -z .uni8449 sazanami-mincho.ttx %{PATCH3}
|
|
|
c0e51cf |
touch -r sazanami-mincho.ttf sazanami-mincho.ttx
|
|
|
c0e51cf |
rm sazanami-mincho.ttf
|
|
|
c0e51cf |
ttx -b sazanami-mincho.ttx
|
|
|
c0e51cf |
touch -r sazanami-mincho.ttx sazanami-mincho.ttf
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
%install
|
|
|
f74d9b5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f74d9b5 |
|
|
|
29f4330 |
install -dm 0755 $RPM_BUILD_ROOT%{_fontdir}/{gothic,mincho}
|
|
|
29f4330 |
install -pm 0644 sazanami-gothic.ttf $RPM_BUILD_ROOT%{_fontdir}/gothic
|
|
|
29f4330 |
install -pm 0644 sazanami-mincho.ttf $RPM_BUILD_ROOT%{_fontdir}/mincho
|
|
|
29f4330 |
|
|
|
29f4330 |
install -dm 0755 $RPM_BUILD_ROOT%{_fontconfig_templatedir} \
|
|
|
29f4330 |
$RPM_BUILD_ROOT%{_fontconfig_confdir}
|
|
|
29f4330 |
install -pm 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}-gothic.conf
|
|
|
29f4330 |
install -pm 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}-mincho.conf
|
|
|
f74d9b5 |
|
|
|
29f4330 |
for fontconf in %{fontconf}-gothic.conf %{fontconf}-mincho.conf; do
|
|
|
29f4330 |
ln -s %{_fontconfig_templatedir}/$fontconf $RPM_BUILD_ROOT%{_fontconfig_confdir}/$fontconf
|
|
|
29f4330 |
done
|
|
|
29f4330 |
|
|
|
29f4330 |
install -dm 0755 $RPM_BUILD_ROOT%{catalogue}
|
|
|
29f4330 |
install -pm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_fontdir}/gothic/fonts.alias
|
|
|
29f4330 |
install -pm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_fontdir}/mincho/fonts.alias
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
# Create fonts.scale and fonts.dir
|
|
|
77754c0 |
ttmkfdir -d $RPM_BUILD_ROOT%{_fontdir}/gothic -o $RPM_BUILD_ROOT%{_fontdir}/gothic/fonts.scale
|
|
|
77754c0 |
mkfontdir $RPM_BUILD_ROOT%{_fontdir}/gothic
|
|
|
77754c0 |
ttmkfdir -d $RPM_BUILD_ROOT%{_fontdir}/mincho -o $RPM_BUILD_ROOT%{_fontdir}/mincho/fonts.scale
|
|
|
77754c0 |
mkfontdir $RPM_BUILD_ROOT%{_fontdir}/mincho
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
# Install catalogue symlink
|
|
|
29f4330 |
ln -sf %{_fontdir}/gothic $RPM_BUILD_ROOT%{catalogue}/%{name}-gothic
|
|
|
29f4330 |
ln -sf %{_fontdir}/mincho $RPM_BUILD_ROOT%{catalogue}/%{name}-mincho
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
|
|
|
29f4330 |
%_font_pkg -n gothic -f %{fontconf}-gothic.conf gothic/sazanami-gothic.ttf
|
|
|
29f4330 |
|
|
|
29f4330 |
%dir %{_fontdir}/gothic
|
|
|
f74d9b5 |
%{catalogue}/%{name}-gothic
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/gothic/fonts.dir
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/gothic/fonts.scale
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/gothic/fonts.alias
|
|
|
f74d9b5 |
|
|
|
29f4330 |
%_font_pkg -n mincho -f %{fontconf}-mincho.conf mincho/sazanami-mincho.ttf
|
|
|
29f4330 |
|
|
|
29f4330 |
%dir %{_fontdir}/mincho
|
|
|
f74d9b5 |
%{catalogue}/%{name}-mincho
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/mincho/fonts.dir
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/mincho/fonts.scale
|
|
|
29f4330 |
%verify(not md5 size mtime) %{_fontdir}/mincho/fonts.alias
|
|
|
29f4330 |
|
|
|
29f4330 |
%files common
|
|
|
29f4330 |
%doc doc README
|
|
|
29f4330 |
%dir %{_fontdir}
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
%changelog
|
|
|
9bb5b13 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-37
|
|
|
9bb5b13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
9bb5b13 |
|
|
|
a181050 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-36
|
|
|
a181050 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a181050 |
|
|
|
96d847e |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-35
|
|
|
96d847e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
96d847e |
|
|
|
b3a0828 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-34
|
|
|
b3a0828 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b3a0828 |
|
|
|
77754c0 |
* Tue Feb 12 2019 Kalev Lember <klember@redhat.com> - 0.20040629-33
|
|
|
77754c0 |
- Avoid hardcoding ttmkfdir and mkfontdir prefix
|
|
|
77754c0 |
|
|
|
2854e4e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-32
|
|
|
2854e4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2854e4e |
|
|
|
7fe5a8c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-31
|
|
|
7fe5a8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7fe5a8c |
|
|
|
fea0412 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-30
|
|
|
fea0412 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fea0412 |
|
|
Akira TAGOH |
caddf5a |
* Mon Jan 22 2018 Akira TAGOH <tagoh@redhat.com> - 0.20040629-29
|
|
Akira TAGOH |
caddf5a |
- Update the priority to change the default font to Noto.
|
|
Akira TAGOH |
caddf5a |
|
|
|
994e581 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-28
|
|
|
994e581 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
994e581 |
|
|
|
895ee14 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-27
|
|
|
895ee14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
895ee14 |
|
|
|
a4be3eb |
* Mon Mar 07 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20040629-26
|
|
|
a4be3eb |
- Build against new fonttools-3.0-4 build
|
|
|
a4be3eb |
|
|
|
bdd044b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040629-25
|
|
|
bdd044b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bdd044b |
|
|
|
2161f58 |
* Mon Jan 4 2016 Akira TAGOH <tagoh@redhat.com>
|
|
|
2161f58 |
- Use %%global instead of %%define.
|
|
|
2161f58 |
|
|
|
4fd2022 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-24
|
|
|
4fd2022 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4fd2022 |
|
|
|
214a1f5 |
* Tue Nov 4 2014 Akira TAGOH <tagoh@redhat.com> - 0.20040629-23
|
|
|
214a1f5 |
- Rebuilt to get the proper fonts.scale with fixed xorg-x11-fonts-misc. (#1007493)
|
|
|
214a1f5 |
|
|
|
be16417 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-22
|
|
|
be16417 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
be16417 |
|
|
|
5752500 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-21
|
|
|
5752500 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
5752500 |
|
|
|
2bf795a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-20
|
|
|
2bf795a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2bf795a |
|
|
|
e8e7082 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-19
|
|
|
e8e7082 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e8e7082 |
|
|
|
4126906 |
* Wed Jul 4 2012 Akira TAGOH <tagoh@redhat.com> - 0.20040629-18
|
|
|
4126906 |
- Correct fontconfig config file. (#837532)
|
|
|
4126906 |
|
|
|
abdd7d7 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-17
|
|
|
abdd7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
abdd7d7 |
|
|
|
2d7778c |
* Thu Aug 25 2011 Akira TAGOH <tagoh@redhat.com> - 0.20040629-16
|
|
|
2d7778c |
- Add xorg-x11-fonts-misc to BR. (#733106)
|
|
|
2d7778c |
|
|
|
85d2966 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-15
|
|
|
85d2966 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
85d2966 |
|
|
|
9a1429a |
* Wed Jun 23 2010 Akira TAGOH <tagoh@redhat.com> - 0.20040629-14
|
|
|
9a1429a |
- Fix the broken outline path of U+8449 in sazanami-mincho. (#606876)
|
|
|
9a1429a |
|
|
|
ac60e0e |
* Tue May 25 2010 Akira TAGOH <tagoh@redhat.com> - 0.20040629-13
|
|
|
ac60e0e |
- Improve the fontconfig config file to match ja as well.
|
|
|
ac60e0e |
|
|
|
ac60e0e |
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 0.20040629-12
|
|
|
ac60e0e |
- Get rid of compare="contains".
|
|
|
ac60e0e |
|
|
|
203f430 |
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 0.20040629-11
|
|
|
3a37fc4 |
- Get rid of binding="same" from the fontconfig config file. (#578045)
|
|
|
3a37fc4 |
|
|
|
c0e51cf |
* Tue Oct 6 2009 Akira TAGOH <tagoh@redhat.com> - 0.20040629-9
|
|
|
c0e51cf |
- keeps the original timestamps for TTFs.
|
|
|
c0e51cf |
|
|
|
c0e51cf |
* Mon Oct 05 2009 Caolán McNamara <caolanm@redhat.com>
|
|
|
c0e51cf |
- use ttx and rebuild the font by merging the original .ttfs with the
|
|
|
c0e51cf |
custom replacement uni7E6B glyphs
|
|
|
c0e51cf |
|
|
|
128c9f9 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-8.20061016
|
|
|
128c9f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
128c9f9 |
|
|
|
52e9016 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040629-7.20061016
|
|
|
52e9016 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
52e9016 |
|
|
|
1593d3f |
* Wed Jan 28 2009 Akira TAGOH <tagoh@redhat.com> - 0.20040629-6.20061016
|
|
|
1593d3f |
- Rename the package name again.
|
|
|
1593d3f |
|
|
|
29f4330 |
* Thu Dec 25 2008 Akira TAGOH <tagoh@redhat.com> - 0.20040629-5.20061016
|
|
|
29f4330 |
- Update the spec file to fit into new guideline. (#477453)
|
|
|
29f4330 |
|
|
|
45f3508 |
* Tue Aug 28 2007 Jens Petersen <petersen@redhat.com> - 0.20040629-4.20061016
|
|
|
45f3508 |
- use the standard font scriptlets (#259041)
|
|
|
45f3508 |
|
|
|
f74d9b5 |
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 0.20040629-3.20061016
|
|
|
f74d9b5 |
- Update %%description.
|
|
|
f74d9b5 |
- Separate package for gothic and mincho.
|
|
|
f74d9b5 |
|
|
|
f74d9b5 |
* Fri Aug 17 2007 Akira TAGOH <tagoh@redhat.com> - 0.20040629-1.20061016
|
|
|
f74d9b5 |
- Split sazanami*ttf up from fonts-japanese.
|
|
|
f74d9b5 |
|