فهرست منبع

NEW: libdatrie, libthai
pango: rebuild with libthai

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5353 ec354946-7b23-47d6-9f5a-488ba84defc7

Takemikaduchi 13 سال پیش
والد
کامیت
3e7f2d14d8
3فایلهای تغییر یافته به همراه293 افزوده شده و 1 حذف شده
  1. 144 0
      lib/libd/libdatrie/libdatrie-vl.spec
  2. 144 0
      lib/libt/libthai/libthai-vl.spec
  3. 5 1
      p/pango/pango-vl.spec

+ 144 - 0
lib/libd/libdatrie/libdatrie-vl.spec

@@ -0,0 +1,144 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
+Summary:	Double-Array Trie Library
+Name:		libdatrie
+Version:	0.2.5
+Release:	1%{?_dist_release}
+Source0:	http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.gz
+License:	GPLv2
+Group:		System Environment/Libraries 
+URL:		http://linux.thai.net/~thep/datrie/datrie.html
+
+BuildRequires:	doxygen
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	Takemikaduchi
+
+
+%description
+This is an implementation of double-array structure for representing trie, 
+as proposed by Junichi Aoe.
+
+Trie is a kind of digital search tree, an efficient indexing method with 
+O(1) time complexity for searching. Comparably as efficient as hashing,
+trie also provides flexibility on incremental matching and key spelling
+manipulation. This makes it ideal for lexical analyzers, as well as spelling
+dictionaries.
+
+
+%package	devel
+Summary:        Development tools for libdatrie
+Summary(ja):    libdatrie の開発環境
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description	devel
+Header files and libraries for building a extension library for the
+libdatrie.
+
+
+%package        doc
+Summary:        Documentation for libdatrie
+Summary(ja):    libdatrie 用のドキュメント
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+BuildArch:      noarch
+
+%description    doc
+This package contains documentation for libdatrie
+
+
+# compat32
+%package -n compat32-%{name}
+Summary:	Double-Array Trie Library
+Group:		System Environment/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description -n compat32-%{name}
+This is an implementation of double-array structure for representing trie, 
+as proposed by Junichi Aoe.
+
+Trie is a kind of digital search tree, an efficient indexing method with 
+O(1) time complexity for searching. Comparably as efficient as hashing,
+trie also provides flexibility on incremental matching and key spelling
+manipulation. This makes it ideal for lexical analyzers, as well as spelling
+dictionaries.
+
+
+%package -n compat32-%{name}-devel
+Summary:        Development tools for libdatrie
+Summary(ja):    libdatrie の開発環境
+Group:          Development/Libraries
+Requires:       compat32-%{name} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description -n compat32-%{name}-devel
+Header files and libraries for building a extension library for the
+libdatrie.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure \
+	--disable-static
+
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING ChangeLog NEWS README
+%{_bindir}/trietool-0.2
+%{_libdir}/%{name}.so.*
+%{_mandir}/man1/*.gz
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/datrie
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/datrie-0.2.pc
+
+%files doc
+%defattr(-,root,root,-)
+%{_docdir}/%{name}/README.migration
+%{_docdir}/datrie
+
+%if %{build_compat32}
+%files -n compat32-%{name}
+%defattr(-, root, root,-)
+%{_libdir}/%{name}.so.*
+
+%files -n compat32-%{name}-devel
+%defattr(-, root, root,-)
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/datrie-0.2.pc
+%endif
+
+
+%changelog
+* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.16-1
+- initial build for Vine Linux
+

+ 144 - 0
lib/libt/libthai/libthai-vl.spec

@@ -0,0 +1,144 @@
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
+Summary:	A set of Thai language support routines
+Name:		libthai
+Version:	0.1.16
+Release:	1%{?_dist_release}
+Source0:	http://linux.thai.net/pub/thailinux/software/%{name}/%{name}-%{version}.tar.gz
+License:	GPLv2
+Group:		System Environment/Libraries 
+URL:		http://linux.thai.net/projects/libthai
+
+BuildRequires:	doxygen
+BuildRequires:	libdatrie-devel
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	Takemikaduchi
+
+
+%description
+LibThai is a set of Thai language support routines aimed to ease
+developers’ tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions e.g.
+word breaking, input and output methods as well as basic character
+and string supports. LibThai is an Open Source and collaborative
+effort initiated by Thai Linux Working Group and opened for all
+contributors.
+
+
+%package	devel
+Summary:        Development tools for libthai
+Summary(ja):    libthai の開発環境
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       libdatrie-devel
+Requires:       pkgconfig
+
+%description	devel
+Header files and libraries for building a extension library for the
+libthai.
+
+
+%package        doc
+Summary:        Documentation for libthai
+Summary(ja):    libthai 用のドキュメント
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+BuildArch:      noarch
+
+%description    doc
+This package contains documentation for libthai
+
+
+# compat32
+%package -n compat32-%{name}
+Summary:	A set of Thai language support routines
+Group:		System Environment/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description -n compat32-%{name}
+LibThai is a set of Thai language support routines aimed to ease
+developers’ tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions e.g.
+word breaking, input and output methods as well as basic character
+and string supports. LibThai is an Open Source and collaborative
+effort initiated by Thai Linux Working Group and opened for all
+contributors.
+
+
+%package -n compat32-%{name}-devel
+Summary:        Development tools for libthai
+Summary(ja):    libthai の開発環境
+Group:          Development/Libraries
+Requires:       compat32-%{name} = %{version}-%{release}
+Requires:       compat32-libdatrie-devel
+Requires:       pkgconfig
+
+%description -n compat32-%{name}-devel
+Header files and libraries for building a extension library for the
+libthai.
+
+
+
+%prep
+%setup -q
+
+
+%build
+%configure \
+	--disable-static
+
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+
+find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING ChangeLog NEWS README
+%{_libdir}/%{name}.so.*
+%{_datadir}/%{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/thai
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+%files doc
+%defattr(-,root,root,-)
+%{_docdir}/%{name}
+
+%if %{build_compat32}
+%files -n compat32-%{name}
+%defattr(-, root, root,-)
+%{_libdir}/%{name}.so.*
+
+%files -n compat32-%{name}-devel
+%defattr(-, root, root,-)
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%endif
+
+
+%changelog
+* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.16-1
+- initial build for Vine Linux
+

+ 5 - 1
p/pango/pango-vl.spec

@@ -14,7 +14,7 @@ Summary: System for layout and rendering of internationalized text.
 Summary(ja): 国際化テキストのレイアウト・レンダリングシステム
 Name: pango
 Version: 1.29.4
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: LGPL
 Group: System Environment/Libraries
 Source: ftp://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-%{version}.tar.xz
@@ -33,6 +33,7 @@ BuildRequires: libX11-devel, libXft-devel, libXrender-devel
 BuildRequires: cairo-devel >= %{cairo_version}
 BuildRequires: libSM-devel
 BuildRequires: gobject-introspection-devel
+BuildRequires: libthai-devel
 Obsoletes: pango-gtkbeta, fribidi-gtkbeta
 
 # Look for pango.modules in an arch-specific directory
@@ -176,6 +177,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29.4-2
+- add BuildRequires: libthai-devel
+
 * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29.4-1
 - new upstream release