Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
stix-fonts
stix-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stix-fonts.spec of Package stix-fonts
# # spec file for package stix-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 ttf_fontdir /usr/share/fonts/truetype %define fontconf 61-stix %define fontconfig_templatedir /etc/fonts/conf.avail %define fontconfig_confdir /etc/fonts/conf.d Name: stix-fonts Version: 1.1.0 Release: 1 %define archivename STIXv%{version} License: OFL-1.1 Summary: STIX scientific and engineering fonts Url: http://www.stixfonts.org/ Group: System/X11/Fonts Source0: %{archivename}.tar.bz2 Source1: %{name}-License.txt Source2: %{name}-fontconfig.conf Source3: %{name}-pua-fontconfig.conf Source4: %{name}-integrals-fontconfig.conf Source5: %{name}-sizes-fontconfig.conf Source6: %{name}-variants-fontconfig.conf BuildRequires: fontconfig Requires: fontconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description The mission of the Scientific and Technical Information Exchange (STIX) font creation project is the preparation of a comprehensive set of fonts that serve the scientific and engineering community in the process from manuscript creation through final publication, both in electronic and print formats. This package includes base Unicode fonts containing most glyphs for standard use. %package -n stix-pua-fonts License: OFL-1.1 Summary: STIX scientific and engineering fonts, PUA glyphs Group: System/X11/Fonts Requires: %{name} = %{version} %description -n stix-pua-fonts This package includes fonts containing glyphs called out from the Unicode Private Use Area (PUA) range. Glyphs in this range do not have an official Unicode codepoint. They're generally accessible only through specialised software. Text using them will break if they're ever accepted by the Unicode Consortium and moved to an official codepoint. %package -n stix-integrals-fonts License: OFL-1.1 Summary: STIX scientific and engineering fonts, additional integral glyphs Group: System/X11/Fonts Requires: %{name} = %{version} %description -n stix-integrals-fonts This package includes fonts containing additional integrals of various size and slant. %package -n stix-sizes-fonts License: OFL-1.1 Summary: STIX scientific and engineering fonts, additional glyph sizes Group: System/X11/Fonts Requires: %{name} = %{version} %description -n stix-sizes-fonts This package includes fonts containing glyphs in additional sizes (Mostly "fence" and "piece" glyphs). %package -n stix-variants-fonts License: OFL-1.1 Summary: STIX scientific and engineering fonts, additional glyph variants Group: System/X11/Fonts Requires: %{name} = %{version} %description -n stix-variants-fonts This package includes fonts containing alternative variants of some glyphs. %prep %setup -q -n %{archivename} install -m 0644 -p %{SOURCE1} License.txt for txt in *.txt ; do fold -s $txt > $txt.new sed -i 's/\r//' $txt.new touch -r $txt $txt.new mv $txt.new $txt done %build %install install -m 0755 -d %{buildroot}%{ttf_fontdir} install -m 0644 -p Fonts/STIX-General/*.otf %{buildroot}%{ttf_fontdir} install -m 0755 -d %{buildroot}%{_docdir}/%{name}/ install -m 0644 License.txt %{buildroot}%{_docdir}/%{name} install -m 0755 -d %{buildroot}%{fontconfig_templatedir} \ %{buildroot}%{fontconfig_confdir} install -m 0644 -p %{SOURCE2} \ %{buildroot}%{fontconfig_templatedir}/%{fontconf}.conf install -m 0644 -p %{SOURCE3} \ %{buildroot}%{fontconfig_templatedir}/%{fontconf}-pua.conf install -m 0644 -p %{SOURCE4} \ %{buildroot}%{fontconfig_templatedir}/%{fontconf}-integrals.conf install -m 0644 -p %{SOURCE5} \ %{buildroot}%{fontconfig_templatedir}/%{fontconf}-sizes.conf install -m 0644 -p %{SOURCE6} \ %{buildroot}%{fontconfig_templatedir}/%{fontconf}-variants.conf for fconf in %{fontconf}.conf \ %{fontconf}-pua.conf \ %{fontconf}-integrals.conf \ %{fontconf}-sizes.conf \ %{fontconf}-variants.conf ; do ln -s %{fontconfig_templatedir}/$fconf \ %{buildroot}%{fontconfig_confdir}/$fconf done %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %post -n stix-pua-fonts %run_suseconfig_fonts %postun -n stix-pua-fonts %run_suseconfig_fonts %post -n stix-integrals-fonts %run_suseconfig_fonts %postun -n stix-integrals-fonts %run_suseconfig_fonts %post -n stix-sizes-fonts %run_suseconfig_fonts %postun -n stix-sizes-fonts %run_suseconfig_fonts %post -n stix-variants-fonts %run_suseconfig_fonts %postun -n stix-variants-fonts %run_suseconfig_fonts %clean rm -fr %{buildroot} %files %defattr(-, root, root) %dir %{ttf_fontdir} %{ttf_fontdir}/STIXGeneral*.otf %dir %{_docdir}/%{name}/ %{_docdir}/%{name}/License.txt %config %{fontconfig_templatedir}/%{fontconf}.conf %config %{fontconfig_confdir}/%{fontconf}.conf %files -n stix-pua-fonts %defattr(-, root, root) %{ttf_fontdir}/STIXNonUni*.otf %config %{fontconfig_templatedir}/%{fontconf}-pua.conf %config %{fontconfig_confdir}/%{fontconf}-pua.conf %files -n stix-integrals-fonts %defattr(-, root, root) %{ttf_fontdir}/STIXInt*.otf %config %{fontconfig_templatedir}/%{fontconf}-integrals.conf %config %{fontconfig_confdir}/%{fontconf}-integrals.conf %files -n stix-sizes-fonts %defattr(-, root, root) %{ttf_fontdir}/STIXSiz*.otf %config %{fontconfig_templatedir}/%{fontconf}-sizes.conf %config %{fontconfig_confdir}/%{fontconf}-sizes.conf %files -n stix-variants-fonts %defattr(-, root, root) %{ttf_fontdir}/STIXVar*.otf %config %{fontconfig_templatedir}/%{fontconf}-variants.conf %config %{fontconfig_confdir}/%{fontconf}-variants.conf %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