%define version 0.1.0 %define release %mkrel 4 %define scim_version 1.4.0 %define libname_orig lib%{name} %define libname %mklibname %{name} 0 Name: scim-input-pad Summary: An onscreen input pad to input some symbols Version: %{version} Release: %{release} Group: System/Internationalization License: GPL URL: http://sourceforge.net/projects/scim/ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: %{libname} = %{version} Requires: scim >= %{scim_version} BuildRequires: scim-devel >= %{scim_version} %description An onscreen input pad to input some symbols. %package -n %{libname} Summary: Scim-input-pad library Group: System/Internationalization Provides: %{libname_orig} = %{version}-%{release} %description -n %{libname} Scim-input-pad library. %prep %setup -q %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std # remove unnecessary files rm -f %{buildroot}/%{_libdir}/*.{a,la,so} rm -f %{buildroot}/%{_libdir}/scim-*/*/*.{a,la} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %doc COPYING README %{_bindir}/scim-* %{_datadir}/scim/icons/* %{_datadir}/scim/input-pad/* %files -n %{libname} %defattr(-,root,root) %doc COPYING %{_libdir}/*.so.* %{_libdir}/scim-1.0/Helper/*.so %changelog * Tue Jul 19 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.0-4mdk - Rebuild for new scim ( 1.4.0 ) * Mon Jun 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.0-3mdk - Rebuild for new scim ( 1.3.1 ) * Fri Jun 17 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.0-2mdk - Rebuild for new scim * Thu Mar 24 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.1.0-1mdk - new release * Fri Mar 11 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.0.3-1mdk - new release * Tue Mar 08 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.0.2-1mdk - new release * Mon Mar 07 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.0.1-1mdk - first spec for mdk