⌖ Fedora 10 alpha general package cleanup

This commit is contained in:
nim 2008-07-11 20:56:41 +00:00
parent ca71c1016e
commit 011c8725ba
7 changed files with 29 additions and 69 deletions

1
import.log Normal file
View File

@ -0,0 +1 @@
stix-fonts-0_9-7_fc10:HEAD:stix-fonts-0.9-7.fc10.src.rpm:1215809789

View File

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-stix.conf
Define aliasing and other fontconfig settings for
STIX base fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias>
<family>STIXGeneral</family>

View File

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-stix-integrals.conf
Define aliasing and other fontconfig settings for
STIX PUA fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias binding="same">
<family>STIXIntegrals</family>

View File

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-stix-pua.conf
Define aliasing and other fontconfig settings for
STIX PUA fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias binding="same">
<family>STIXNonUnicode</family>

View File

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-stix-sizes.conf
Define aliasing and other fontconfig settings for
STIX size fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias binding="same">
<family>STIXSize1</family>

View File

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/61-stix-variants.conf
Define aliasing and other fontconfig settings for
STIX variants fonts
© 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<alias binding="same">
<family>STIXVariants</family>

View File

@ -6,7 +6,7 @@
Name: %{fontname}-fonts
Version: 0.9
Release: 6%{?dist}
Release: 7%{?dist}
Summary: STIX scientific and engineering fonts
Group: User Interface/X
@ -115,7 +115,7 @@ done
%build
# Source format not available
# Nothing there
%install
@ -138,71 +138,60 @@ rm -fr %{buildroot}
%post
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache -f %{fontdir}
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
%post pua
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache -f %{fontdir}
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun pua
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
%post integrals
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache -f %{fontdir}
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun integrals
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
%post sizes
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache -f %{fontdir}
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun sizes
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
fi
%post variants
if [ -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache -f %{fontdir}
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun variants
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
%{_bindir}/fc-cache %{fontdir} || :
fi
@ -211,7 +200,7 @@ fi
%doc *.txt
%config(noreplace) %{fontconfdir}/61-%{fontname}.conf
%dir %{fontdir}
%dir %{fontdir}/
%{fontdir}/STIXGeneral*otf
@ -240,6 +229,11 @@ fi
%changelog
* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
- 0.9-7
Fedora 10 alpha general package cleanup
* Thu Nov 1 2007 <nicolas.mailhot at laposte.net>
0.9-6
Add some fontconfig aliasing rules