Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
libtabe
libtabe.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtabe.spec of Package libtabe
# # spec file for package libtabe (Version 0.2.6) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libtabe BuildRequires: db-devel xorg-x11-devel License: BSD 3-Clause Group: System/I18n/Chinese AutoReqProv: on Version: 0.2.6 Release: 592 Summary: A Library for Chinese Language Processing Used in Input Methods Source: ftp://xcin.linux.org.tw/pub/xcin/xcin/libtabe-0.2.6.tar.bz2 Patch0: libtabe-noweak.diff Patch1: libtabe-db41.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://libtabe.sourceforge.net/ %description libtabe is a library that provides useful Chinese functions and routines that deal with many fundamental elements, such as pronunciation(BoPoMoFo), character frequency, word identification, and word frequency. libtabe also comes with a free word database consisting of 140,000 words. More functionality is expected to be put into the library in the future. A practical application of libtabe is the intelligent phonetic input method interface, bims. bims accepts input in BoPoMoFo and generates output as meaningful sentences. The XCIN-2.5 bimsphone module is based directly on libtabe and bims. In the future, more modules might also be based on it. Authors: -------- TaBE Project, HSIAO Pai-Hsiang <libtabe@SourceForge> %package devel License: BSD 3-Clause Group: Development/Libraries/C and C++ Summary: Development Libraries and Header Files for libtabe Library Requires: libtabe = %{version} %description devel This package provides the development libraries and header files for the libtabe library. Authors: -------- TaBE Project, HSIAO Pai-Hsiang &lt;libtabe@SourceForge&gt; %prep %setup -n libtabe %patch0 -p1 %patch1 %build %{suse_update_config -f script} mv script/configure.in . rm -Rf CVS doc/CVS libtoolize --force aclocal autoconf CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \ --libdir=%{_libdir} \ --with-db-inc=/usr/include/db4 \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --enable-shared \ %{_target_cpu}-suse-linux make %install rm -rf $RPM_BUILD_ROOT; make prefix=%{buildroot}/usr libdir=%{buildroot}/%{_libdir} install %clean rm -rf $RPM_BUILD_ROOT; %post %run_ldconfig %postun %run_ldconfig %files %defattr(-, root, root) %doc COPYING INSTALL doc %{_libdir}/lib*.so.* %{_bindir}/* %{_libdir}/tabe/ %files devel %defattr(-, root, root) %{_libdir}/lib*.*a %{_libdir}/lib*.so /usr/include/*.h %changelog * Wed Oct 29 2008 ro@suse.de - call suse_update_config for script directory to fix build on x86_64 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Nov 25 2004 ro@suse.de - fix build with db-4.3 * Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig * Fri May 16 2003 ro@suse.de - fix build with libdb-4.1 * Fri Dec 06 2002 coolo@suse.de - link libtabe against libdb so it doesn't have undefined references * Tue Aug 27 2002 mfabian@suse.de - update to 0.2.6 to and build it against db4. This makes it build on 64 bit platforms. Thanks to Ruediger Oertel <ro@suse.de>. * Fri Aug 09 2002 mfabian@suse.de - add Requires: libtabe = %%{version} to libtabe-devel package (Bug #17543). * Wed Apr 10 2002 mfabian@suse.de - use %%{_libdir} * Fri Jan 18 2002 mfabian@suse.de - link both xcin and libtabe against the version of db2 contained in glibc as berkdb2 is dropped from SuSE Linux. xcin and libtabe work well with this version of db2 as well, it looks like one only has to make sure that both are linked against the same version of db2. (use --with-dbinc=/usr/include/db2 and remove --with-dbinc completely) * Sat Mar 10 2001 mfabian@suse.de - fix {?suse_update_config} to build on ia64 * Wed Mar 07 2001 uli@suse.de - added xf86 to neededforbuild * Thu Feb 22 2001 mfabian@suse.de - bzip2 sources * Thu Feb 22 2001 phm@suse.de, mfabian@suse.de - new package: libtabe version 0.1.9
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor