|
@@ -1,26 +1,24 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
-%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
Summary: A set of Thai language support routines
|
|
|
Name: libthai
|
|
|
-Version: 0.1.27
|
|
|
+Version: 0.1.28
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Source0: http://linux.thai.net/pub/thailinux/software/%{name}/%{name}-%{version}.tar.xz
|
|
|
+Group: localization,system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
License: GPLv2
|
|
|
-Group: System Environment/Libraries
|
|
|
-URL: http://linux.thai.net/projects/libthai
|
|
|
+URL: https://linux.thai.net/projects/libthai/
|
|
|
+Source0: https://github.com/tlwg/libthai/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
|
|
+
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: doxygen
|
|
|
BuildRequires: libdatrie-devel
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-
|
|
|
Obsoletes: %{name}-doc < 0.1.20
|
|
|
|
|
|
-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
|
|
@@ -31,10 +29,10 @@ effort initiated by Thai Linux Working Group and opened for all
|
|
|
contributors.
|
|
|
|
|
|
|
|
|
-%package devel
|
|
|
+%package devel
|
|
|
Summary: Development tools for libthai
|
|
|
Summary(ja): libthai の開発環境
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: libdatrie-devel
|
|
|
Requires: pkgconfig
|
|
@@ -47,7 +45,7 @@ libthai.
|
|
|
%package docs
|
|
|
Summary: Documentation for %{name}
|
|
|
Summary(ja): %{name} 用のドキュメント
|
|
|
-Group: Documentation
|
|
|
+Group: documentation
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
BuildArch: noarch
|
|
|
|
|
@@ -56,9 +54,9 @@ This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
|
# compat32
|
|
|
-%package -n compat32-%{name}
|
|
|
+%package -n compat32-%{name}
|
|
|
Summary: A set of Thai language support routines
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: localization,system,legacy
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
@@ -71,10 +69,10 @@ effort initiated by Thai Linux Working Group and opened for all
|
|
|
contributors.
|
|
|
|
|
|
|
|
|
-%package -n compat32-%{name}-devel
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
Summary: Development tools for libthai
|
|
|
Summary(ja): libthai の開発環境
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legaxy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: compat32-libdatrie-devel
|
|
|
Requires: pkgconfig
|
|
@@ -84,6 +82,8 @@ Header files and libraries for building a extension library for the
|
|
|
libthai.
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
@@ -97,7 +97,6 @@ libthai.
|
|
|
|
|
|
|
|
|
%install
|
|
|
-%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
@@ -107,14 +106,11 @@ 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
|
|
|
+%license COPYING
|
|
|
+%doc AUTHORS ChangeLog NEWS README
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
@@ -140,6 +136,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.28-1
|
|
|
+- new upstream release.
|
|
|
+- dropped scriptlets.
|
|
|
+
|
|
|
* Sun Jan 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.27-1
|
|
|
- new upstream release.
|
|
|
|