Hello community,

here is the log from the commit of package cantarell-fonts for openSUSE:Factory 
checked in at 2012-09-14 12:15:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cantarell-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.cantarell-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cantarell-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/cantarell-fonts/cantarell-fonts.changes  
2012-06-12 07:07:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cantarell-fonts.new/cantarell-fonts.changes     
2012-09-14 12:15: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:
------------------
++++++ cantarell-fonts.spec ++++++
--- /var/tmp/diff_new_pack.itja2w/_old  2012-09-14 12:15:07.000000000 +0200
+++ /var/tmp/diff_new_pack.itja2w/_new  2012-09-14 12:15:07.000000000 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%define cantarell_dir %{_fontsdir}/cantarell
+
 Name:           cantarell-fonts
 Version:        0.0.9
 Release:        0
@@ -24,11 +26,13 @@
 Group:          System/X11/Fonts
 Url:            http://live.gnome.org/CantarellFonts
 Source:         
http://download.gnome.org/sources/cantarell-fonts/0.0/%{name}-%{version}.tar.xz
+BuildRequires:  dos2unix
+BuildRequires:  fontpackages-devel
 # needed for directory ownership
 BuildRequires:  fontconfig
 BuildRequires:  pkg-config
 BuildRequires:  xz
-Requires(pre):  %suseconfig_fonts_prereq
+%reconfigure_fonts_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -41,25 +45,22 @@
 
 %build
 %configure
+dos2unix COPYING
 
 %install
-%make_install configdir=%{_sysconfdir}/fonts/conf.avail
-mkdir -p %{buildroot}/%{_sysconfdir}/fonts/conf.d
-ln -s ../conf.avail/31-cantarell.conf %{buildroot}/%{_sysconfdir}/fonts/conf.d/
-
-%post
-%run_suseconfig_fonts
+%make_install configdir=%{_fontsconfavaildir}
+mkdir -p %{buildroot}%{_fontsconfddir}
+ln -s ../conf.avail/31-cantarell.conf %{buildroot}%{_fontsconfddir}
 
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %files
 %defattr(-,root,root)
 %doc README COPYING
-%{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
-%config(noreplace) %{_sysconfdir}/fonts/conf.d/31-cantarell.conf
-%dir %{_datadir}/fonts/cantarell
-%{_datadir}/fonts/cantarell/Cantarell-Bold.otf
-%{_datadir}/fonts/cantarell/Cantarell-Regular.otf
+%{_fontsconfavaildir}/31-cantarell.conf
+%config(noreplace) %{_fontsconfddir}/31-cantarell.conf
+%dir %{cantarell_dir}
+%{cantarell_dir}/Cantarell-Bold.otf
+%{cantarell_dir}/Cantarell-Regular.otf
 
 %changelog


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to