3 |
|
|
4 |
Name: cinnamon |
Name: cinnamon |
5 |
Version: 2.0.14 |
Version: 2.0.14 |
6 |
Release: %mkrel 5 |
Release: %mkrel 6 |
7 |
Summary: Window management and application launching for Cinnamon |
Summary: Window management and application launching for Cinnamon |
8 |
|
|
9 |
Group: Graphical desktop/Cinnamon |
Group: Graphical desktop/Cinnamon |
147 |
|
|
148 |
# remove gschema |
# remove gschema |
149 |
rm -rf data/org.cinnamon.gschema.xml |
rm -rf data/org.cinnamon.gschema.xml |
150 |
# make changes for settings move to /usr/share |
# move items to /usr/share |
151 |
mv files/usr/lib/cinnamon-settings files%{_datadir} |
mv files/usr/lib/* files%{_datadir} |
152 |
grep -r -l /usr/lib/cinnamon-settings files%{_datadir} files%{_bindir} | \ |
grep -r -l /usr/lib files%{_datadir} files%{_bindir} | \ |
153 |
xargs sed -i -e 's@/usr/lib@/usr/share@g' |
xargs sed -i -e 's@/usr/lib@/usr/share@g' |
154 |
sed -i -e 's@/usr/lib@/usr/share@g' js/ui/panel.js cinnamon.pot |
sed -i -e 's@/usr/lib@/usr/share@g' js/ui/panel.js cinnamon.pot |
|
|
|
|
# make changes for menu-editor move to /usr/share |
|
|
mv files/usr/lib/cinnamon-menu-editor files%{_datadir} |
|
|
grep -r -l /usr/lib/cinnamon-menu-editor files%{_datadir} files%{_bindir} | \ |
|
|
xargs sed -i -e 's@/usr/lib@/usr/share@g' |
|
|
rm -rf files/usr/lib |
|
155 |
sed -i -e 's@-OOt@-t@g' files%{_bindir}/cinnamon-menu-editor |
sed -i -e 's@-OOt@-t@g' files%{_bindir}/cinnamon-menu-editor |
156 |
|
rm -rf files/usr/lib |
157 |
|
|
158 |
# have cinnamon use mageia app system |
# have cinnamon use mageia app system |
159 |
sed -i -e 's@cinnamon-applications@applications@g' src/cinnamon-app-system.c \ |
grep -r -l cinnamon-applications.menu files%{_datadir} files%{_bindir} src | \ |
160 |
files/usr/share/cinnamon-menu-editor/cme/MenuEditor.py |
xargs sed -i -e 's@cinnamon-applications@applications@g' |
161 |
|
|
162 |
%{__mkdir_p} files%{_sysconfdir}/X11/wmsession.d |
%{__mkdir_p} files%{_sysconfdir}/X11/wmsession.d |
163 |
install -pm 644 %SOURCE5 %SOURCE6 files%{_sysconfdir}/X11/wmsession.d |
install -pm 644 %SOURCE5 %SOURCE6 files%{_sysconfdir}/X11/wmsession.d |
244 |
%{_datadir}/applications/polkit-cinnamon-authentication-agent-1.desktop |
%{_datadir}/applications/polkit-cinnamon-authentication-agent-1.desktop |
245 |
%{_datadir}/cinnamon-session/sessions/cinnamon*.session |
%{_datadir}/cinnamon-session/sessions/cinnamon*.session |
246 |
%{_datadir}/cinnamon/ |
%{_datadir}/cinnamon/ |
247 |
%{_datadir}/cinnamon-menu-editor/ |
%{_datadir}/cinnamon-*/ |
|
%{_datadir}/cinnamon-settings/ |
|
248 |
%{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service |
%{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service |
249 |
%{_libdir}/cinnamon/ |
%{_libdir}/cinnamon/ |
250 |
%{_libexecdir}/cinnamon/cinnamon-perf-helper |
%{_libexecdir}/cinnamon/cinnamon-perf-helper |