087ebd
Name:           m17n-lib
087ebd
Version:        1.8.0
087ebd
Release:        2%{?dist}
087ebd
Summary:        Multilingual text library
087ebd
087ebd
License:        LGPLv2+
087ebd
URL:            http://www.nongnu.org/m17n/
087ebd
Source0:        http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
087ebd
Patch0:         %{name}-1.8.0-multilib.patch
087ebd
087ebd
BuildRequires:  m17n-db-devel libthai-devel
087ebd
BuildRequires:  libxml2-devel libXft-devel
087ebd
BuildRequires:  fontconfig-devel freetype-devel
087ebd
BuildRequires:  fribidi-devel gd-devel
087ebd
BuildRequires:  libXaw-devel libotf-devel
087ebd
BuildRequires:  autoconf gettext-devel
087ebd
BuildRequires:  automake libtool
087ebd
087ebd
Requires:       m17n-db
087ebd
087ebd
%description
087ebd
m17n-lib is a multilingual text library used primarily to allow
087ebd
the input of many languages with the input table maps from m17n-db.
087ebd
087ebd
The package provides the core and input method backend libraries.
087ebd
087ebd
%package  devel
087ebd
Summary:  Development files for %{name}
087ebd
Requires: %{name}-tools = %{version}-%{release}
087ebd
087ebd
%description devel
087ebd
Development files for %{name}.
087ebd
087ebd
087ebd
%package  tools
087ebd
Summary:  The m17n GUI Library tools
087ebd
Requires: m17n-db-extras
087ebd
Requires: %{name}%{?_isa} = %{version}-%{release}
087ebd
087ebd
%description tools
087ebd
Tools to test M17n GUI widget library.
087ebd
087ebd
087ebd
%prep
087ebd
%autosetup
087ebd
087ebd
%build
087ebd
#autoreconf -ivf
087ebd
%configure --disable-rpath --disable-static
087ebd
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
087ebd
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
087ebd
087ebd
# parallel make usage with make command fails build on koji
087ebd
make
087ebd
087ebd
%install
087ebd
make install DESTDIR=%{buildroot} INSTALL="install -p"
087ebd
087ebd
# fix bug rh#680363
087ebd
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so
087ebd
087ebd
# fix for bug rh#1587975
087ebd
rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-anthy.so
087ebd
087ebd
find %{buildroot} -name '*.la' -exec rm -f {} ';'
087ebd
087ebd
%post -p /sbin/ldconfig
087ebd
%postun -p /sbin/ldconfig
087ebd
087ebd
%post tools -p /sbin/ldconfig
087ebd
%postun tools -p /sbin/ldconfig
087ebd
087ebd
%files
087ebd
%doc AUTHORS NEWS ChangeLog README
087ebd
%license COPYING
087ebd
#Own module directory path
087ebd
%dir %{_libdir}/m17n
087ebd
%dir %{_libdir}/m17n/1.0
087ebd
%{_bindir}/m17n-conv
087ebd
%{_libdir}/libm17n.so.*
087ebd
%{_libdir}/libm17n-core.so.*
087ebd
%{_libdir}/libm17n-flt.so.*
087ebd
087ebd
%files devel
087ebd
%{_includedir}/*
087ebd
%{_libdir}/lib*.so
087ebd
%{_libdir}/pkgconfig/*
087ebd
087ebd
%files tools
087ebd
%{_bindir}/m17n-date
087ebd
%{_bindir}/m17n-dump
087ebd
%{_bindir}/m17n-edit
087ebd
%{_bindir}/m17n-view
087ebd
%{_libdir}/m17n/1.0/libm17n-X.so
087ebd
%{_libdir}/m17n/1.0/libm17n-gd.so
087ebd
%{_libdir}/libm17n-gui.so.*
087ebd
087ebd
%changelog
087ebd
* Wed Jun 06 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-2
087ebd
- Drop Anthy support in favor of libkkc
087ebd
- Resolves: rh#1587975
087ebd
087ebd
* Sat Feb 10 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-1
087ebd
- Update to 1.8.0 version (#1543670)
087ebd
087ebd
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-0.2.RC1
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
087ebd
087ebd
* Wed Jan 03 2018 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-0.1.RC1
087ebd
- Update to 1.8.0 (#1523968)
087ebd
087ebd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
087ebd
087ebd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-7
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
087ebd
087ebd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
087ebd
087ebd
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-5
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
087ebd
087ebd
* Wed Aug 26 2015 Mike FABIAN <mfabian@redhat.com> - 1.7.0-4
087ebd
- Fix "Transliteration not working on Marathi language" (it crashed).
087ebd
- Resolves: rhbz#1256244
087ebd
087ebd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
087ebd
087ebd
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7.0-2
087ebd
- Rebuilt for Fedora 23 Change
087ebd
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
087ebd
087ebd
* Mon Dec 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.7.0-1
087ebd
- update to 1.7.0
087ebd
- Drop aarch64 patch and use autoreconf
087ebd
087ebd
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-13
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
087ebd
087ebd
* Thu Aug 07 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-12
087ebd
- Resolves:rh#1127583 - Add missing BuildRequires
087ebd
087ebd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-11
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
087ebd
087ebd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-10
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
087ebd
087ebd
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 1.6.4-9
087ebd
- rebuild for new GD 2.1.0
087ebd
087ebd
* Sun Mar 24 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-8
087ebd
- Resolves:rh#926108 - Does not support aarch64 in f19 and rawhide
087ebd
087ebd
* Thu Mar 14 2013 Hans de Goede <hdegoede@redhat.com> - 1.6.4-7
087ebd
- Fix m17n-config not working on non x86_* archs (rh#921189)
087ebd
087ebd
* Mon Mar 11 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-6
087ebd
- Resolves:rh#907488 - shell syntax error in m17n-config
087ebd
087ebd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-5
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
087ebd
087ebd
* Fri Nov 30 2012 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-4
087ebd
- Resolves:rh#880957 - m17n-lib doesn't uninstall properly
087ebd
087ebd
* Tue Nov 20 2012 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-3
087ebd
- m17n-lib to own %%{_libdir}/m17n
087ebd
087ebd
* Tue Nov 20 2012 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-2
087ebd
- Resolves:rh#877925 - drop m17n-lib-flt provides
087ebd
- Fix bogus date in %%changelog
087ebd
- Make sure not to attempt to use parallel make as it fails the build
087ebd
087ebd
* Tue Sep 18 2012 Parag Nemade <pnemade AT redhat DOT com> - 1.6.4-1
087ebd
- update to 1.6.4
087ebd
087ebd
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-3
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
087ebd
087ebd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.3-2
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
087ebd
087ebd
* Tue Oct 11 2011 Parag Nemade <pnemade AT redhat DOT com> - 1.6.3-1
087ebd
- update to 1.6.3
087ebd
087ebd
* Tue Mar 22 2011 Parag Nemade <pnemade AT redhat DOT com> - 1.6.2-3
087ebd
- Resolves: rh#680363 - Remove m17n-lib-ispell subpackage
087ebd
- Resolves: rh#677866 - m17n*.pc reports wrong moduledir on x86_64 system
087ebd
087ebd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
087ebd
087ebd
* Wed Oct 06 2010 Parag Nemade <pnemade AT redhat.com> - 1.6.2-1
087ebd
- update to new upstream release 1.6.2
087ebd
087ebd
* Mon Sep 13 2010 Parag Nemade <pnemade AT redhat.com> - 1.6.1-5
087ebd
- Fix some packaging issue
087ebd
- Change Requires: m17n-db-datafiles to m17n-db-extras
087ebd
087ebd
* Fri Sep 10 2010 Daiki Ueno <dueno@redhat.com> - 1.6.1-4
087ebd
- supply libotf cflags/libs manually, since the current libotf package
087ebd
  does not ship with "libotf-config" and m17n-lib cannot detect those
087ebd
  values
087ebd
- fix paths for modules used by GUI support
087ebd
087ebd
* Wed Aug 11 2010 Adam Jackson <ajax@redhat.com> 1.6.1-3
087ebd
- Fix Obsoletes: so upgrades actually work (1.5.5-3 < 1.5.5-3.fc13)
087ebd
087ebd
* Wed Jul 07 2010 Parag Nemade <pnemade@redhat.com> - 1.6.1-2
087ebd
- Resolves: rh#602029:-m17n-lib-devel multilib conflict 
087ebd
- Fix rpmlint rpath error.
087ebd
087ebd
* Tue Apr 27 2010 Parag Nemade <pnemade AT redhat.com> - 1.6.1-1
087ebd
- update to new upstream release 1.6.1
087ebd
087ebd
* Wed Apr 07 2010 Parag Nemade <pnemade AT redhat.com> - 1.6.0-1
087ebd
- update to new upstream release 1.6.0
087ebd
087ebd
* Wed Dec 23 2009 Jens Petersen <petersen@redhat.com> - 1.5.5-2
087ebd
- add bcond for otf, anthy, and gui
087ebd
- subpackage flt for emacs, etc
087ebd
- add subpackages for anthy and ispell modules
087ebd
- disable new gui subpackage (and hence ispell)
087ebd
087ebd
* Mon Aug 17 2009 Parag Nemade <pnemade@redhat.com> - 1.5.5-1
087ebd
- update to new upstream release 1.5.5
087ebd
087ebd
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.4-2
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
087ebd
087ebd
* Tue Mar 03 2009 Parag Nemade <pnemade@redhat.com> -1.5.4-1
087ebd
- Update to new upstream release 1.5.4
087ebd
087ebd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
087ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
087ebd
087ebd
* Tue Oct 21 2008 Parag Nemade <pnemade@redhat.com> -1.5.3-1.fc10
087ebd
- Update to new upstream release 1.5.3
087ebd
087ebd
* Thu Jul 03 2008 Parag Nemade <pnemade@redhat.com> -1.5.2-1
087ebd
- Update to new upstream release 1.5.2
087ebd
087ebd
* Thu Feb 07 2008 Parag Nemade <pnemade@redhat.com> -1.5.1-1.fc9
087ebd
- Update to new upstream release 1.5.1
087ebd
087ebd
* Fri Dec 28 2007 Parag Nemade <pnemade@redhat.com> -1.5.0-1.fc9
087ebd
- Update to new upstream release 1.5.0
087ebd
- Added missing internal-flt.h file as Source1
087ebd
087ebd
* Wed Aug 22 2007 Parag Nemade <pnemade@redhat.com> - 1.4.0-2
087ebd
- rebuild against new rpm package
087ebd
- update license tag
087ebd
087ebd
* Thu Jul 19 2007 Jens Petersen <petersen@redhat.com>
087ebd
- buildrequire and require m17n-db >= 1.4.0
087ebd
087ebd
* Thu Jul 19 2007 Parag Nemade <pnemade@redhat.com> - 1.4.0-1
087ebd
- Updated to new upstream release 1.4.0
087ebd
087ebd
* Wed Jan 10 2007 Mayank Jain <majain@redhat.com> - 1.3.4-1.1.fc7
087ebd
- rebuild for m17n-lib-1.3.4 version
087ebd
- Updated m17n-lib-nobuild-examples.patch
087ebd
087ebd
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3.3-1.1.fc6
087ebd
- rebuild
087ebd
087ebd
* Wed Jul 12 2006 Mayank Jain <majain@redhat.com> - 1.3.3-1.fc6
087ebd
- Updated spec file for changes mentioned in RH bug 193524, comment 4
087ebd
- Thanks to Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
087ebd
087ebd
* Thu Mar  2 2006 Jens Petersen <petersen@redhat.com> - 1.3.3-1
087ebd
- update to 1.3.3 minor bugfix release
087ebd
087ebd
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3.2-1.1
087ebd
- bump again for double-long bug on ppc(64)
087ebd
087ebd
* Fri Feb 10 2006 Jens Petersen <petersen@redhat.com> - 1.3.2-1
087ebd
- update to 1.3.2 bugfix release
087ebd
  - m17n-lib-no-gui-headers.patch is now upstream
087ebd
087ebd
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3.1-1.1
087ebd
- rebuilt for new gcc4.1 snapshot and glibc changes
087ebd
087ebd
* Thu Feb  2 2006 Jens Petersen <petersen@redhat.com> - 1.3.1-1
087ebd
- update to 1.3.1 release
087ebd
  - rename use_otf and use_anthy macros to with_gui and with_examples
087ebd
  - build --with-gui=no and replace m17n-lib-1.2.0-core-libs-only.patch
087ebd
    with m17n-lib-no-gui-headers.patch and m17n-lib-nobuild-examples.patch
087ebd
087ebd
* Fri Dec 16 2005 Jens Petersen <petersen@redhat.com> - 1.2.0-2
087ebd
- import to Fedora Core
087ebd
- buildrequire autoconf
087ebd
087ebd
* Thu Nov 10 2005 Jens Petersen <petersen@redhat.com> - 1.2.0-1
087ebd
- do not build static lib and .la files (Warren Togami)
087ebd
087ebd
* Wed Oct  5 2005 Jens Petersen <petersen@redhat.com>
087ebd
- initial packaging for Fedora Extras
087ebd
087ebd
* Sat Jan 15 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp>
087ebd
- modify spec for fedora