Advertisement
moceap

Raqm Spec

Apr 26th, 2016
3,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name:               libraqm
  2. Version:            0.1.0
  3. Release:            3%{?dist}
  4. License:            MIT
  5. Summary:            Complex Textlayout Library
  6. Summary(ar):        مكتبة رقم للنّصوص المركّبة
  7. URL:                https://github.com/HOST-Oman/libraqm
  8. Source:             https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
  9.  
  10. BuildRequires:      freetype-devel
  11. BuildRequires:      harfbuzz-devel
  12. BuildRequires:      fribidi-devel
  13. BuildRequires:      gtk-doc
  14. Requires:           libraqm-devel%{?_isa} = %{version}-%{release}
  15.  
  16. %package docs
  17. Summary:            Libraqm Documentation
  18. Summary(ar):        وثائق مكتبة رقم
  19. BuildArch:          noarch
  20.  
  21. %package devel
  22. Summary:            Complex Textlayout Library
  23. Summary(ar):        مكتبة رقم للنّصوص المركّبة
  24. Requires:           libraqm%{?_isa} = %{version}-%{release}
  25.  
  26. %description
  27. Library that encapsulates the logic for complex
  28. text layout and provides a convenient API.
  29.  
  30. %description -l ar
  31. مكتبة تستخدم لتأطير النًصوص المركّبة، مقدمة
  32. مدخلًا برمجيًا مريحًا.
  33.  
  34.  
  35. %description devel
  36. Library that encapsulates the logic for complex
  37. text layout and provides a convenient API.
  38.  
  39. %description -l ar devel
  40. مكتبة تستخدم لتأطير النًصوص المركّبة، مقدمة
  41. مدخلًا برمجيًا مريحًا.
  42.  
  43. %description docs
  44. This package contains documentation files for raqm.
  45.  
  46. %description -l ar docs
  47. وثائق مكتبة رقم.
  48.  
  49. %prep
  50. %setup -q -n raqm-%{version}
  51. %configure --enable-gtk-doc
  52.  
  53. %build
  54. make %{?_smp_mflags}
  55.  
  56. %check
  57. export LC_ALL=en_US.UTF-8
  58. make check
  59.  
  60. %install
  61. %make_install
  62. rm -f %{buildroot}%{_libdir}/*.{la,a}
  63.  
  64. %post devel -p /sbin/ldconfig
  65.  
  66. %postun devel -p /sbin/ldconfig
  67.  
  68. %files
  69. %license COPYING
  70. %{_libdir}/libraqm.so.*
  71.  
  72. %files devel
  73. %license COPYING
  74. %{_includedir}/raqm.h
  75. %{_libdir}/libraqm.so
  76. %{_libdir}/pkgconfig/raqm.pc
  77.  
  78. %files docs
  79. %license COPYING
  80. %doc AUTHORS NEWS README
  81. %{_datadir}/gtk-doc/html/raqm
  82.  
  83. %changelog
  84. * Tue Apr 25 2016 Mosaab Alzoubi <moceap@hotmail.com> - 0.1.0-3
  85. - Use lib prefix in %%name
  86. - Depends on same version -devel
  87.  
  88. * Sun Apr 24 2016 Mosaab Alzoubi <moceap@hotmail.com> - 0.1.0-2
  89. - General revision
  90.  
  91. * Sat Apr 23 2016 Mosaab Alzoubi <moceap@hotmail.com> - 0.1.0-1
  92. - Initial build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement