rpms/Inventor/FC-5 Inventor.spec,1.35,1.36
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Sat Mar 17 06:23:28 UTC 2007
- Previous message (by thread): rpms/perl-Devel-StackTrace/FC-5 .cvsignore, 1.4, 1.5 perl-Devel-StackTrace.spec, 1.5, 1.6 sources, 1.4, 1.5
- Next message (by thread): rpms/linux-libertine-fonts/devel .cvsignore, 1.5, 1.6 linux-libertine-fonts.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: corsepiu
Update of /cvs/extras/rpms/Inventor/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9445
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-5/Inventor.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- Inventor.spec 13 Feb 2007 18:54:25 -0000 1.35
+++ Inventor.spec 17 Mar 2007 06:22:55 -0000 1.36
@@ -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 (by thread): rpms/perl-Devel-StackTrace/FC-5 .cvsignore, 1.4, 1.5 perl-Devel-StackTrace.spec, 1.5, 1.6 sources, 1.4, 1.5
- Next message (by thread): rpms/linux-libertine-fonts/devel .cvsignore, 1.5, 1.6 linux-libertine-fonts.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list