rpms/bitstream-vera-fonts/devel import.log, NONE, 1.1 bitstream-vera-fonts.spec, 1.9, 1.10

Nicolas Mailhot nim at fedoraproject.org
Wed Dec 17 19:15:49 UTC 2008


Author: nim

Update of /cvs/extras/rpms/bitstream-vera-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11823/devel

Modified Files:
	bitstream-vera-fonts.spec 
Added Files:
	import.log 
Log Message:
update for new fonts guidelines


--- NEW FILE import.log ---
bitstream-vera-fonts-1_10-12_fc11:HEAD:bitstream-vera-fonts-1.10-12.fc11.src.rpm:1229541266


Index: bitstream-vera-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/bitstream-vera-fonts/devel/bitstream-vera-fonts.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- bitstream-vera-fonts.spec	10 Aug 2007 20:50:54 -0000	1.9
+++ bitstream-vera-fonts.spec	17 Dec 2008 19:15:19 -0000	1.10
@@ -1,22 +1,92 @@
-%define archivename     ttf-bitstream-vera
-%define fontdir         %{_datadir}/fonts/bitstream-vera
+%define fontname    bitstream-vera
+%define archivename ttf-bitstream-vera
+
+%define common_desc \
+The Vera fonts are high-quality Latin fonts donated by Bitstream. \
+These fonts have been released under a liberal license, see the  \
+licensing FAQ in COPYRIGHT.TXT or the online up-to-date version \
+at %{url} for details.
+
+Name:    %{fontname}-fonts
+Version: 1.10
+Release: 12%{?dist}
+Summary: Bitstream Vera fonts
 
-Name:      bitstream-vera-fonts
-Version:   1.10
-Release:   8
-Summary:   Bitstream Vera Fonts
 Group:     User Interface/X
 License:   Bitstream Vera
 URL:       http://www.gnome.org/fonts/
 Source:    ftp://ftp.gnome.org/pub/GNOME/sources/%{archivename}/%{version}/%{archivename}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-BuildArch: noarch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildArch:     noarch
+BuildRequires: fontpackages-devel
 
 %description
-The Vera fonts are high-quality Latin fonts donated by Bitstream.
-These fonts have been released under a liberal license, see the 
-licensing FAQ in COPYRIGHT.TXT or the online up-to-date version 
-at %{url} for details.
+%common_desc
+
+
+%package compat
+Summary: Bitstream Vera, compatibility
+Group:   User Interface/X
+
+Obsoletes: bitstream-vera-fonts < 1.10-9
+Requires:  %{name}-sans, %{name}-serif, %{name}-sans-mono
+
+%description compat
+This package only exists to help transition pre 1.10-9 Bitstream Vera users to
+the new package split. It will be removed after one distribution release cycle,
+please do not reference it or depend on it in any way.
+
+
+%package common
+Summary:  Bitstream Vera, common files (documentation…)
+Group:    User Interface/X
+Requires: fontpackages-filesystem
+
+%description common
+%common_desc
+
+This package consists of files used by other %{name} packages.
+
+
+%package  sans
+Summary:  Bitstream Vera, variable-width sans-serif font faces
+Group:    User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description sans
+%common_desc
+
+This package consists of the Bitstream Vera sans-serif variable-width font
+faces.
+
+%_font_pkg -n sans Vera.ttf VeraBd.ttf VeraIt.ttf VeraBI.ttf
+
+
+%package  serif
+Summary:  Bitstream Vera, variable-width serif font faces
+Group:    User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description serif
+%common_desc
+
+This package consists of the Bitstream Vera serif variable-width font faces.
+
+%_font_pkg -n serif VeraSe*ttf
+
+
+%package  sans-mono
+Summary:  Bitstream Vera, monospace sans-serif font faces
+Group:    User Interface/X
+Requires: %{name}-common = %{version}-%{release}
+
+%description sans-mono
+%common_desc
+
+This package consists of the Bitstream Vera sans-serif monospace font faces.
+
+%_font_pkg -n sans-mono VeraMo*ttf
 
 
 %prep
@@ -25,38 +95,35 @@
 %build
 
 %install
-/bin/rm -rf $RPM_BUILD_ROOT
+rm -fr %{buildroot}
 
-#fonts
-install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
-install -m 0644 *.ttf  $RPM_BUILD_ROOT%{fontdir}
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
 
 
 %clean
-/bin/rm -rf $RPM_BUILD_ROOT
+rm -fr %{buildroot}
 
 
-%post
-if [ -x %{_bindir}/fc-cache ]; then 
-  %{_bindir}/fc-cache %{_datadir}/fonts
-fi
+%files compat
 
-%postun
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then 
-    %{_bindir}/fc-cache %{_datadir}/fonts
-  fi
-fi
 
-
-%files
+%files common
 %defattr(0644,root,root,0755)
 %doc *.TXT
-%dir %{fontdir}
-%{fontdir}/*.ttf
+
+%dir %{_fontdir}
 
 
 %changelog
+* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
+- 1.10-12
+ᛤ ‘rpm-fonts’ renamed to “fontpackages”
+
+* Fri Nov 14 2008 <nicolas.mailhot at laposte.net>
+- 1.10-11
+▤ Rebuild using new « rpm-fonts »
+
 * Fri Aug 10 2007 Matthias Clasen <mclasen at redhat.com> - 1.10-8
 - Update license field
 - Shorten description line




More information about the fonts-bugs mailing list