Name: allamany Version: 1.1 Release: 1%{?dist} Summary: Prophet Mohammad -peace be upon him- teach me Summary(ar): علمني رسول الله صلى الله عليه وسلم License: WAQF URL: https://linuxac.org Source0: %{name}-%{version}.tar.xz Requires: pywebkitgtk Requires: islamic-menus Buildarch: noarch %description Prophet Mohammad -peace be upon him- teach me %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 cp -pr alamany-cards booklet %{buildroot}%{_datadir}/%{name} 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 %{_datadir}/%{name}/* %{_datadir}/%{name}/index.html %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %changelog * Fri Jan 20 2017 Mosaab Alzoubi - 1.1-1 - Initial on Ojuba