- Fix the upgrade path from F13 to F14

- spec cleanups
This commit is contained in:
pnemade 2010-07-23 05:15:49 +00:00
parent db84d9a533
commit c6df4251be

View File

@ -1,13 +1,12 @@
Name: m17n-db
Summary: Multilingualization datafiles for m17n-lib
Version: 1.6.1
Release: 2%{?dist}
Release: 3%{?dist}
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.m17n.org/m17n-lib/index.html
Source0: http://www.m17n.org/m17n-lib-download/%{name}-%{version}.tar.gz
BuildArch: noarch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
Patch1: number_pad_itrans-222634.patch
Patch2: bn-itrans-t-182227.patch
@ -15,50 +14,50 @@ Patch3: kn-itrans-ZWNJ-221965.patch
Patch4: kn-itrans_key-summary_228806.patch
Patch5: ml-itrans-keysummary-435260.patch
Obsoletes: m17n-db-amharic < 1.5.5-4
Obsoletes: m17n-db-arabic < 1.5.5-4
Obsoletes: m17n-db-armenian < 1.5.5-4
Obsoletes: m17n-db-assamese < 1.5.5-4
Obsoletes: m17n-db-bengali < 1.5.5-4
Obsoletes: m17n-db-cham < 1.5.5-4
Obsoletes: m17n-db-chinese < 1.5.5-4
Obsoletes: m17n-db-common-cjk < 1.5.5-4
Obsoletes: m17n-db-croatian < 1.5.5-4
Obsoletes: m17n-db-danish < 1.5.5-4
Obsoletes: m17n-db-dhivehi < 1.5.5-4
Obsoletes: m17n-db-farsi < 1.5.5-4
Obsoletes: m17n-db-flt < 1.5.5-4
Obsoletes: m17n-db-french < 1.5.5-4
Obsoletes: m17n-db-generic < 1.5.5-4
Obsoletes: m17n-db-greek < 1.5.5-4
Obsoletes: m17n-db-gregorian < 1.5.5-4
Obsoletes: m17n-db-gujarati < 1.5.5-4
Obsoletes: m17n-db-hebrew < 1.5.5-4
Obsoletes: m17n-db-hindi < 1.5.5-4
Obsoletes: m17n-db-japanese < 1.5.5-4
Obsoletes: m17n-db-kannada < 1.5.5-4
Obsoletes: m17n-db-kazakh < 1.5.5-4
Obsoletes: m17n-db-khmer < 1.5.5-4
Obsoletes: m17n-db-korean < 1.5.5-4
Obsoletes: m17n-db-lao < 1.5.5-4
Obsoletes: m17n-db-latin < 1.5.5-4
Obsoletes: m17n-db-malayalam < 1.5.5-4
Obsoletes: m17n-db-myanmar < 1.5.5-4
Obsoletes: m17n-db-oriya < 1.5.5-4
Obsoletes: m17n-db-punjabi < 1.5.5-4
Obsoletes: m17n-db-russian < 1.5.5-4
Obsoletes: m17n-db-sanskrit < 1.5.5-4
Obsoletes: m17n-db-serbian < 1.5.5-4
Obsoletes: m17n-db-sinhala < 1.5.5-4
Obsoletes: m17n-db-slovak < 1.5.5-4
Obsoletes: m17n-db-swedish < 1.5.5-4
Obsoletes: m17n-db-syriac < 1.5.5-4
Obsoletes: m17n-db-tamil < 1.5.5-4
Obsoletes: m17n-db-telugu < 1.5.5-4
Obsoletes: m17n-db-thai < 1.5.5-4
Obsoletes: m17n-db-tibetan < 1.5.5-4
Obsoletes: m17n-db-uyghur < 1.5.5-4
Obsoletes: m17n-db-vietnamese < 1.5.5-4
Obsoletes: m17n-db-amharic < 1.6.0-2
Obsoletes: m17n-db-arabic < 1.6.0-2
Obsoletes: m17n-db-armenian < 1.6.0-2
Obsoletes: m17n-db-assamese < 1.6.0-2
Obsoletes: m17n-db-bengali < 1.6.0-2
Obsoletes: m17n-db-cham < 1.6.0-2
Obsoletes: m17n-db-chinese < 1.6.0-2
Obsoletes: m17n-db-common-cjk < 1.6.0-2
Obsoletes: m17n-db-croatian < 1.6.0-2
Obsoletes: m17n-db-danish < 1.6.0-2
Obsoletes: m17n-db-dhivehi < 1.6.0-2
Obsoletes: m17n-db-farsi < 1.6.0-2
Obsoletes: m17n-db-flt < 1.6.0-2
Obsoletes: m17n-db-french < 1.6.0-2
Obsoletes: m17n-db-generic < 1.6.0-2
Obsoletes: m17n-db-greek < 1.6.0-2
Obsoletes: m17n-db-gregorian < 1.6.0-2
Obsoletes: m17n-db-gujarati < 1.6.0-2
Obsoletes: m17n-db-hebrew < 1.6.0-2
Obsoletes: m17n-db-hindi < 1.6.0-2
Obsoletes: m17n-db-japanese < 1.6.0-2
Obsoletes: m17n-db-kannada < 1.6.0-2
Obsoletes: m17n-db-kazakh < 1.6.0-2
Obsoletes: m17n-db-khmer < 1.6.0-2
Obsoletes: m17n-db-korean < 1.6.0-2
Obsoletes: m17n-db-lao < 1.6.0-2
Obsoletes: m17n-db-latin < 1.6.0-2
Obsoletes: m17n-db-malayalam < 1.6.0-2
Obsoletes: m17n-db-myanmar < 1.6.0-2
Obsoletes: m17n-db-oriya < 1.6.0-2
Obsoletes: m17n-db-punjabi < 1.6.0-2
Obsoletes: m17n-db-russian < 1.6.0-2
Obsoletes: m17n-db-sanskrit < 1.6.0-2
Obsoletes: m17n-db-serbian < 1.6.0-2
Obsoletes: m17n-db-sinhala < 1.6.0-2
Obsoletes: m17n-db-slovak < 1.6.0-2
Obsoletes: m17n-db-swedish < 1.6.0-2
Obsoletes: m17n-db-syriac < 1.6.0-2
Obsoletes: m17n-db-tamil < 1.6.0-2
Obsoletes: m17n-db-telugu < 1.6.0-2
Obsoletes: m17n-db-thai < 1.6.0-2
Obsoletes: m17n-db-tibetan < 1.6.0-2
Obsoletes: m17n-db-uyghur < 1.6.0-2
Obsoletes: m17n-db-vietnamese < 1.6.0-2
Provides: m17n-db-amharic = %{version}-%{release}
Provides: m17n-db-arabic = %{version}-%{release}
@ -115,7 +114,7 @@ font layout text rendering for languages.
Summary: Extra m17n-db files
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: m17n-db-datafiles < 1.5.5-4
Obsoletes: m17n-db-datafiles < 1.6.0-2
Provides: m17n-db-datafiles = %{version}-%{release}
%description extras
@ -143,11 +142,9 @@ popd
%build
%configure
make
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# don't ship unijoy map for now
@ -159,11 +156,6 @@ rm $RPM_BUILD_ROOT%{_datadir}/m17n/ispell.mim
# For installing the translation files
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
@ -197,6 +189,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pkgconfig/m17n-db.pc
%changelog
* Fri Jul 23 2010 Parag Nemade <pnemade AT redhat.com> - 1.6.1-3
- Fix the upgrade path from F13 to F14
* Thu Jul 8 2010 Jens Petersen <petersen@redhat.com>
- use excludes to simplify .mim and icon filelists