commit stix-fonts for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package stix-fonts for openSUSE:Factory checked in at 2012-09-14 12:39:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stix-fonts (Old) and /work/SRC/openSUSE:Factory/.stix-fonts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "stix-fonts", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/stix-fonts/stix-fonts.changes 2012-05-26 09:29:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.stix-fonts.new/stix-fonts.changes 2012-09-14 12:39:17.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz + +- amend spec file to reflect new font packaging scheme + (see openFATE#313536); + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stix-fonts.spec ++++++ --- /var/tmp/diff_new_pack.tfz2BJ/_old 2012-09-14 12:39:18.000000000 +0200 +++ /var/tmp/diff_new_pack.tfz2BJ/_new 2012-09-14 12:39:18.000000000 +0200 @@ -16,19 +16,16 @@ # -%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 +Release: 0 %define archivename STIXv%{version} -License: OFL-1.1 Summary: STIX scientific and engineering fonts -Url: http://www.stixfonts.org/ +License: OFL-1.1 Group: System/X11/Fonts +Url: http://www.stixfonts.org/ Source0: %{archivename}.tar.bz2 Source1: %{name}-License.txt Source2: %{name}-fontconfig.conf @@ -37,7 +34,9 @@ Source5: %{name}-sizes-fontconfig.conf Source6: %{name}-variants-fontconfig.conf BuildRequires: fontconfig +BuildRequires: fontpackages-devel Requires: fontconfig +%reconfigure_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -51,10 +50,10 @@ 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} +%reconfigure_fonts_prereq %description -n stix-pua-fonts This package includes fonts containing glyphs called out from the Unicode @@ -64,30 +63,30 @@ 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} +%reconfigure_fonts_prereq %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} +%reconfigure_fonts_prereq %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} +%reconfigure_fonts_prereq %description -n stix-variants-fonts This package includes fonts containing alternative variants of some glyphs. @@ -105,98 +104,79 @@ %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}%{_ttfontsdir} +install -m 0644 -p Fonts/STIX-General/*.otf %{buildroot}%{_ttfontsdir} 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 0755 -d %{buildroot}%{_fontsconfavaildir} \ + %{buildroot}%{_fontsconfddir} install -m 0644 -p %{SOURCE2} \ - %{buildroot}%{fontconfig_templatedir}/%{fontconf}.conf + %{buildroot}%{_fontsconfavaildir}/%{fontconf}.conf install -m 0644 -p %{SOURCE3} \ - %{buildroot}%{fontconfig_templatedir}/%{fontconf}-pua.conf + %{buildroot}%{_fontsconfavaildir}/%{fontconf}-pua.conf install -m 0644 -p %{SOURCE4} \ - %{buildroot}%{fontconfig_templatedir}/%{fontconf}-integrals.conf + %{buildroot}%{_fontsconfavaildir}/%{fontconf}-integrals.conf install -m 0644 -p %{SOURCE5} \ - %{buildroot}%{fontconfig_templatedir}/%{fontconf}-sizes.conf + %{buildroot}%{_fontsconfavaildir}/%{fontconf}-sizes.conf install -m 0644 -p %{SOURCE6} \ - %{buildroot}%{fontconfig_templatedir}/%{fontconf}-variants.conf + %{buildroot}%{_fontsconfavaildir}/%{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 + ln -s %{_fontsconfavaildir}/$fconf \ + %{buildroot}%{_fontsconfddir}/$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 +%reconfigure_fonts_scriptlets -%postun -n stix-sizes-fonts -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets -n stix-pua-fonts -%post -n stix-variants-fonts -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets -n stix-integrals-fonts -%postun -n stix-variants-fonts -%run_suseconfig_fonts +%reconfigure_fonts_scriptlets -n stix-sizes-fonts -%clean -rm -fr %{buildroot} +%reconfigure_fonts_scriptlets -n stix-variants-fonts %files %defattr(-, root, root) -%dir %{ttf_fontdir} -%{ttf_fontdir}/STIXGeneral*.otf +%dir %{_ttfontsdir} +%{_ttfontsdir}/STIXGeneral*.otf %dir %{_docdir}/%{name}/ %{_docdir}/%{name}/License.txt -%config %{fontconfig_templatedir}/%{fontconf}.conf -%config %{fontconfig_confdir}/%{fontconf}.conf +%config %{_fontsconfavaildir}/%{fontconf}.conf +%config %{_fontsconfddir}/%{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 +%dir %{_ttfontsdir} +%{_ttfontsdir}/STIXNonUni*.otf +%config %{_fontsconfavaildir}/%{fontconf}-pua.conf +%config %{_fontsconfddir}/%{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 +%dir %{_ttfontsdir} +%{_ttfontsdir}/STIXInt*.otf +%config %{_fontsconfavaildir}/%{fontconf}-integrals.conf +%config %{_fontsconfddir}/%{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 +%dir %{_ttfontsdir} +%{_ttfontsdir}/STIXSiz*.otf +%config %{_fontsconfavaildir}/%{fontconf}-sizes.conf +%config %{_fontsconfddir}/%{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 +%dir %{_ttfontsdir} +%{_ttfontsdir}/STIXVar*.otf +%config %{_fontsconfavaildir}/%{fontconf}-variants.conf +%config %{_fontsconfddir}/%{fontconf}-variants.conf %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de