Name: ojuba-gnome Version: 1 Release: 2%{?dist} Summary: Ojuba Gnome Source: ojuba-gnome.tar.xz License: WAQFv2 URL: https://ojuba.org BuildArch: noarch %prep %autosetup -n %{name} %install install -m 0755 -d %{buildroot}%{_datadir}/glib-2.0/schemas install -m 0644 settings/* %{buildroot}%{_datadir}/glib-2.0/schemas %description Ojuba Gnome Settings %postun if [ $1 -eq 0 ] ; then glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files %license waqf2-ar.pdf %{_datadir}/glib-2.0/schemas/* %changelog * Fri Feb 24 2017 Mosaab Alzoubi - 1-1 - New way packaging