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