Accepting request 129725 from home:adra:branches:M17N:fonts
Update to version 0.20120503, Use the package scripts for generating the fonts in openSUSE > 11.2 OBS-URL: https://build.opensuse.org/request/show/129725 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/gnu-free-fonts?expand=0&rev=12
This commit is contained in:
parent
b029d02cf7
commit
0876763117
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ef5ac41efaf4f43d466594c2991d18853e5b09663e1ea6335c411e636166f6f6
|
|
||||||
size 5343855
|
|
BIN
freefont-src-20120503.tar.gz
(Stored with Git LFS)
Normal file
BIN
freefont-src-20120503.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 2 21:54:31 UTC 2012 - asterios.dramis@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.20120503:
|
||||||
|
* Lots of changes (see http://savannah.gnu.org/forum/forum.php?forum_id=7216
|
||||||
|
and ChangeLog for details).
|
||||||
|
- Use the package scripts for generating the fonts in openSUSE > 11.2. Use the
|
||||||
|
"GenerateTrueType" external script only for older versions (package fails to
|
||||||
|
compile otherwise).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
@ -17,27 +17,25 @@
|
|||||||
|
|
||||||
|
|
||||||
%define fontname freefont
|
%define fontname freefont
|
||||||
|
%define fontversion 20120503
|
||||||
%define _ttfontsdir /usr/share/fonts/truetype
|
%define _ttfontsdir /usr/share/fonts/truetype
|
||||||
|
|
||||||
Name: gnu-free-fonts
|
Name: gnu-free-fonts
|
||||||
Version: 0.20111101
|
Version: 0.%{fontversion}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Free UCS Outline Fonts
|
Summary: Free UCS Outline Fonts
|
||||||
License: SUSE-GPL-3.0+-with-font-exception
|
License: SUSE-GPL-3.0+-with-font-exception
|
||||||
Group: System/X11/Fonts
|
Group: System/X11/Fonts
|
||||||
Url: http://savannah.nongnu.org/projects/freefont/
|
Url: http://savannah.nongnu.org/projects/freefont/
|
||||||
# svn co svn://svn.savannah.gnu.org/freefont/trunk/freefont
|
Source0: http://ftp.gnu.org/gnu/freefont/%{fontname}-src-%{fontversion}.tar.gz
|
||||||
# tar jcvf freefont-0.20080323.tar.bz2 freefont/
|
|
||||||
Source0: %{fontname}-%{version}.tar.bz2
|
|
||||||
Source10: remove-kana-glyphs
|
Source10: remove-kana-glyphs
|
||||||
# TODO: remove GenerateTrueType script from previous version (20080323) as soon as the new one is working
|
|
||||||
Source11: GenerateTrueType
|
Source11: GenerateTrueType
|
||||||
BuildRequires: fontforge >= 20080429
|
BuildRequires: fontforge >= 20080429
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
%reconfigure_fonts_prereq
|
%reconfigure_fonts_prereq
|
||||||
# FIXME: This causes a rpmlint warning; change <= to < once there's a new upstream version
|
# freefont was last used at openSUSE 12.1 (version 0.20110523) and at M17N:fonts (version 0.20111101)
|
||||||
Obsoletes: %{fontname} <= 0.20111101
|
Obsoletes: %{fontname} < %{version}
|
||||||
Provides: %{fontname} = %{version}
|
Provides: %{fontname} = %{version}
|
||||||
Provides: scalable-font-bg
|
Provides: scalable-font-bg
|
||||||
Provides: scalable-font-el
|
Provides: scalable-font-el
|
||||||
@ -54,27 +52,31 @@ typefaces: one monospaced and two proportional (one with uniform and
|
|||||||
one with modulated stroke).
|
one with modulated stroke).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{fontname}
|
%setup -q -n %{fontname}-%{fontversion}
|
||||||
find . -name CVS -type d | xargs rm -rf
|
|
||||||
# Fix DOS line endings
|
|
||||||
sed -i 's/.$//' papers/eurotex2003/freefont.bib
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
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
|
%if 0%{?suse_version} > 1120
|
||||||
|
make ttf
|
||||||
|
%else
|
||||||
|
cp %{SOURCE11} ./tools
|
||||||
|
fontforge -lang=ff -script ./tools/GenerateTrueType ./sfd/*.sfd
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_ttfontsdir}/
|
mkdir -p %{buildroot}%{_ttfontsdir}/
|
||||||
install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}/
|
%if 0%{?suse_version} > 1120
|
||||||
|
install -pm 0644 sfd/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
%else
|
||||||
|
install -pm 0644 *.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
%endif
|
||||||
|
|
||||||
%reconfigure_fonts_scriptlets
|
%reconfigure_fonts_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS CREDITS ChangeLog README
|
%doc AUTHORS COPYING CREDITS ChangeLog README notes/troubleshooting.txt notes/usage.txt
|
||||||
%doc papers/
|
|
||||||
%{_ttfontsdir}
|
%{_ttfontsdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user