rpms/dustin-dustismo-fonts/F-9 dustin-dustismo-fonts-sans-fontconfig.conf, NONE, 1.1 dustin-dustismo-fonts.spec, 1.1, 1.2 dustin-dustismo-fonts-fontconfig.conf, 1.1, NONE

Sven Lankes slankes at fedoraproject.org
Sat Jan 17 23:30:43 UTC 2009


Author: slankes

Update of /cvs/pkgs/rpms/dustin-dustismo-fonts/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11908/F-9

Modified Files:
	dustin-dustismo-fonts.spec 
Added Files:
	dustin-dustismo-fonts-sans-fontconfig.conf 
Removed Files:
	dustin-dustismo-fonts-fontconfig.conf 
Log Message:
compliance with new font packaging guidelines


--- NEW FILE dustin-dustismo-fonts-sans-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Dustismo</family>
    </prefer>
  </alias>
  <alias>
    <family>Dustismo</family>
    <default>
      <family>sans-serif</family>
    </default>
  </alias>
</fontconfig>



Index: dustin-dustismo-fonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dustin-dustismo-fonts/F-9/dustin-dustismo-fonts.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dustin-dustismo-fonts.spec	7 Jan 2009 19:56:40 -0000	1.1
+++ dustin-dustismo-fonts.spec	17 Jan 2009 23:30:13 -0000	1.2
@@ -6,7 +6,7 @@
 
 Name:          %{fontname}-fonts
 Version:       20030318
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       General purpose sans-serif font with bold, italic and bold-italic variations
 
 Group:         User Interface/X
@@ -15,7 +15,7 @@
 # Actual download URL
 #URL:           http://ftp.de.debian.org/debian/pool/main/t/ttf-dustin/ttf-dustin_20030517.orig.tar.gz 
 Source0:       Dustismo.zip
-Source1:       %{name}-fontconfig.conf
+Source1:       %{name}-sans-fontconfig.conf
 Source2:       %{name}-roman-fontconfig.conf
 BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -25,8 +25,6 @@
 %description
 %common_desc
 
-%_font_pkg -f %{fontconf}.conf dustismo_bold_italic.ttf dustismo_bold.ttf dustismo_italic.ttf Dustismo.ttf
-
 %package common
 Summary:       Common files for %{name}
 Group:         User Interface/X
@@ -37,12 +35,28 @@
 
 This package consists of files used by other %{name} packages.
 
-%package       roman
+%package -n %{fontname}-sans-fonts
+Summary:       General purpos sans-serif fonts
+Group:         User Interface/X
+Requires:      %{name}-common = %{version}-%{release}
+Provides:      %{name} = 20030318-3
+Obsoletes:     %{name} < 20030318-3
+
+%description -n %{fontname}-sans-fonts
+%common_desc
+
+General purpose sans-serif font with bold, italic and bold-italic variations
+
+%_font_pkg -n sans -f %{fontconf}-sans.conf dustismo_bold_italic.ttf dustismo_bold.ttf dustismo_italic.ttf Dustismo.ttf
+
+%package -n %{fontname}-roman-fonts
 Summary:       General purpose serif font
 Group:         User Interface/X
 Requires:      %{name}-common = %{version}-%{release}
+Provides:      %{name}-roman = 20030318-3
+Obsoletes:     %{name}-roman < 20030318-3
 
-%description roman
+%description -n %{fontname}-roman-fonts
 %common_desc
 
 General purpose serif font with bold, italic and bold-italic variations
@@ -63,10 +77,10 @@
 
 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
 
-install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
+install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans.conf
 install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-roman.conf
 
-for fontconf in %{fontconf}.conf %{fontconf}-roman.conf ; do
+for fontconf in %{fontconf}-sans.conf %{fontconf}-roman.conf ; do
   ln -s %{_fontconfig_templatedir}/$fontconf %{buildroot}%{_fontconfig_confdir}/$fontconf
 done
 
@@ -80,10 +94,13 @@
 %dir %{_fontdir}
 
 %changelog
-* Wed Dec 07 2009 Sven Lankes <sven at lank.es> - 20030318-2
+* Sat Jan 17 2009 Sven Lankes <sven at lank.es> - 20030318-3
+- rename according to new naming-guidelines
+
+* Wed Jan 07 2009 Sven Lankes <sven at lank.es> - 20030318-2
 - Change package-name to dustin-dustistmo-fonts
 
-* Sun Dec 04 2009 Sven Lankes <sven at lank.es> - 20030318-1
+* Sun Jan 04 2009 Sven Lankes <sven at lank.es> - 20030318-1
 - Use newer debian-source as source
 - Convert to -multi spec
 


--- dustin-dustismo-fonts-fontconfig.conf DELETED ---




More information about the Fedora-fonts-bugs-list mailing list