Hello community,

here is the log from the commit of package ttf2pt1 for openSUSE:Factory checked 
in at 2017-11-17 10:54:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ttf2pt1 (Old)
 and      /work/SRC/openSUSE:Factory/.ttf2pt1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ttf2pt1"

Fri Nov 17 10:54:23 2017 rev:17 rq:541548 version:3.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ttf2pt1/ttf2pt1.changes  2017-01-24 
10:41:26.605887040 +0100
+++ /work/SRC/openSUSE:Factory/.ttf2pt1.new/ttf2pt1.changes     2017-11-17 
10:59:19.270221781 +0100
@@ -1,0 +2,14 @@
+Mon Nov 13 16:52:41 UTC 2017 - mplus...@suse.com
+
+- Run spec cleaner
+- Use fdupes
+- Use correct version
+- Update source urls to working ones
+
+-------------------------------------------------------------------
+Mon Nov 13 15:57:15 UTC 2017 - dims...@opensuse.org
+
+- Rename README.SuSE to README.SUSE, adhering to the correct
+  spelling.
+
+-------------------------------------------------------------------

Old:
----
  README.SuSE
  ttf2pt1-3.4.4.tar.bz2
  ttf2pt1-chinese-3.4.0.tar.bz2

New:
----
  README.SUSE
  ttf2pt1-3.4.4.tgz
  ttf2pt1-chinese-3.4.0.tgz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ttf2pt1.spec ++++++
--- /var/tmp/diff_new_pack.XpbWpH/_old  2017-11-17 10:59:22.122117404 +0100
+++ /var/tmp/diff_new_pack.XpbWpH/_new  2017-11-17 10:59:22.122117404 +0100
@@ -17,23 +17,22 @@
 
 
 Name:           ttf2pt1
-BuildRequires:  freetype2-devel
-Requires:       t1utils
+Version:        3.4.4
+Release:        0
 Summary:        True Type Font to PostScript Type 1 font converter
 License:        BSD-3-Clause
 Group:          Productivity/Publishing/PS
-Version:        344
-Release:        0
 Url:            http://ttf2pt1.sourceforge.net/
-# original Sources are .tgz
-Source0:        http://download.sourceforge.net/ttf2pt1/ttf2pt1-3.4.4.tar.bz2
-Source1:        
http://download.sourceforge.net/ttf2pt1/ttf2pt1-chinese-3.4.0.tar.bz2
-Source2:        README.SuSE
+Source0:        http://download.sourceforge.net/ttf2pt1/ttf2pt1-%{version}.tgz
+Source1:        
http://download.sourceforge.net/ttf2pt1/ttf2pt1-chinese-3.4.0.tgz
+Source2:        README.SUSE
 Patch0:         %{name}.diff
 Patch1:         ttf2pt1-3.4.1-freetype2.diff
 Patch2:         freetype-2.1.7.patch
 Patch3:         ttf2pt1-3.4.4-fix-convert.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
+BuildRequires:  freetype2-devel
+Requires:       t1utils
 
 %description
 This is a collection of tools and scripts that allow to convert True
@@ -41,39 +40,39 @@
 fonts, so they can be used in X11 and Ghostscript.
 
 %prep 
-%setup -n %{name}-3.4.4 -a 1
+%setup -q -a 1
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
 %build
-make CFLAGS_SYS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+make %{?_smp_mflags} CFLAGS_SYS="%{optflags} -fno-strict-aliasing"
 
 %install
-make INSTDIR=$RPM_BUILD_ROOT/usr MANDIR=$RPM_BUILD_ROOT/%{_mandir} install
-mkdir -p $RPM_BUILD_ROOT/etc/%{name}
-cp -ai $RPM_BUILD_ROOT/usr/share/%{name}/scripts/convert.cfg.sample \
-       $RPM_BUILD_ROOT/etc/%{name}/convert.cfg
-cp -a ttf2pt1-chinese-*/*.map $RPM_BUILD_ROOT/usr/share/%{name}/maps/
-rm -f  
$RPM_BUILD_ROOT/usr/share/%{name}/scripts/{inst_dir,inst_file,mkrel,html2man}
-rm -rf  $RPM_BUILD_ROOT/usr/share/%{name}/app/{RPM,X11}
-mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/{app,encodings,other}
+make INSTDIR=%{buildroot}%{_prefix} MANDIR=%{buildroot}/%{_mandir} install
+mkdir -p %{buildroot}%{_sysconfdir}/%{name}
+cp -ai %{buildroot}%{_datadir}/%{name}/scripts/convert.cfg.sample \
+       %{buildroot}%{_sysconfdir}/%{name}/convert.cfg
+cp -a ttf2pt1-chinese-*/*.map %{buildroot}%{_datadir}/%{name}/maps/
+rm -f  
%{buildroot}%{_datadir}/%{name}/scripts/{inst_dir,inst_file,mkrel,html2man}
+rm -rf  %{buildroot}%{_datadir}/%{name}/app/{RPM,X11}
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}/{app,encodings,other}
 for i in COPYRIGHT FONTS* README* CHANGES* app encodings other
 do
-    ln -s /usr/share/%{name}/$i $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/$i
+    ln -s %{_datadir}/%{name}/$i %{buildroot}%{_defaultdocdir}/%{name}/$i
 done
-cp -a %{S:2} $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
-sed -i -e 's!%{buildroot}!!' $RPM_BUILD_ROOT/%{_mandir}/man1/*
+cp -a %{SOURCE2} %{buildroot}%{_defaultdocdir}/%{name}
+sed -i -e 's!%{buildroot}!!' %{buildroot}/%{_mandir}/man1/*
+%fdupes -s %{buildroot}
 
 %files
-%defattr(-, root, root)
 %doc %{_defaultdocdir}/%{name}
-%dir /etc/%{name}
-%config(noreplace) /etc/%{name}/*
-/usr/bin/*
-/usr/lib/ttf2pt1
-/usr/share/%{name}
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/*
+%{_bindir}/*
+%{_prefix}/lib/ttf2pt1
+%{_datadir}/%{name}
 %{_mandir}/man1/*
 
 %changelog

++++++ README.SUSE ++++++
Quick intro
-----------
This package allows the conversion of TTF fonts to Postscript Type 1 (pfa 
or pfb) fonts. 
There is a script, which automatically converts all fonts found in a
directory, writes the PS fonts into another directory and automatically
creates the X11 managemant files fonts.scale and updates ghostscripts font 
list.
If you want to use it, go to /usr/share/ttf2pt1 and configure convert.cfg
accordingly. Make sure the ouput path exists. Now call
./convert
Depending on the number of fonts etc. it will take some minutes.
Now you can add the output dir to the X11 path. To test the fonts, use 
xset +fp to add the new font directory and use xfontsel to have a look at
the fonts. If everything works, you can add this directory permanently by
editing /etc/XF86Config.

If your lucky, everything works as described here. If not, you have to read
the rest of the docu in this dir.

Your SUSE Team.

Reply via email to