Hello community,
here is the log from the commit of package google-lekton-fonts for
openSUSE:Factory checked in at 2012-09-14 12:25:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-lekton-fonts (Old)
and /work/SRC/openSUSE:Factory/.google-lekton-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-lekton-fonts", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/google-lekton-fonts/google-lekton-fonts.changes
2012-05-26 09:25:27.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.google-lekton-fonts.new/google-lekton-fonts.changes
2012-09-14 12:25:06.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+ (see openFATE#313536);
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-lekton-fonts.spec ++++++
--- /var/tmp/diff_new_pack.n0klKQ/_old 2012-09-14 12:25:20.000000000 +0200
+++ /var/tmp/diff_new_pack.n0klKQ/_new 2012-09-14 12:25:20.000000000 +0200
@@ -17,18 +17,19 @@
# Definitions
-%define fontdir %{_datadir}/fonts/truetype
%define fontname lekton
Name: google-lekton-fonts
Version: 22
Release: 0
-License: OFL-1.1
Summary: Monospaced Typewriter Font
-Url: http://www.lekton.info/
+License: OFL-1.1
Group: System/X11/Fonts
+Url: http://www.lekton.info/
Source0: %{fontname}-%{version}.tar.bz2
BuildRequires: dos2unix
+BuildRequires: fontpackages-devel
+%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -46,19 +47,15 @@
# Nothing to do
%install
-mkdir -p %{buildroot}%{fontdir}
-cp *.ttf %{buildroot}%{fontdir}
-
-%post
-%run_suseconfig_fonts
+mkdir -p %{buildroot}%{_ttfontsdir}
+cp *.ttf %{buildroot}%{_ttfontsdir}
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
%files
%defattr(-, root, root)
%doc METADATA FONTLOG.txt OFL.txt
-%dir %{fontdir}
-%{fontdir}/*.ttf
+%dir %{_ttfontsdir}
+%{_ttfontsdir}/*.ttf
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]