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