Accepting request 122141 from M17N:fonts
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/122141 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-free-fonts?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 17 09:10:05 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- call spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 14 16:42:20 UTC 2012 - cfarrell@suse.com
|
Wed Mar 14 16:42:20 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
@@ -20,12 +20,12 @@
|
|||||||
%define ttf_fontdir /usr/share/fonts/truetype
|
%define ttf_fontdir /usr/share/fonts/truetype
|
||||||
|
|
||||||
Name: gnu-free-fonts
|
Name: gnu-free-fonts
|
||||||
Summary: Free UCS Outline Fonts
|
|
||||||
License: SUSE-GPL-3.0+-with-font-exception
|
|
||||||
Group: System/X11/Fonts
|
|
||||||
Version: 0.20111101
|
Version: 0.20111101
|
||||||
Release: 0
|
Release: 0
|
||||||
|
License: SUSE-GPL-3.0+-with-font-exception
|
||||||
|
Summary: Free UCS Outline Fonts
|
||||||
Url: http://savannah.nongnu.org/projects/freefont/
|
Url: http://savannah.nongnu.org/projects/freefont/
|
||||||
|
Group: System/X11/Fonts
|
||||||
# svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
|
# svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
|
||||||
# tar jcvf freefont-0.20080323.tar.bz2 freefont/
|
# tar jcvf freefont-0.20080323.tar.bz2 freefont/
|
||||||
Source0: %{fontname}-%{version}.tar.bz2
|
Source0: %{fontname}-%{version}.tar.bz2
|
||||||
@@ -34,14 +34,17 @@ Source10: remove-kana-glyphs
|
|||||||
Source11: GenerateTrueType
|
Source11: GenerateTrueType
|
||||||
BuildRequires: fontforge >= 20080429
|
BuildRequires: fontforge >= 20080429
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildArch: noarch
|
Requires(pre): %suseconfig_fonts_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
||||||
Obsoletes: %{fontname} <= 0.20111101
|
Obsoletes: %{fontname} <= 0.20111101
|
||||||
Provides: %{fontname} = %{version}
|
Provides: %{fontname} = %{version}
|
||||||
Provides: scalable-font-el, scalable-font-he, scalable-font-ru, scalable-font-bg
|
Provides: scalable-font-bg
|
||||||
|
Provides: scalable-font-el,
|
||||||
|
Provides: scalable-font-he,
|
||||||
|
Provides: scalable-font-ru,
|
||||||
Provides: locale(bg;el;he;ru;vi)
|
Provides: locale(bg;el;he;ru;vi)
|
||||||
PreReq: %suseconfig_fonts_prereq
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of free outline (OpenType, for example) fonts covering the ISO
|
A set of free outline (OpenType, for example) fonts covering the ISO
|
||||||
@@ -56,14 +59,14 @@ find . -name CVS -type d | xargs rm -rf
|
|||||||
sed -i 's/.$//' papers/eurotex2003/freefont.bib
|
sed -i 's/.$//' papers/eurotex2003/freefont.bib
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp %{S:11} ./tools
|
cp %{SOURCE11} ./tools
|
||||||
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
|
chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs
|
||||||
$RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
|
$RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd
|
||||||
fontforge -lang=ff -script ./tools/GenerateTrueType *.sfd
|
fontforge -lang=ff -script ./tools/GenerateTrueType *.sfd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
|
mkdir -p %{buildroot}%{ttf_fontdir}/
|
||||||
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_suseconfig_fonts
|
%run_suseconfig_fonts
|
||||||
@@ -71,7 +74,7 @@ install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
|||||||
%postun
|
%postun
|
||||||
%run_suseconfig_fonts
|
%run_suseconfig_fonts
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root,root)
|
%defattr(-, root,root)
|
||||||
%doc AUTHORS CREDITS ChangeLog README
|
%doc AUTHORS CREDITS ChangeLog README
|
||||||
%doc papers/
|
%doc papers/
|
||||||
|
Reference in New Issue
Block a user