OBS User unknown 2008-06-25 19:20:50 +00:00 committed by Git OBS Bridge
parent 035c0c4411
commit 5708ad6272
3 changed files with 24 additions and 15 deletions

View File

@ -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 Thu Feb 28 13:44:11 CET 2008 - schwab@suse.de

View File

@ -21,7 +21,7 @@ BuildRequires: libjpeg-devel libpng-devel
%define appdefdir /usr/X11R6/lib/X11 %define appdefdir /usr/X11R6/lib/X11
%endif %endif
Version: 1.5.1 Version: 1.5.1
Release: 1 Release: 42
License: GPL v2 or later; LGPL v2.1 or later; X11/MIT License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
Group: System/I18n/Japanese Group: System/I18n/Japanese
AutoReqProv: on 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-lib
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co m17n-db # 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 Source0: http://www.m17n.org/m17n-lib/download/m17n-lib-%{version}.tar.gz
Source1: m17n-lib-rpmlintrc
Patch: m17n-lib-%{version}.diff Patch: m17n-lib-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multilingual Text Processing Library for the C Language Summary: Multilingual Text Processing Library for the C Language
@ -49,9 +50,10 @@ Authors:
Satoru Tomura <tomura@m17n.org> Satoru Tomura <tomura@m17n.org>
%package devel %package devel
Summary: multilingual text processing library for the C language License: GPL v2 or later; LGPL v2.1 or later; X11/MIT
Group: System/I18n/Japanese Summary: Multilingual text processing library for the C language
Requires: %{name} = %{version} glibc-devel fribidi-devel libotf-devel fontconfig-devel freetype2-devel Group: Development/Libraries/Other
Requires: %{name} = %{version} glibc-devel xorg-x11-libX11-devel
%description devel %description devel
A multilingual text processing library for the C language A multilingual text processing library for the C language
@ -71,15 +73,14 @@ Authors:
#find . -name CVS -type d | xargs rm -rf #find . -name CVS -type d | xargs rm -rf
%build %build
#./bootstrap.sh export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
#libtoolize --force --automake %configure --disable-static --with-pic
#autoreconf --force --install --verbose %{__make}
./configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr \ %check
--sysconfdir=%{_sysconfdir} \ export MALLOC_CHECK_=2
--libdir=%{_libdir} \ %{__make} check
--with-pic unset MALLOC_CHECK_
make
%install %install
make DESTDIR=${RPM_BUILD_ROOT} 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 > $RPM_BUILD_ROOT%{appdefdir}/ja_JP.SJIS/app-defaults/M17NEdit
iconv -f EUC-JP -t UTF-8 < example/M17NEdit.ja \ iconv -f EUC-JP -t UTF-8 < example/M17NEdit.ja \
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit > $RPM_BUILD_ROOT%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit
rm -f %{buildroot}%{_libdir}/*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -106,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog %doc AUTHORS COPYING NEWS README ChangeLog
%{_libdir}/lib*.so* %{_libdir}/lib*.so.*
%{_bindir}/* %{_bindir}/*
%dir %{appdefdir}/?? %dir %{appdefdir}/??
%dir %{appdefdir}/??_* %dir %{appdefdir}/??_*
@ -115,11 +117,13 @@ rm -rf $RPM_BUILD_ROOT
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/lib*.so
/usr/include/* /usr/include/*
%{_libdir}/lib*.*a
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Fri Jun 13 2008 crrodriguez@suse.de
- disable unusable static libraries
* Thu Feb 28 2008 schwab@suse.de * Thu Feb 28 2008 schwab@suse.de
- Update to m17n-lib 1.5.1. - Update to m17n-lib 1.5.1.
* New API layer FLT is created. * New API layer FLT is created.