rpms/linux-libertine-fonts/devel linux-libertine-fonts-fontconfig.conf, NONE, 1.1 sources, 1.9, 1.10 .cvsignore, 1.9, 1.10 linux-libertine-fonts.spec, 1.12, 1.13

Kevin Fenzi kevin at fedoraproject.org
Wed Jul 15 06:03:39 UTC 2009


Author: kevin

Update of /cvs/extras/rpms/linux-libertine-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21132

Modified Files:
	sources .cvsignore linux-libertine-fonts.spec 
Added Files:
	linux-libertine-fonts-fontconfig.conf 
Log Message:
Upgrade to 4.4.1
Fix to match current font guidelines



--- NEW FILE linux-libertine-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
  <alias>
    <family>Linux Libertine</family>
    <accept>
      <family>Linux Libertine O</family>
    </accept>
  </alias>
</fontconfig>


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/linux-libertine-fonts/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	21 Nov 2008 13:14:38 -0000	1.9
+++ sources	15 Jul 2009 06:03:06 -0000	1.10
@@ -1 +1 @@
-e7357378dc803cf6a2823cae032caf24  LinLibertineSRC-4.1.8.tgz
+a0fc3c60fcfdc6b7261f746043efe980  LinLibertineSRC-4.4.1.tgz


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/linux-libertine-fonts/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- .cvsignore	21 Nov 2008 13:14:37 -0000	1.9
+++ .cvsignore	15 Jul 2009 06:03:06 -0000	1.10
@@ -1 +1 @@
-LinLibertineSRC-4.1.8.tgz
+LinLibertineSRC-4.4.1.tgz


Index: linux-libertine-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/linux-libertine-fonts/devel/linux-libertine-fonts.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- linux-libertine-fonts.spec	15 Mar 2009 18:46:06 -0000	1.12
+++ linux-libertine-fonts.spec	15 Jul 2009 06:03:06 -0000	1.13
@@ -1,33 +1,35 @@
-%define archivename     LinLibertineSRC
-%define fontdir         %{_datadir}/fonts/linux-libertine
-
-
-Name:          linux-libertine-fonts
-Version:       4.1.8
-Release:       3%{?dist}
-Summary:       Linux Libertine Open Fonts
-Group:         User Interface/X
-License:       GPLv2+ with exceptions or OFL
-URL:           http://linuxlibertine.sf.net
-Source:        http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:     noarch
-BuildRequires: fontforge
-
+%global fontname linux-libertine
+%global fontconf 75-%{fontname}.conf
+%global archivename     LinLibertineSRC
+
+Name:           %{fontname}-fonts
+Version:        4.4.1
+Release:        1%{?dist}
+Summary:        Linux Libertine Open Fonts
+
+Group:          User Interface/X
+License:        GPLv2+ with exceptions or OFL
+URL:            http://linuxlibertine.sf.net
+Source0:        http://download.sourceforge.net/sourceforge/linuxlibertine/LinLibertineSRC-4.4.1.tgz
+Source1:        %{name}-fontconfig.conf
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildArch:      noarch
+BuildRequires:  fontpackages-devel
+BuildRequires:  fontforge
+Requires:       fontpackages-filesystem
 
 %description
 The Linux Libertine Open Fonts are a TrueType font family for practical
 use in documents. They were created to provide a free alternative to
 proprietary standard fonts.
 
-
 %prep
 %setup -q -n %{archivename}
 sed -i -e 's/\r//' OFL.txt
 
-
 %build
-fontforge -script "-" *.sfd <<EOF
+fontforge -lang=ff -script "-" *.sfd <<EOF
 i = 1
 while (i < \$argc)
   Open(\$argv[i], 1)
@@ -46,39 +48,30 @@ while (i < \$argc)
 endloop
 EOF
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
-install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
-
+rm -fr %{buildroot}
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+                   %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} \
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%post
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{fontdir} || :
-fi
-
-
-%postun
-if [ $1 -eq 0 ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache %{fontdir} || :
-  fi
-fi
-
-
-%files
-%defattr(644,root,root,755)
-%doc Readme *.txt
-%dir %{fontdir}
-%{fontdir}/*.ttf
+rm -fr %{buildroot}
 
+%_font_pkg -f %{fontconf} *.ttf
+%doc OFL.txt GPL.txt ChangeLog.txt LICENCE.txt Readme Readme-TEX.txt
 
 %changelog
+* Tue Jul 14 2009 Kevin Fenzi <kevin at tummy.com> - 4.4.1-1
+- Upgrade to 4.4.1
+- Fix to match current font guidelines
+
 * Sun Mar 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 4.1.8-3
 — Make sure F11 font packages have been built with F11 fontforge
 




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