Hello community, here is the log from the commit of package freetype for openSUSE:Factory checked in at 2012-02-16 16:12:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freetype (Old) and /work/SRC/openSUSE:Factory/.freetype.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freetype", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/freetype/freetype.changes 2011-09-23 01:58:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.freetype.new/freetype.changes 2012-02-16 16:12:55.000000000 +0100 @@ -1,0 +2,23 @@ +Tue Feb 14 10:18:08 UTC 2012 - [email protected] + +- license update: SUSE-Freetype or GPL-2.0+ + + +------------------------------------------------------------------- +Sun Feb 5 18:06:24 UTC 2012 - [email protected] + +- Split main package into libttf2 (shared library policy) and + a devel subpackage + +------------------------------------------------------------------- +Thu Dec 22 02:06:11 UTC 2011 - [email protected] + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + +------------------------------------------------------------------- +Tue Dec 20 20:31:18 UTC 2011 - [email protected] + +- replace suse_update_config with patch to update the files, + this package really needs to disappear soon + +------------------------------------------------------------------- New: ---- update-config-files.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freetype.spec ++++++ --- /var/tmp/diff_new_pack.InVTbh/_old 2012-02-16 16:12:56.000000000 +0100 +++ /var/tmp/diff_new_pack.InVTbh/_new 2012-02-16 16:12:56.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package freetype (Version 1.3.1) +# spec file for package freetype # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,14 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: freetype -BuildRequires: texlive-bin-devel texlive-devel xorg-x11-devel -License: The FreeType License (BSD-like) -Group: System/Libraries -AutoReqProv: on +BuildRequires: autoconf +BuildRequires: texlive-bin-devel +BuildRequires: texlive-devel +BuildRequires: xorg-x11-devel # bug437293 %ifarch ppc64 Obsoletes: freetype-64bit @@ -30,9 +28,11 @@ # PreReq: fileutils Version: 1.3.1 -Release: 1400 +Release: 0 Url: http://www.freetype.org Summary: TrueType Font Engine +License: SUSE-Freetype or GPL-2.0+ +Group: System/Libraries Source: ftp://ftp.freetype.org/pub/freetype1/freetype-%{version}.tar.bz2 Source2: baselibs.conf Patch0: freetype-tools-1.3.1.patch @@ -40,22 +40,31 @@ Patch2: freetype-%{version}-nopatent.patch Patch3: freetype-%{version}-gcc.patch Patch4: freetype-%{version}-kpathsea.patch +Patch5: update-config-files.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library for working with TrueType Fonts. Documentation is in the /usr/share/doc/packages/freetype directory. +%package -n libttf2 +Summary: TrueType Font Engine +Group: System/Libraries +%description -n libttf2 +A library for working with TrueType Fonts. Documentation is in the +/usr/share/doc/packages/freetype directory. -Authors: --------- - David Turner <[email protected]> - Robert Wilhelm <[email protected]> - Werner Lemberg <[email protected]> +%package devel +Summary: Development files for the TrueType Font Engine +Group: Development/Libraries/C and C++ +Requires: libttf2 = %version + +%description devel +A library for working with TrueType Fonts. Documentation is in the +/usr/share/doc/packages/freetype directory. %package -n freetype-tools -License: MIT Summary: Bundled Tests, Demos and Tools for FreeType (Needed for CJK-LaTeX) Group: Development/Libraries/C and C++ Requires: freetype @@ -71,14 +80,6 @@ for testing and demonstration purposes as well as some contributed utilities, such as ttf2pk, ttf2bdf, ttf2pfb, and ttfbanner. - - -Authors: --------- - David Turner <[email protected]> - Robert Wilhelm <[email protected]> - Werner Lemberg <[email protected]> - %prep %setup %patch0 -p1 @@ -86,13 +87,14 @@ %patch2 %patch3 %patch4 +%patch5 -p1 %build # fix build with newer glibc sed "s:getline:getline_nonlibc:" -i contrib/*/*.{c,h} -# update config.{guess,sub} -%{?suse_update_config:%{suse_update_config -f contrib/ttf2pk contrib/ttf2bdf contrib/ttfbanner contrib/ttf2pfb}} export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + +# Neither %%configure nor %%_smp_mflags is supported in this package.. ./configure --prefix=/usr \ --with-locale-dir=/usr/share/locale \ --libdir=%{_libdir} \ @@ -166,14 +168,12 @@ rm -f $RPM_BUILD_ROOT/usr/bin/t1asm # don't pack getafm, because it is in the package psutils: rm -f $RPM_BUILD_ROOT/usr/bin/getafm +rm -f "%buildroot/%_libdir"/*.la %find_lang %{name} -%clean -rm -rf $RPM_BUILD_ROOT +%post -n libttf2 -p /sbin/ldconfig -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%postun -n libttf2 -p /sbin/ldconfig %post -n freetype-tools mkdir -p var/adm/SuSEconfig ; touch var/adm/SuSEconfig/run-texhash @@ -188,12 +188,6 @@ %files -f %{name}.lang %defattr(-,root,root) %doc README license.txt docs/FAQ docs/TODO docs/*.txt -/usr/include/freetype -/usr/include/freetype/extend -%{_libdir}/libttf.la -%{_libdir}/libttf.so -%{_libdir}/libttf.so.2 -%{_libdir}/libttf.so.2.2.0 /usr/bin/ft1view /usr/bin/ft1timer /usr/bin/ft1lint @@ -206,6 +200,17 @@ /usr/bin/ft1sbit /usr/bin/ft1strtto +%files -n libttf2 +%defattr(-,root,root) +%{_libdir}/libttf.so.2 +%{_libdir}/libttf.so.2.2.0 + +%files devel +%defattr(-,root,root) +/usr/include/freetype +/usr/include/freetype/extend +%{_libdir}/libttf.so + %files -n freetype-tools %defattr(-, root, root) %doc ./freetype-tools-doc ++++++ update-config-files.diff ++++++ ++++ 3221 lines (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
