Package init
This commit is contained in:
commit
197773c79c
BIN
libthai-0.1.28.tar.xz
Normal file
BIN
libthai-0.1.28.tar.xz
Normal file
Binary file not shown.
25
libthai-0.1.9-multilib.patch
Normal file
25
libthai-0.1.9-multilib.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
Index: libthai-0.1.24/doc/Doxyfile.in
|
||||||
|
===================================================================
|
||||||
|
--- libthai-0.1.24.orig/doc/Doxyfile.in
|
||||||
|
+++ libthai-0.1.24/doc/Doxyfile.in
|
||||||
|
@@ -1124,7 +1124,7 @@ HTML_HEADER =
|
||||||
|
# that doxygen normally uses.
|
||||||
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
|
-HTML_FOOTER =
|
||||||
|
+HTML_FOOTER = no_date_footer.html
|
||||||
|
|
||||||
|
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
|
||||||
|
# sheet that is used by each HTML page. It can be used to fine-tune the look of
|
||||||
|
Index: libthai-0.1.24/doc/no_date_footer.html
|
||||||
|
===================================================================
|
||||||
|
--- /dev/null
|
||||||
|
+++ libthai-0.1.24/doc/no_date_footer.html
|
||||||
|
@@ -0,0 +1,7 @@
|
||||||
|
+<hr size="1"><address style="text-align: right;"><small>
|
||||||
|
+Generated for $projectname by <a href="http://www.doxygen.org/
|
||||||
|
+index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
|
||||||
|
+$doxygenversion</small></address>
|
||||||
|
+</body>
|
||||||
|
+</html>
|
||||||
|
+
|
||||||
96
libthai.spec
Normal file
96
libthai.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
Name: libthai
|
||||||
|
Version: 0.1.28
|
||||||
|
Release: 2
|
||||||
|
Summary: Libaray for Thai language
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://linux.thai.net
|
||||||
|
Source: ftp://linux.thai.net/pub/thailinux/software/libthai/libthai-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkgconfig(datrie-0.2)
|
||||||
|
BuildRequires: doxygen
|
||||||
|
|
||||||
|
Patch0: libthai-0.1.9-multilib.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
LibThai is a C library for developers who need Thai language support in their
|
||||||
|
programs. It includes Thai character set support, Thai character properties,
|
||||||
|
Thai string manipulators, Thai string collation, Thai word breaking, Thai
|
||||||
|
input method and Thai output method.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Thai language support routines
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The development package for Libthai.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: libthai static library
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description static
|
||||||
|
The static library for libthai.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
mkdir installed-docs
|
||||||
|
mv $RPM_BUILD_ROOT%{_docdir}/libthai/* installed-docs
|
||||||
|
rmdir $RPM_BUILD_ROOT%{_docdir}/libthai
|
||||||
|
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README AUTHORS COPYING ChangeLog
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
%{_datadir}/libthai
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc installed-docs/*
|
||||||
|
%{_includedir}/thai
|
||||||
|
%{_libdir}/lib*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%{_libdir}/libthai.a
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Sep 10 2018 openEuler Buildteam <buildteam@openeuler.org> -0.1.28-2
|
||||||
|
- Package init
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user