SPECS: nucleo.spec - use external Vera, making symlinks

sparky sparky at pld-linux.org
Fri Jul 1 00:56:15 CEST 2005


Author: sparky                       Date: Thu Jun 30 22:56:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use external Vera, making symlinks

---- Files affected:
SPECS:
   nucleo.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/nucleo.spec
diff -u SPECS/nucleo.spec:1.8 SPECS/nucleo.spec:1.9
--- SPECS/nucleo.spec:1.8	Fri Jun 17 00:52:10 2005
+++ SPECS/nucleo.spec	Fri Jul  1 00:56:10 2005
@@ -21,6 +21,7 @@
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+Requires:	fonts-TTF-bitstream-vera
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -65,7 +66,14 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 #some script for MacOS
-rm $RPM_BUILD_ROOT%{_bindir}/nBundle 
+rm $RPM_BUILD_ROOT%{_bindir}/nBundle
+
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
+VERA=$(ls Vera*.ttf)
+for FONT in $VERA; do
+	rm -f $FONT
+	ln -s %{_fontsdir}/TTF/$FONT .
+done
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/06/30 22:56:10  sparky
+- use external Vera, making symlinks
+
 Revision 1.8  2005/06/16 22:52:10  sparky
 - updated to 2005-06-03
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nucleo.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list