Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 5cd0290ef300072d87aee990fedb61a5 > files > 2

scim-chewing-0.2.0-1mdk.src.rpm

%define version	0.2.0
%define release	1mdk

%define chewing_version	0.2.6
%define scim_version		1.1.3

%define libname_orig lib%{name}
%define libname %mklibname %{name} 0

Name:		scim-chewing
Summary:	SCIM IMEngine module for chewing
Version:		%{version}
Release:		%{release}
Group:		System/Internationalization
License:		GPL
URL:			http://chewing.csie.net/
Source0:		%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
Requires:			%{libname} = %{version}-%{release}
Requires:			libchewing >= %{chewing_version}
Requires:			scim >= %{scim_version}
BuildRequires:  	libchewing-devel >= %{chewing_version}
BuildRequires:  	scim-devel >= %{scim_version}

%description
Scim-chewing is an SCIM IMEngine module for chewing,
an intelligent Chinese phonetic input method.


%package -n %{libname}
Summary:	Scim-chewing library
Group:		System/Internationalization
Provides:		%{libname_orig} = %{version}-%{release}

%description -n %{libname}
scim-chewing library.


%prep
%setup -q

%build
[[ ! -x configure ]] && ./bootstrap
%configure2_5x
%make

%install
rm -rf %{buildroot}
%makeinstall_std mkinstalldirs='mkdir -p'

# remove unnecessary files
rm -f %{buildroot}%{_libdir}/scim-1.0/*/*.{a,la}

%find_lang %{name}

%clean
rm -rf %{buildroot}

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig


%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README
%{_datadir}/scim/icons/*

%files -n %{libname}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/scim-1.0/IMEngine/*.so
%{_libdir}/scim-1.0/SetupUI/*.so


%changelog
* Fri Mar 04 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.2.0-1mdk
- new release

* Thu Feb 17 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.1.1-2mdk
- rebuild with scim-1.1.3
- make libscim-chewing0
- spec cleanup

* Sun Jan 02 2005 Abel Cheung <deaddog@mandrake.org> 0.1.1-1mdk
- First Mandrakelinux package, thanks to the work done by
  Shiva Huang <blueshiva@giga.net.tw>