rpms/dejavu-fonts/devel import.log, NONE, 1.1 dejavu-fonts.spec, 1.81, 1.82

Nicolas Mailhot (nim) fedora-extras-commits at redhat.com
Fri Jul 11 20:00:20 UTC 2008


Author: nim

Update of /cvs/extras/rpms/dejavu-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32381/devel

Modified Files:
	dejavu-fonts.spec 
Added Files:
	import.log 
Log Message:
⌖ Fedora 10 alpha general package cleanup


--- NEW FILE import.log ---
dejavu-fonts-2_25-2_fc10:HEAD:dejavu-fonts-2.25-2.fc10.src.rpm:1215806350


Index: dejavu-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/dejavu-fonts/devel/dejavu-fonts.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- dejavu-fonts.spec	19 May 2008 20:50:26 -0000	1.81
+++ dejavu-fonts.spec	11 Jul 2008 19:59:30 -0000	1.82
@@ -14,17 +14,17 @@
 %define Blocks          %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/Blocks.txt
 %define UnicodeData     %(eval "$(%{__perl} -V:privlibexp)"; echo $privlibexp)/unicore/UnicodeData.txt
 
-Name:      %{fontname}-fonts
-Version:   2.25
-Release:   1%{?alphatag}%{?dist}
-Summary:   DejaVu fonts, mature typefaces
-
-Group:     User Interface/X
-License:   Modifiable & redistributable, with naming restrictions
-URL:       http://%{fontname}.sf.net/
-Source0:   %{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
+Name:    %{fontname}-fonts
+Version: 2.25
+Release: 2%{?alphatag}%{?dist}
+Summary: DejaVu fonts, mature typefaces
+
+Group:   User Interface/X
+License: Modifiable & redistributable, with naming restrictions
+URL:     http://%{fontname}.sf.net/
+Source0: %{?!alphatag:http://downloads.sourceforge.net/%{fontname}}%{?alphatag:%{fontname}.sourceforge.net/snapshots}/%{archivename}.tar.bz2
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 # Older fontforge versions will not work due to sfd format changes
 BuildRequires: fontforge >= 20080429
 BuildRequires: perl(Font::TTF)
@@ -33,7 +33,7 @@
 BuildArch: noarch
 
 %description
-The DejaVu fonts are a font family based on the "Bitstream Vera" fonts release
+The DejaVu fonts are a font family based on the “Bitstream Vera” fonts release
 1.10. Its purpose is to provide a wider range of characters while maintaining
 the original look and feel through the process of collaborative development.
 
@@ -87,11 +87,9 @@
 %install
 rm -fr %{buildroot}
 
-# Fonts
 install -m 0755 -d %{buildroot}%{fontdir}
-install -m 0644 -p build/*.ttf  %{buildroot}%{fontdir}
+install -m 0644 -p build/*.ttf %{buildroot}%{fontdir}
 
-# Fontconfig tweaks
 install -m 0755 -d %{buildroot}%{fontconfdir}
 install -m 0644 -p fontconfig/*conf %{buildroot}%{fontconfdir}
 
@@ -101,48 +99,41 @@
 
 
 %post
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{fontdir}
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %postun
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{fontdir}
-  fi
+if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %post experimental
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{fontdir}
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %postun experimental
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{fontdir}
-  fi
+if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %post -n %{fontname}-lgc-fonts
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{fontdir}
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %postun -n %{fontname}-lgc-fonts
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{fontdir}
-  fi
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
-
 %files
 %defattr(0644,root,root,0755)
 %doc AUTHORS BUGS LICENSE NEWS README
@@ -151,7 +142,7 @@
 %config(noreplace) %{fontconfdir}/20-unhint-small-%{fontname}.conf
 %config(noreplace) %{fontconfdir}/57-%{fontname}.conf
 
-%dir %{fontdir}
+%dir %{fontdir}/
 %{fontdir}/*.ttf
 %exclude %{fontdir}/DejaVu*Condensed*.ttf
 %exclude %{fontdir}/DejaVu*ExtraLight*.ttf
@@ -171,6 +162,7 @@
 
 %exclude %{fontdir}/DejaVuLGC*.ttf
 
+
 %files -n %{fontname}-lgc-fonts
 %defattr(0644,root,root,0755)
 %doc AUTHORS BUGS LICENSE NEWS README
@@ -179,11 +171,15 @@
 %config(noreplace) %{fontconfdir}/20-unhint-small-%{fontname}-lgc.conf
 %config(noreplace) %{fontconfdir}/58-%{fontname}-lgc.conf
 
-%dir %{fontdir}
+%dir %{fontdir}/
 %{fontdir}/DejaVuLGC*.ttf
 
 
 %changelog
+* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
+- 2.25-2
+⌖ Fedora 10 alpha general package cleanup
+
 * Mon May 19 2008 <nicolas.mailhot at laposte.net>
 - 2.25-1
 ❋ 2.25 final




More information about the fedora-extras-commits mailing list