Name: arabic-writer Version: 1.4.4 Release: 1%{?dist} Summary: Arabic Writer Summary(ar): الكاتب العربي License: GPLv1 URL: http://omar84.com Source0: %{name}-%{version}.tar.xz Requires: pywebkitgtk Buildarch: noarch %description Enables Arabic writing in programs that isn't support %description -l ar تمكين الكتابة بالعربية في البرامج غير الداعمة لها %prep %setup -q -n %{name} sed -i "s:/usr/share:%{_datadir}:g" %{name} %install mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/appdata mkdir -p %{buildroot}%{_datadir}/pixmaps install -Dp -m 0644 index.html %{buildroot}%{_datadir}/%{name} install -Dp -m 0755 %{name} %{buildroot}%{_bindir} install -Dp -m 0755 %{name}.desktop %{buildroot}%{_datadir}/applications install -Dp -m 0644 %{name}.appdata.xml %{buildroot}%{_datadir}/appdata install -Dp -m 0644 %{name}.png %{buildroot}%{_datadir}/pixmaps %files %doc ReadMe.txt %{_datadir}/%{name}/index.html %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %changelog * Fri Jan 27 2017 Mosaab Alzoubi - 1.4.4-1 - Initial on Ojuba