From a90c8b23db9a8315139bfd2d8761f2d0815a27e61081d059dc0e6e4a83181448 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 3 Mar 2009 22:15:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libotf?expand=0&rev=5 --- libotf.changes | 5 +++++ libotf.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/libotf.changes b/libotf.changes index 173b663..4125a17 100644 --- a/libotf.changes +++ b/libotf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 3 22:29:54 CET 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + ------------------------------------------------------------------- Fri Oct 31 16:30:36 CET 2008 - schwab@suse.de diff --git a/libotf.spec b/libotf.spec index 2a53abb..c7d6202 100644 --- a/libotf.spec +++ b/libotf.spec @@ -1,7 +1,7 @@ # # spec file for package libotf (Version 0.9.7) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -21,7 +21,7 @@ Name: libotf BuildRequires: freetype2-devel xorg-x11-devel Version: 0.9.7 -Release: 2 +Release: 3 License: LGPL v2.1 or later Group: System/I18n/Japanese AutoReqProv: on @@ -59,21 +59,20 @@ Authors: Kenichi Handa %prep -%setup -q -n %{name}-%{version} +%setup -q %build ./autogen.sh autoreconf --force --install --verbose -./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ - --prefix=/usr \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} +%configure --disable-static --with-pic make %{?jobs:-j%jobs} %install make DESTDIR=${RPM_BUILD_ROOT} install +%{__rm} -f %{buildroot}%{_libdir}/*.la %clean +rm -rf %{buildroot} %post -p /sbin/ldconfig @@ -89,13 +88,14 @@ make DESTDIR=${RPM_BUILD_ROOT} install %defattr(-, root, root) /usr/include/* %{_libdir}/libotf.so -%{_libdir}/libotf.*a %{_libdir}/pkgconfig/libotf.pc %changelog +* Tue Mar 03 2009 crrodriguez@suse.de +- remove static libraries and "la" files * Fri Oct 31 2008 schwab@suse.de - Don't disable strict aliasing. -* Sat Apr 19 2008 schwab@suse.de +* Fri Apr 18 2008 schwab@suse.de - Update to libotf 0.9.7. * src/otfdrive.c (gstring_subst): If a glyph is changed, set the character code to 0, and update GlyphClass. @@ -113,7 +113,7 @@ make DESTDIR=${RPM_BUILD_ROOT} install • src/otfdrive.c (gstring_subst): Remove a glyph if it is ignored because of 0 glyph ID. - added ldconfig to post scripts. -* Wed Jan 10 2007 mfabian@suse.de +* Tue Jan 09 2007 mfabian@suse.de - update to 0.9.5.20070109: make it possible to link with C++ programs (Ed Trager, Kenichi Handa).