Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > 81442ea5fc8056f2182b18e7f7fcb5c8 > files > 2

tomoe-0.2.1-1mdk.src.rpm

%define version   0.2.1
%define release   %mkrel 1

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

Name:      tomoe
Summary:   A program which does Japanese handwriting recognition
Version:   %{version}
Release:   %{release}
Group:     System/Internationalization
License:   LGPL
URL:       https://sourceforge.jp/projects/tomoe/
Source0:   %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires:        %{libname} = %{version}-%{release}
BuildRequires:   automake1.8

%description
A program which does Japanese handwriting recognition.


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

%description -n %{libname}
tomoe library.

%package -n %{libname}-devel
Summary:    Headers of %{name} for development
Group:      Development/C
Requires:   %{libname} = %{version}
Provides:   %{name}-devel = %{version}-%{release}
Provides:   %{libname_orig}-devel = %{version}-%{release}

%description -n %{libname}-devel
Headers of %{name} for development.


%prep
%setup -q
cp /usr/share/automake-1.9/mkinstalldirs .

%build
# force to regenerate configure
./autogen.sh

%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog
%{_bindir}/*
%{_datadir}/tomoe/*

%files -n %{libname}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/*.so.0.1.0
# uim-tomoe-gtk opens it
%{_libdir}/*.so.0

%files -n %{libname}-devel
%defattr(-,root,root)
%doc COPYING
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/tomoe/*.h


%changelog
* Mon Aug 15 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.2.1-1mdk
- new release

* Fri Aug 12 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.2.0-2.20050812.1mdk
- latest snapshot from UTUMI Hirosi <utuhiro78@yahoo.co.jp>

* Sun Feb 27 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.1.1-2mdk
- fix automake buildrequires

* Thu Feb 17 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.1.1-1mdk
- new release

* Thu Jan 13 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> 0.0.1-0.cvs20050113.1mdk
- first spec