This commit is contained in:
parent
035c0c4411
commit
5708ad6272
@ -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
|
||||
|
||||
|
@ -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 <tomura@m17n.org>
|
||||
|
||||
%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.
|
||||
|
Loading…
Reference in New Issue
Block a user