rpms/m17n-contrib/devel m17n-contrib.spec,NONE,1.1

Parag Nemade (pnemade) fedora-extras-commits at redhat.com
Wed Jul 25 01:31:25 UTC 2007


Author: pnemade

Update of /cvs/pkgs/rpms/m17n-contrib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29474

Added Files:
	m17n-contrib.spec 
Log Message:
add missing SPEC file


--- NEW FILE m17n-contrib.spec ---
Name:     m17n-contrib
Summary:  Contributed multilingualization datafiles for m17n-lib
Version:  1.1.3
Release:  2%{?dist}
Group:    System Environment/Libraries
License:  LGPL
URL:      http://www.m17n.org/m17n-lib/index.html
Source0:  http://www.m17n.org/m17n-lib-download/m17n-contrib-%{version}.tar.gz
BuildArch: noarch
BuildRequires: m17n-db
Requires: m17n-db >= 1.4.0
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
This package contains contributed multilingualization (m17n) datafiles
for the m17n-lib project.

# mk_pkg <name> <lang-code> <icons?1:0>
%define mk_pkg() \
%package %1\
Summary:    Contributed input maps for %(echo %1 | sed -e "s/\\(.*\\)/\\u\\1/")\
Group:      System Environment/Libraries\
# for %{_datadir}/m17n\
Requires:   m17n-contrib\
\
%description %1\
This package provides contributed multilingualization (m17n) input maps\
for %(echo %1 | sed -e "s/\\(.*\\)/\\u\\1/").\
\
%files %1\
%defattr(-,root,root,-)\
%{_datadir}/m17n/%2-*.mim\
%if %3\
%{_datadir}/m17n/icons/%2-*.png\
%else\
%{nil}\
%endif

%mk_pkg assamese as 1
%mk_pkg bengali bn 1
%mk_pkg esperanto eo 0
%mk_pkg gujarati gu 1
%mk_pkg hindi hi 1
%mk_pkg kannada kn 1
%mk_pkg malayalam ml 1
%mk_pkg marathi mr 1
%mk_pkg nepali ne 1
%mk_pkg oriya or 1
%mk_pkg punjabi pa 1
%mk_pkg russian ru 0
%mk_pkg sinhala si 0
%mk_pkg tai tai 0
%mk_pkg tamil ta 1
%mk_pkg telugu te 1
%mk_pkg urdu ur 1
%mk_pkg vietnamese vi 0


%prep
%setup -q


%build
%configure
make


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_datadir}/m17n/scripts
  
%changelog
* Wed Jul 25 2007 Parag Nemade <pnemade at redhat.com> - 1.1.3-2
- Import to cvs
- bump release

* Tue Jul 24 2007 Parag Nemade <pnemade at redhat.com> - 1.1.3-1
- Update to 1.1.3

* Tue Jul 24 2007 Parag Nemade <pnemade at redhat.com>
- Bump release

* Mon Jul 23 2007 Parag Nemade <pnemade at redhat.com>
- SPEC cleanup
- make tbl2mim.awk executable
- bump release

* Mon Jul 23 2007 Parag Nemade <pnemade at redhat.com>
- updated SPEC according to suggestions from Jens Petersen in #249006

* Fri Jul 20 2007 Parag Nemade <pnemade at redhat.com> - 1.1.2-1
- Initial package for Fedora Review.




More information about the scm-commits mailing list