4337395185
Fix build with doxygen 1.8.10... the configure check is plain stupid OBS-URL: https://build.opensuse.org/request/show/323991 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdatrie?expand=0&rev=18
94 lines
2.7 KiB
RPMSpec
94 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package libdatrie
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
Name: libdatrie
|
|
Version: 0.2.8
|
|
Release: 0
|
|
Summary: Double-Array Trie Library
|
|
License: LGPL-2.1
|
|
Group: System/Libraries
|
|
Url: http://linux.thai.net/~thep/datrie/datrie.html
|
|
Source: ftp://linux.thai.net/pub/ThaiLinux/software/libthai/%{name}-%{version}.tar.xz
|
|
Source99: baselibs.conf
|
|
Patch0: libdatrie-doxygen-found-is-enough.patch
|
|
BuildRequires: doxygen >= 1.8.4
|
|
BuildRequires: libtool
|
|
BuildRequires: pkg-config
|
|
BuildRequires: xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
%package -n libdatrie1
|
|
Summary: Double-Array Trie Library
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description -n libdatrie1
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
%package devel
|
|
Summary: Double-Array Trie Library (development)
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libdatrie1 = %{version}
|
|
|
|
%description devel
|
|
This is an implementation of double-array structure for representing
|
|
trie, as proposed by Junichi Aoe.
|
|
|
|
This package contains the development files for libdatrie.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure \
|
|
--disable-static --with-pic \
|
|
--with-html-docdir=%{_docdir}/libdatrie/html
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
rm -f %{buildroot}%{_libdir}/libdatrie.la
|
|
# This is not installed where it should
|
|
mv %{buildroot}%{_datadir}/doc/libdatrie/README.migration %{buildroot}%{_docdir}/libdatrie/
|
|
|
|
%post -n libdatrie1 -p /sbin/ldconfig
|
|
|
|
%postun -n libdatrie1 -p /sbin/ldconfig
|
|
|
|
%files -n libdatrie1
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS ChangeLog COPYING README
|
|
%{_libdir}/libdatrie.so.1*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/trietool-0.2
|
|
%doc %{_mandir}/man*/trietool-0.2.*
|
|
%{_includedir}/datrie/
|
|
%{_libdir}/libdatrie.so
|
|
%{_libdir}/pkgconfig/datrie-0.2.pc
|
|
%doc %{_docdir}/libdatrie/
|
|
|
|
%changelog
|