rpms/Inventor/FC-6 Inventor.spec,1.36,1.37
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Wed Mar 14 17:59:43 UTC 2007
- Previous message: rpms/gdal/FC-5 gdal-buildfix.patch, NONE, 1.1 gdal.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/deskbar-applet/devel .cvsignore, 1.20, 1.21 deskbar-applet.spec, 1.45, 1.46 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: corsepiu
Update of /cvs/extras/rpms/Inventor/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21719
Modified Files:
Inventor.spec
Log Message:
* Wed Mar 14 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.1.5-26
- Use dejavu-fonts as fonts.
- Attempt to fix BZ 232017.
Index: Inventor.spec
===================================================================
RCS file: /cvs/extras/rpms/Inventor/FC-6/Inventor.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- Inventor.spec 13 Feb 2007 18:53:24 -0000 1.36
+++ Inventor.spec 14 Mar 2007 17:59:11 -0000 1.37
@@ -1,12 +1,12 @@
#
-# Copyright (c) 2004, 2005, 2006 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2004, 2005, 2006, 2007 Ralf Corsepius, Ulm, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name: Inventor
Version: 2.1.5
-Release: 25%{?dist}
+Release: 26%{?dist}
Summary: SGI Open Inventor (TM)
@@ -42,6 +42,8 @@
# Workaround to RH shipping bison with broken package dependencies
BuildRequires: m4
BuildRequires: /bin/csh
+BuildRequires: dejavu-fonts
+Requires: dejavu-fonts
%description
SGI Open Inventor(TM) is an object-oriented 3D toolkit offering a
@@ -220,6 +222,38 @@
install -d -m755 ${RPM_BUILD_ROOT}%{_datadir}/Inventor/data/textures
install -d -m755 ${RPM_BUILD_ROOT}%{_datadir}/Inventor/fonts
+# Map Inventor's standard fonts
+# Utopia, Helvetica and Courier to DejaVu-TTF fonts
+# Times-Roman is being used by some examples
+pushd ${RPM_BUILD_ROOT}%{_datadir}/Inventor/fonts > /dev/null
+for font in "Times-Roman" \
+ "Utopia-Regular" "Utopia-Bold" \
+ "Utopia-Italic" "Utopia-BoldItalic" \
+ "Helvetica" "Helvetica-Bold" \
+ "Helvetica-Oblique" "Helvetica-BoldOblique" \
+ "Courier" "Courier-Bold" \
+ "Courier-Oblique" "Courier-BoldOblique"
+do
+case $font in
+Helvetica*) d=DejaVuSans;;
+Courier*) d=DejaVuSerifCondensed;;
+*) d=DejaVuSerif;;
+esac
+
+case $font in
+*-Regular);;
+*-Bold) d="$d-Bold";;
+*-Oblique) d="$d-Oblique";;
+*-Italic) d="$d-Oblique";;
+*-BoldItalic) d="$d-BoldOblique"
+esac
+d="$d.ttf"
+rm -f $font
+ln -s "/usr/share/fonts/dejavu-fonts/$d" $font
+done
+popd > /dev/null
+
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -308,6 +342,10 @@
%{_libdir}/Inventor/examples
%changelog
+* Wed Mar 14 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.1.5-26
+- Use dejavu-fonts as fonts.
+- Attempt to fix BZ 232017.
+
* Tue Feb 13 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.1.5-25
- Specfile fixes.
- Previous message: rpms/gdal/FC-5 gdal-buildfix.patch, NONE, 1.1 gdal.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/deskbar-applet/devel .cvsignore, 1.20, 1.21 deskbar-applet.spec, 1.45, 1.46 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list