File libdatrie0.spec of Package libdatrie0
#
# spec file for package libdatrie0 (Version 0.1.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libdatrie0
Url: http://linux.thai.net/~thep/datrie/datrie.html
License: LGPL v2.1 only
Group: System/Libraries
AutoReqProv: on
Version: 0.1.3
Release: 1
Summary: Double-Array Trie Library
Source: libdatrie-%version.tar.bz2
#Patch: patch.dif
BuildRequires: doxygen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is an implementation of double-array structure for representing
trie, as proposed by Junichi Aoe.
Authors:
--------
Theppitak Karoonboonyanan <thep@linux.thai.net>
%package -n libdatrie-devel
License: LGPL v2.1 only
Group: Development/Libraries/C and C++
Summary: Double-Array Trie Library (development)
Requires: libdatrie0 == %version
%description -n libdatrie-devel
libdatrie header files, tools, and static libraries.
Authors:
--------
Theppitak Karoonboonyanan <thep@linux.thai.net>
%prep
%setup -n libdatrie-%version
#%patch
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=/usr --libdir=%_libdir \
--with-html-docdir=%_docdir/libdatrie/html
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%_libdir/libdatrie.la
# lots of empty man pages
find $RPM_BUILD_ROOT%_mandir -type f -size -100c -exec rm -f '{}' ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%_libdir/libdatrie.so.0
%_libdir/libdatrie.so.0.0.3
%files -n libdatrie-devel
%defattr(-,root,root)
%doc ChangeLog NEWS README
/usr/bin/trietool
/usr/include/datrie
%_libdir/libdatrie.a
%_libdir/libdatrie.so
%_libdir/pkgconfig/datrie.pc
%doc %_mandir/man*/*
%doc %_docdir/libdatrie
%changelog
* Mon Apr 07 2008 uli@suse.de
- update -> 0.1.3 (fixes bug that keeps new libthai from
building, bnc #326002)
* Tue Oct 30 2007 uli@suse.de
- initial package