From 5708ad6272064d494915a4e647be3b49e575c552557fde5f84a0d18a1546f12e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 25 Jun 2008 19:20:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m17n-lib?expand=0&rev=6 --- rpmlintrc => m17n-lib-rpmlintrc | 0 m17n-lib.changes | 5 +++++ m17n-lib.spec | 34 ++++++++++++++++++--------------- 3 files changed, 24 insertions(+), 15 deletions(-) rename rpmlintrc => m17n-lib-rpmlintrc (100%) diff --git a/rpmlintrc b/m17n-lib-rpmlintrc similarity index 100% rename from rpmlintrc rename to m17n-lib-rpmlintrc diff --git a/m17n-lib.changes b/m17n-lib.changes index 52e64dc..75e7918 100644 --- a/m17n-lib.changes +++ b/m17n-lib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 02:31:25 CEST 2008 - crrodriguez@suse.de + +- disable unusable static libraries + ------------------------------------------------------------------- Thu Feb 28 13:44:11 CET 2008 - schwab@suse.de diff --git a/m17n-lib.spec b/m17n-lib.spec index d9b97a5..e38056f 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -21,7 +21,7 @@ BuildRequires: libjpeg-devel libpng-devel %define appdefdir /usr/X11R6/lib/X11 %endif Version: 1.5.1 -Release: 1 +Release: 42 License: GPL v2 or later; LGPL v2.1 or later; X11/MIT Group: System/I18n/Japanese AutoReqProv: on @@ -32,6 +32,7 @@ Url: http://www.m17n.org/m17n-lib/ # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-lib # cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-db Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-%{version}.tar.gz +Source1: m17n-lib-rpmlintrc Patch: m17n-lib-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Multilingual Text Processing Library for the C Language @@ -49,9 +50,10 @@ Authors: Satoru Tomura %package devel -Summary: multilingual text processing library for the C language -Group: System/I18n/Japanese -Requires: %{name} = %{version} glibc-devel fribidi-devel libotf-devel fontconfig-devel freetype2-devel +License: GPL v2 or later; LGPL v2.1 or later; X11/MIT +Summary: Multilingual text processing library for the C language +Group: Development/Libraries/Other +Requires: %{name} = %{version} glibc-devel xorg-x11-libX11-devel %description devel A multilingual text processing library for the C language @@ -71,15 +73,14 @@ Authors: #find . -name CVS -type d | xargs rm -rf %build -#./bootstrap.sh -#libtoolize --force --automake -#autoreconf --force --install --verbose -./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ - --prefix=/usr \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} \ - --with-pic -make +export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" +%configure --disable-static --with-pic +%{__make} + +%check +export MALLOC_CHECK_=2 +%{__make} check +unset MALLOC_CHECK_ %install make DESTDIR=${RPM_BUILD_ROOT} install @@ -95,6 +96,7 @@ iconv -f EUC-JP -t SJIS < example/M17NEdit.ja \ > $RPM_BUILD_ROOT%{appdefdir}/ja_JP.SJIS/app-defaults/M17NEdit iconv -f EUC-JP -t UTF-8 < example/M17NEdit.ja \ > $RPM_BUILD_ROOT%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit +rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT @@ -106,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING NEWS README ChangeLog -%{_libdir}/lib*.so* +%{_libdir}/lib*.so.* %{_bindir}/* %dir %{appdefdir}/?? %dir %{appdefdir}/??_* @@ -115,11 +117,13 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-, root, root) +%{_libdir}/lib*.so /usr/include/* -%{_libdir}/lib*.*a %{_libdir}/pkgconfig/*.pc %changelog +* Fri Jun 13 2008 crrodriguez@suse.de +- disable unusable static libraries * Thu Feb 28 2008 schwab@suse.de - Update to m17n-lib 1.5.1. * New API layer FLT is created.