Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
gnu-free-fonts
gnu-free-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnu-free-fonts.spec of Package gnu-free-fonts
# # spec file for package gnu-free-fonts # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define fontname freefont %define fontversion 20120503 %define _ttfontsdir /usr/share/fonts/truetype Name: gnu-free-fonts Version: 0.%{fontversion} Release: 0 Summary: Free UCS Outline Fonts License: SUSE-GPL-3.0+-with-font-exception Group: System/X11/Fonts Url: http://savannah.nongnu.org/projects/freefont/ Source0: http://ftp.gnu.org/gnu/freefont/%{fontname}-src-%{fontversion}.tar.gz Source10: remove-kana-glyphs Source11: GenerateTrueType BuildRequires: fontforge >= 20080429 BuildRequires: fontpackages-devel BuildRequires: python %reconfigure_fonts_prereq # freefont was last used at openSUSE 12.1 (version 0.20110523) and at M17N:fonts (version 0.20111101) Obsoletes: %{fontname} < %{version} Provides: %{fontname} = %{version} Provides: scalable-font-bg Provides: scalable-font-el Provides: scalable-font-he Provides: scalable-font-ru Provides: locale(bg;el;he;ru;vi) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description A set of free outline (OpenType, for example) fonts covering the ISO 10646/Unicode UCS (Universal Character Set). The set consists of three typefaces: one monospaced and two proportional (one with uniform and one with modulated stroke). %prep %setup -q -n %{fontname}-%{fontversion} %build chmod 755 $RPM_SOURCE_DIR/remove-kana-glyphs $RPM_SOURCE_DIR/remove-kana-glyphs ./sfd/*.sfd %if 0%{?suse_version} > 1120 make ttf %else cp %{SOURCE11} ./tools fontforge -lang=ff -script ./tools/GenerateTrueType ./sfd/*.sfd %endif %install mkdir -p %{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 %files %defattr(-,root,root,-) %doc AUTHORS COPYING CREDITS ChangeLog README notes/troubleshooting.txt notes/usage.txt %{_ttfontsdir} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor