|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
Name: libraqm
|
|
|
|
|
Version: 0.7.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: MIT
|
|
|
|
|
Summary: Complex Textlayout Library
|
|
|
|
|
Summary(ar): مكتبة رقم للنّصوص المركّبة
|
|
|
|
|
URL: https://github.com/HOST-Oman/libraqm
|
|
|
|
|
Source: https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: python
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
|
BuildRequires: harfbuzz-devel
|
|
|
|
@ -49,13 +49,18 @@ This package contains documentation files for raqm.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n raqm-%{version}
|
|
|
|
|
sed s:python:%{__python3}:g -i tests/Makefile.in #Fixed in next release on upstream
|
|
|
|
|
%configure --enable-gtk-doc
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if 0%{?el7}
|
|
|
|
|
export LC_ALL=en_US.UTF-8
|
|
|
|
|
%else
|
|
|
|
|
export LC_ALL=C.utf8
|
|
|
|
|
%endif
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -81,6 +86,12 @@ rm -f %{buildroot}%{_libdir}/*.{la,a}
|
|
|
|
|
%{_datadir}/gtk-doc/html/raqm
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jan 10 2020 Mosaab Alzoubi <moceap@hotmail.com> - 0.7.0-3
|
|
|
|
|
- First build on EPEL8
|
|
|
|
|
- Use one branch to build on Fedora and EPEL
|
|
|
|
|
- Use python3 as BR
|
|
|
|
|
- Use LC_ALL=en_US.UTF-8 in EPEL7
|
|
|
|
|
|
|
|
|
|
* Sun Sep 8 2019 Mosaab Alzoubi <moceap@hotmail.com> - 0.7.0-1
|
|
|
|
|
- Updated to 0.7.0
|
|
|
|
|
|
|
|
|
|