-
Notifications
You must be signed in to change notification settings - Fork 0
/
ojuba-desktop-settings.spec
198 lines (152 loc) · 6.23 KB
/
ojuba-desktop-settings.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
%global owner ojuba-org
%global commit #Write commit number here
Name: ojuba-desktop-settings
Version: 38
Release: 10%{dist}
Summary: Ojuba desktop default settings
Group: User Interface/Desktops
License: WAQFv2
URL: http://ojuba.org/
Source: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
Provides: ojuba-gnome-settings
Obsoletes: ojuba-gnome-settings < %{version}-%{release}
Requires(posttrans): glib2 systemd-units
#Requires(posttrans): GConf2
Requires(posttrans): systemd-units
BuildRequires: systemd-units
# Requires(post): google-release, skype-release
# Requires(post): notification-daemon-engine-nodoka
%description
Ojuba desktop default settings.
%prep
%setup -q -n %{name}-%{commit}
%build
#NOTHING TO BUILD
%install
mkdir -p $RPM_BUILD_ROOT/
cp -a etc usr $RPM_BUILD_ROOT/
chmod +x $RPM_BUILD_ROOT/%{_bindir}/*
chmod +x $RPM_BUILD_ROOT/%{_sbindir}/*
chmod +x $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/*
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
# Gnome terminal settings
for i in "background-transparency-percent 20" "cursor-shape 'underline'" "default-size-columns 118" "default-size-rows 25" "title-mode 'ignore'" "use-transparent-background true"; do \
dconf write /org/gnome/terminal/legacy/profiles:/:$$(dconf read /org/gnome/terminal/legacy/profiles:/default|sed s/\'//g)/$${i} ;\
done
# enable SysRQ
echo 1 > /proc/sys/kernel/sysrq &> /dev/null || :
if [ -x /bin/systemctl ];then
# FIXME: is this needed ?
# systemctl daemon-reload &> /dev/null || :
systemctl enable ojuba-boot-params.service &> /dev/null || :
fi
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
if [ -f /etc/systemd/system/multi-user.target.wants/ojuba-boot-params.service ];then
/bin/rm -f /etc/systemd/system/multi-user.target.wants/ojuba-boot-params.service &> /dev/null || :
fi
dconf reset -f /org/gnome/terminal/legacy/profiles:/:$$(dconf read /org/gnome/terminal/legacy/profiles:/default|sed s/\'//g)/
%files
%config(noreplace) /etc/X11/xorg.conf.d/00-touchpad.conf
%config(noreplace) /etc/modprobe.d/*
%config(noreplace) /etc/profile.d/*
%config(noreplace) /etc/fonts/conf.d/*
%config(noreplace) /etc/fonts/conf.avail/*
%config(noreplace) /etc/skel/.mplayer/config
/etc/sysctl.d/*
/etc/X11/xinit/xinitrc.d/*
/etc/polkit-1/rules.d/*
%{_datadir}/glib-2.0/schemas/*.override
%{_bindir}/*
%{_sbindir}/*
%{_unitdir}/*
%changelog
* Tue Sep 14 2021 Ehab El-Gedawy <[email protected]> - 38-10
- add mate pre-settings
- remove obsoleted gconfig keys
- Override Tahoma and Times New Roman with KacstOne
- remove broken etc/fonts/conf.d/10-autohint.conf link
- add cinnamon desktop settings
- fix gnome terminal settings
* Mon Apr 7 2014 Ehab El-Gedawy <[email protected]> - 35-9
- fix set_lang in ojuba-boot-params
* Mon Mar 31 2014 Ehab El-Gedawy <[email protected]> - 35-8
- add app-folder-categories
- fix set_lang in ojuba-boot-params
* Sun Mar 16 2014 Mosaab Alzoubi <[email protected]> - 35-7
- Fixes.
* Sat Feb 22 2014 Mosaab Alzoubi <[email protected]> - 35-4
- Fixes.
* Sat Feb 22 2014 Mosaab Alzoubi <[email protected]> - 35-3
- Add xim4arab.
* Tue Feb 18 2014 Mosaab Alzoubi <[email protected]> - 35-2
- Fixes by Ehab El-Gedawy.
* Sun Feb 16 2014 Mosaab Alzoubi <[email protected]> - 35-1
- General Revision.
* Sun Jan 20 2013 Ehab El-Gedawy <[email protected]> - 18.0.5
- Fedora 18 compatibility and fixs
* Tue Jul 10 2012 Ehab El-Gedawy <[email protected]> - 17.0.5
- add gedit WINDOWS-1256 encoding
- add regular user automunt udisks2
* Fri Mar 09 2012 Ehab El-Gedawy <[email protected]> - 17.0.5
- enable bluetooth
- accept some boot params like
* xscreen=<WIDTH>x<HEIGHT>[x<DEPTH>] (eg. 800x600)
* xdriver
* lang
* Sat Dec 31 2011 Muayyad Saleh Alsadi <[email protected]> - 16.0.0-1
- add favorited apps
- add default extensions
* Fri Jul 29 2011 Muayyad Saleh Alsadi <[email protected]> - 5.0.0-3
- update to use gsettings
- obsolete ojuba-gnome-settings
* Wed Jul 28 2010 Muayyad Saleh Alsadi <[email protected]> - 4.0.0-5
- update to use new wallpaper
* Wed Jun 30 2010 Muayyad Saleh Alsadi <[email protected]> - 4.0.0-4
- replace oo.o quick launch icon with occ's
* Fri Jun 18 2010 Muayyad Saleh Alsadi <[email protected]> - 4.0.0-3
- remove StickyNotesApplet KeyboardApplet
* Thu Jun 17 2010 Muayyad Saleh Alsadi <[email protected]> - 4.0.0-2
- update for ojuba 4
* Sat Aug 22 2009 Muayyad Saleh Alsadi <[email protected]> - 2.0.0-1
- Arabic Italic to the right
* Tue Jul 21 2009 Muayyad Saleh Alsadi <[email protected]> - 1.3.0-1
- rebuild for ojuba 3
* Tue Jul 14 2009 Muayyad Saleh Alsadi <[email protected]> - 1.2.0-1
- update fontconfigs
* Tue Jan 27 2009 Muayyad Saleh Alsadi <[email protected]> - 1.1.0-4
- disable pc speaker
* Thu Jan 22 2009 Muayyad Saleh Alsadi <[email protected]> - 1.1.0-3
- add %%config
* Tue Jan 20 2009 Muayyad Saleh Alsadi <[email protected]> - 1.1.0-2
- default configuration for mplayer
* Sun Jan 18 2009 Muayyad Saleh Alsadi <[email protected]> - 1.1.0-1
- new font configuration
* Wed Dec 31 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-10
- use notification-daemon-engine-nodoka
* Sat Jun 28 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-9
- set default totem backend
- remove shade windows with double click on title bar
- drop the need for boot-i18n
- do not disable compiz-fusion-release
* Sat Jun 28 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-8
- fix small bug
* Sat Jun 28 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-7
- disable extra repos like google-release, skype-release, compiz-fusion-release
* Sat Jun 28 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-6
- disable dict.cn in stardict
* Sat Jun 28 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-5
- Add support for language change from boot loader via boot-i18n service
* Thu Jun 26 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-4
- Change default panel layout
* Fri Jun 20 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-3
- Add intel wireless hack to /etc/modprobe.d/
- Add ojuba icons theme
* Fri Jun 20 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-2
- Add bash history confs
* Thu Jun 12 2008 Muayyad Saleh Alsadi <[email protected]> - 1.0.0-1
- Initial version