diff --git a/.gitignore b/.gitignore index e69de29..6916a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/raqm-0.1.0.tar.gz +/raqm-0.1.1.tar.gz +/raqm-0.5.0.tar.gz +/raqm-0.7.0.tar.gz diff --git a/libraqm.spec b/libraqm.spec new file mode 100644 index 0000000..5254232 --- /dev/null +++ b/libraqm.spec @@ -0,0 +1,126 @@ +Name: libraqm +Version: 0.7.0 +Release: 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 + +BuildRequires: python +BuildRequires: gcc +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=C.utf8 +make check + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.{la,a} + +%ldconfig_scriptlets devel + +%files +%license COPYING +%{_libdir}/libraqm.so.* + +%files devel +%license COPYING +%{_includedir}/raqm.h +%{_includedir}/raqm-version.h +%{_libdir}/libraqm.so +%{_libdir}/pkgconfig/raqm.pc + +%files docs +%license COPYING +%doc AUTHORS NEWS README +%{_datadir}/gtk-doc/html/raqm + +%changelog +* Sun Sep 8 2019 Mosaab Alzoubi - 0.7.0-1 +- Updated to 0.7.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.5.0-3 +- Use C.UTF-8 locale + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + +* Fri Jul 13 2018 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Mar 14 2018 Elliott Sales de Andrade - 0.5.0-1 +- Update to latest version + +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 1 2016 Mosaab Alzoubi - 0.1.1-1 +- Updated to 0.1.1 + +* Mon 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..0964c96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (raqm-0.7.0.tar.gz) = 4aed401df0b53cc95423afa5980164b54102776eca675119fc483c410334a635ca95ef6564ee9b54666c13c916eb52a0a1cd24f288230946c53825fb10451161