|
|
|
@ -1,13 +1,18 @@
|
|
|
|
|
Name: libraqm
|
|
|
|
|
Version: 0.7.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 3.1%{?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
|
|
|
|
|
|
|
|
|
|
%if 0%{?el7}
|
|
|
|
|
BuildRequires: python2
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: freetype-devel
|
|
|
|
|
BuildRequires: harfbuzz-devel
|
|
|
|
@ -49,7 +54,9 @@ 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
|
|
|
|
|
%if %{?el7}
|
|
|
|
|
sed s:python:%{__python3}:g -i tests/Makefile.in #Fixed in next release on upstream
|
|
|
|
|
%endif
|
|
|
|
|
%configure --enable-gtk-doc
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -86,10 +93,10 @@ 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
|
|
|
|
|
* Fri Jan 10 2020 Mosaab Alzoubi <moceap@hotmail.com> - 0.7.0-3.1
|
|
|
|
|
- First build on EPEL8
|
|
|
|
|
- Use one branch to build on Fedora and EPEL
|
|
|
|
|
- Use python3 as BR
|
|
|
|
|
- Use python3 as BR except EPEL7
|
|
|
|
|
- Use LC_ALL=en_US.UTF-8 in EPEL7
|
|
|
|
|
|
|
|
|
|
* Sun Sep 8 2019 Mosaab Alzoubi <moceap@hotmail.com> - 0.7.0-1
|
|
|
|
|