diff --git a/.cvsignore b/.cvsignore index a695ed8..43068d8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ m17n-lib-1.3.3.tar.gz m17n-lib-1.4.0.tar.gz +m17n-lib-1.5.0.tar.gz diff --git a/m17n-lib.spec b/m17n-lib.spec index 62c1a4b..6c14d5e 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,42 +3,43 @@ # set to 1 to build examples (including anthy support) %define with_examples 0 -Name: m17n-lib -Version: 1.4.0 -Release: 2%{?dist} -Summary: Multilingual text library +Name: m17n-lib +Version: 1.5.0 +Release: 1%{?dist} +Summary: Multilingual text library -Group: System Environment/Libraries -License: LGPLv2 -URL: http://www.m17n.org/m17n-lib/index.html -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Group: System Environment/Libraries +License: LGPLv2 +URL: http://www.m17n.org/m17n-lib/index.html +Source0: %{name}-%{version}.tar.gz +Source1: internal-flt.h +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: m17n-db >= 1.4.0 +BuildRequires: m17n-db >= 1.4.0 %if %{with_gui} -BuildRequires: libxml2-devel, xorg-x11-devel -BuildRequires: freetype-devel >= 2.0, fribidi-devel, gd-devel >= 2.0 -BuildRequires: libotf-devel >= %{libotf_version} +BuildRequires: libxml2-devel, xorg-x11-devel +BuildRequires: freetype-devel >= 2.0, fribidi-devel, gd-devel >= 2.0 +BuildRequires: libotf-devel >= %{libotf_version} %else -BuildRequires: autoconf -BuildRequires: libtool -BuildRequires: pkgconfig +BuildRequires: autoconf +BuildRequires: libtool +BuildRequires: pkgconfig %endif %if %{with_examples} -BuildRequires: anthy-devel +BuildRequires: anthy-devel %endif -Requires: m17n-db >= 1.4.0 -Patch2: m17n-lib-nobuild-examples.patch +Requires: m17n-db >= 1.4.0 +Patch2: m17n-lib-nobuild-examples.patch %description m17n-lib is a multilingual text library used primarily to allow the input of many languages with the input table maps from m17n-db. -%package devel -Summary: m17n-lib development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +%package devel +Summary: m17n-lib development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} %description devel Development files for %{name}. @@ -46,13 +47,14 @@ Development files for %{name}. %prep %setup -q +install -p -m 0644 %{SOURCE1} src/ + %if ! %{with_examples} %patch2 -p1 -b .examples %endif # patch2 touches Makefile.am autoreconf - %build %configure --disable-static \ %if ! %{with_gui} @@ -65,7 +67,7 @@ make %install rm -rf $RPM_BUILD_ROOT -%makeinstall +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" # remove unneeded files rm $RPM_BUILD_ROOT%{_bindir}/m17n-config @@ -96,6 +98,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Dec 28 2007 Parag Nemade -1.5.0-1.fc9 +- Update to new upstream release 1.5.0 +- Added missing internal-flt.h file as Source1 + * Wed Aug 22 2007 Parag Nemade - 1.4.0-2 - rebuild against new rpm package - update license tag diff --git a/sources b/sources index 9c71fbf..de95d16 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 195b16500349f874dd094fa7cccd7a6c m17n-lib-1.4.0.tar.gz +950bbb57a317870e49c6b1c0ad0337cc m17n-lib-1.5.0.tar.gz