From 965dce3e805007d306d11c9e4c64381351a91f12 Mon Sep 17 00:00:00 2001 From: Mosaab Alzoubi Date: Thu, 28 Apr 2016 17:59:08 +0300 Subject: [PATCH] Initial import (#1329807). --- .gitignore | 1 + libraqm.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 93 insertions(+) create mode 100644 libraqm.spec diff --git a/.gitignore b/.gitignore index e69de29..aa250fe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/raqm-0.1.0.tar.gz diff --git a/libraqm.spec b/libraqm.spec new file mode 100644 index 0000000..ec277b7 --- /dev/null +++ b/libraqm.spec @@ -0,0 +1,91 @@ +Name: libraqm +Version: 0.1.0 +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: freetype-devel +BuildRequires: harfbuzz-devel +BuildRequires: fribidi-devel +BuildRequires: gtk-doc + +%package docs +Summary: Libraqm Documentation +Summary(ar): وثائق مكتبة رقم +BuildArch: noarch + +%package devel +Summary: Complex Textlayout Library +Summary(ar): مكتبة رقم للنّصوص المركّبة +Requires: libraqm%{?_isa} = %{version}-%{release} + +%description +Library that encapsulates the logic for complex +text layout and provides a convenient API. + +%description -l ar +مكتبة تستخدم لتأطير النًصوص المركّبة، مقدمة +مدخلًا برمجيًا مريحًا. + + +%description devel +Library that encapsulates the logic for complex +text layout and provides a convenient API. + +%description -l ar devel +مكتبة تستخدم لتأطير النًصوص المركّبة، مقدمة +مدخلًا برمجيًا مريحًا. + +%description docs +This package contains documentation files for raqm. + +%description -l ar docs +وثائق مكتبة رقم. + +%prep +%setup -q -n raqm-%{version} +%configure --enable-gtk-doc + +%build +make %{?_smp_mflags} + +%check +export LC_ALL=en_US.UTF-8 +make check + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.{la,a} + +%post devel -p /sbin/ldconfig + +%postun devel -p /sbin/ldconfig + +%files +%license COPYING +%{_libdir}/libraqm.so.* + +%files devel +%license COPYING +%{_includedir}/raqm.h +%{_libdir}/libraqm.so +%{_libdir}/pkgconfig/raqm.pc + +%files docs +%license COPYING +%doc AUTHORS NEWS README +%{_datadir}/gtk-doc/html/raqm + +%changelog +* Tue Apr 25 2016 Mosaab Alzoubi - 0.1.0-3 +- Use lib prefix in %%name +- Depends on same version -devel + +* Sun Apr 24 2016 Mosaab Alzoubi - 0.1.0-2 +- General revision + +* Sat Apr 23 2016 Mosaab Alzoubi - 0.1.0-1 +- Initial build diff --git a/sources b/sources index e69de29..c017dee 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c1ec86677992aeff2749d5f3631ceb53 raqm-0.1.0.tar.gz