Name: shafei Version: 1.0.2 Release: 1%{?dist} Summary: From Shafei Masterpieces Summary(ar): من روائع الشافعي License: WAQF URL: https://linuxac.org Source0: %{name}-%{version}.tar.xz Requires: pywebkitgtk Requires: islamic-menus Buildarch: noarch %description From Shafei Masterpieces %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 css js %{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}/* %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %changelog * Sun Jan 29 2017 Mosaab Alzoubi - 1.0.2-1 - Initial on Ojuba