Unite branches in one spec, Built in EPEL8

epel8
Mosaab Alzoubi 5 years ago
parent 9fec6ac742
commit 6dc9624b3b

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

Loading…
Cancel
Save