Accepting request 181600 from M17N

update  version  1.6.4 (forwarded request 181599 from MargueriteSu)

OBS-URL: https://build.opensuse.org/request/show/181600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/m17n-lib?expand=0&rev=23
This commit is contained in:
Stephan Kulow 2013-07-02 05:39:26 +00:00 committed by Git OBS Bridge
commit ed7b70b207
4 changed files with 32 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff5ebe09572a5e6d4a376783a78d4355f0b17a71fbaf8b01978230be7eef735e
size 1033048

3
m17n-lib-1.6.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0370fda16bce321acad96b623dbbead0d797d86f5d5fa43d0cde8ff3b01555a4
size 1034422

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 1 09:38:07 UTC 2013 - i@marguerite.su
- update version 1.6.4
* no change, just update version number
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 18 09:21:48 UTC 2013 - cfarrell@suse.com Mon Mar 18 09:21:48 UTC 2013 - cfarrell@suse.com

View File

@ -17,6 +17,18 @@
Name: m17n-lib Name: m17n-lib
%define appdefdir /usr/share/X11
Version: 1.6.4
Release: 0
Summary: Multilingual Text Processing Library for the C Language
License: LGPL-2.1+ and GPL-2.0+
Group: System/I18n/Japanese
Url: http://www.m17n.org/m17n-lib/
Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
Source1: m17n-lib-rpmlintrc
Source2: baselibs.conf
Patch0: m17n-lib-fix-warnings.diff
BuildRequires: fdupes
BuildRequires: freetype2-devel BuildRequires: freetype2-devel
BuildRequires: fribidi-devel BuildRequires: fribidi-devel
BuildRequires: gd-devel BuildRequires: gd-devel
@ -28,18 +40,7 @@ BuildRequires: m17n-db
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: wordcut-devel BuildRequires: wordcut-devel
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
%define appdefdir /usr/share/X11
Version: 1.6.3
Release: 0
Url: http://www.m17n.org/m17n-lib/
Source0: http://www.m17n.org/m17n-lib-download/m17n-lib-%{version}.tar.gz
Source1: m17n-lib-rpmlintrc
Source2: baselibs.conf
Patch0: m17n-lib-fix-warnings.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multilingual Text Processing Library for the C Language
License: LGPL-2.1+ and GPL-2.0+
Group: System/I18n/Japanese
%description %description
A multilingual text processing library for the C language. A multilingual text processing library for the C language.
@ -72,32 +73,31 @@ A multilingual text processing library for the C language
%build %build
export SUSE_ASNEEDED=0 export SUSE_ASNEEDED=0
%configure --disable-static --with-pic %configure --disable-static --with-pic
%{__make} make
%check %check
export MALLOC_CHECK_=2 export MALLOC_CHECK_=2
%{__make} check make check
unset MALLOC_CHECK_ unset MALLOC_CHECK_
%install %install
make DESTDIR=${RPM_BUILD_ROOT} install %makeinstall
# Japanese app-defaults: # Japanese app-defaults:
mkdir -p $RPM_BUILD_ROOT%{appdefdir}/{ja,ja_JP,ja_JP.eucJP,ja_JP.SJIS,ja_JP.UTF-8}/app-defaults mkdir -p %{buildroot}%{appdefdir}/{ja,ja_JP,ja_JP.eucJP,ja_JP.SJIS,ja_JP.UTF-8}/app-defaults
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \ iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
> $RPM_BUILD_ROOT%{appdefdir}/ja/app-defaults/M17NEdit > %{buildroot}%{appdefdir}/ja/app-defaults/M17NEdit
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \ iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP/app-defaults/M17NEdit > %{buildroot}%{appdefdir}/ja_JP/app-defaults/M17NEdit
iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \ iconv -f EUC-JP -t EUC-JP < example/M17NEdit.ja \
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.eucJP/app-defaults/M17NEdit > %{buildroot}%{appdefdir}/ja_JP.eucJP/app-defaults/M17NEdit
iconv -f EUC-JP -t SJIS < example/M17NEdit.ja \ iconv -f EUC-JP -t SJIS < example/M17NEdit.ja \
> $RPM_BUILD_ROOT%{appdefdir}/ja_JP.SJIS/app-defaults/M17NEdit > %{buildroot}%{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 > %{buildroot}%{appdefdir}/ja_JP.UTF-8/app-defaults/M17NEdit
rm -f %{buildroot}%{_libdir}/m17n/*/*.la rm -f %{buildroot}%{_libdir}/m17n/*/*.la
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%clean %fdupes %{buildroot}
rm -rf $RPM_BUILD_ROOT
%post -n libm17n0 -p /sbin/ldconfig %post -n libm17n0 -p /sbin/ldconfig
@ -110,7 +110,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{appdefdir}/?? %dir %{appdefdir}/??
%dir %{appdefdir}/??_* %dir %{appdefdir}/??_*
%dir %{appdefdir}/*/app-defaults %dir %{appdefdir}/*/app-defaults
%config %{appdefdir}/*/app-defaults/M17NEdit %{appdefdir}/*/app-defaults/M17NEdit
%files -n libm17n0 %files -n libm17n0
%defattr(-, root, root) %defattr(-, root, root)